Closed nimeso closed 6 years ago
If you want to see when a device stops advertising, you need to keep scanning getting duplicate records. Try ble.startScanWithOptions. The example shows how to get duplicates, your code will responsible for determining when a device stops advertising.
I'm using Ionic and I need to update my devices array when a device stops advertising. We have a physical button that turns off after you hold the button down for a period of time.
Basically:
Any help would be awesome. Thanks!