Материал из Module developer
Scanner.Disconnect
to stop network scanning
Syntax
IR.CreateDevice(IR.DEVICE_BLE_SCANNER).Disconnect()
| 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.Disconnect(); // scan stops
