Материал из Module developer
IR.DEVICE_BLE_SCANNER
the identifier of the BLE scanner. It is used at scanner creation
Syntax
IR.CreateDevice(IR.DEVICE_BLE_SCANNER)
| input | sample | description |
| ID | IR.DEVICE_BLE_SCANNER | type: Number the identifier of the BLE scanner |
| output |
| Object | type: Object the reference to the device |
Example:
var Scanner = IR.CreateDevice(IR.DEVICE_BLE_SCANNER);
It activates the event: IR.EVENT_DEVICE_BLE_FOUND
