Материал из Module developer
Scanner.Connect
to start the network scanning
Syntax
IR.CreateDevice(IR.DEVICE_BLE_SCANNER).Connect()
| input | sample | description |
| ID | IR.DEVICE_BLE_SCANNER | type: Number the identifier of the BLE scanner |
| output |
| successful or not | type: Boolean successful |
Example:
Scanner = IR.CreateDevice(IR.DEVICE_BLE_SCANNER); Scanner.Connect(); // scan runs
