Closed u84six closed 9 years ago
Is this the way it works? In the comments it says that it calls the callback when a new device is detected. When I run startScan, it keeps returning the same device until I call stopScan.
You are correct; the comment is misleading.
The scanCallback is called each time an advertisement is recieved. Most BLE devices send advertisements roughly once per second.
Thanks for the response!
Is this the way it works? In the comments it says that it calls the callback when a new device is detected. When I run startScan, it keeps returning the same device until I call stopScan.