Never stops discovering second device
I'm using version 2.8.3 of the iOS SDK to discover devices (I'm testing with MetaWear C devices). I'm using the startScanForMetaWearsAllowDuplicates method to discover available devices.
If the scan is active and I turn on one device (by inserting the battery), it is discovered, and when I turn it off, it stops being discovered. This is what I expect.
If I then turn on a second device, both it and the first device are discovered, even though the first device is off. This is *not* what I expect.
If I turn the second device off, neither device is discovered. If I turn on either device after that, both devices are again discovered, even though only one is on. It seems like the library never forgets about any devices, once they've been seen.
Is this a bug in the library?
thanks!
This discussion has been closed.
Comments