BLE - Duplicates reporting while scanning - scanForPeripheralsWithServices
BLE - Duplicates reporting while scanning - scanForPeripheralsWithServices
- Subject: BLE - Duplicates reporting while scanning - scanForPeripheralsWithServices
- From: Don Clark <email@hidden>
- Date: Thu, 25 Jul 2013 15:21:58 -0400
- Acceptlanguage: en-US
- Thread-topic: BLE - Duplicates reporting while scanning - scanForPeripheralsWithServices
My app calls scanForPeripheralsWithServices with the CBCentralManagerScanOptionAllowDuplicatesKey option set to NO, because I don't want to be hammered by advertisement notifications (calls to the didDiscoverPeripheral callback). With this option set to NO I find that I do get occasional duplicate notifications about given devices, but the periodicity doesn't make sense. For example, I got notified at time 03:53, again at 04:15, and next at 05:44 (those are minutes:seconds). Our device currently advertises for 10 seconds, off for one. What causes CB to call didDiscoverPeripheral, when the option is set for no duplicates?
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden