Материал из Module developer
Device.ReadDescriptor
to read the descriptor value
Syntax
IR.CreateDevice(IR.DEVICE_BLE_DEVICE).ReadDescriptor(in_ble_des)
| input | sample | description |
| ID | IR.DEVICE_BLE_DEVICE | type: Number the identifier of the BLE scaner |
| in_ble_des | type: Object the descriptor object |
| output |
-
Example:
var device = IR.CreateDevice(IR.DEVICE_BLE_DEVICE); device.ReadDescriptor(in_ble_des);
It calls the event: IR.EVENT_DESCRIPTOR_READ - the descriptor is read.
