BLE scan under simulator finds service twice
BLE scan under simulator finds service twice
- Subject: BLE scan under simulator finds service twice
- From: Rick Mann <email@hidden>
- Date: Fri, 19 Apr 2013 12:03:11 -0700
I've been building my app and running it on an iPad for a while, and things behaved the way I expected.
Just now I finally got around to trying an external BLE HCI and getting the simulator to see it. That worked well, and the app now runs in the simulator, but it discovers my BLE service twice.
The first time, it has a null CBAdvertisementDataLocalNameKey value. The second time, it gets the value. In the scan, I have CBCentralManagerScanOptionAllowDuplicatesKey set to false:
2013-04-19 12:00:00.779 MatterScan[64624:c07] <FindCamerasViewController.m:250>: service: Unknown (<75d51f1b 4b2a431c 88af055e 4839b9be>)
2013-04-19 12:00:00.780 MatterScan[64624:c07] <FindCamerasViewController.m:253>: Found service: (null)
2013-04-19 12:00:00.782 MatterScan[64624:c07] <FindCamerasViewController.m:250>: service: Unknown (<75d51f1b 4b2a431c 88af055e 4839b9be>)
2013-04-19 12:00:00.782 MatterScan[64624:c07] <FindCamerasViewController.m:253>: Found service: Souffle Girl
Any ideas?
--
Rick
_______________________________________________
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