BLE: Discoverability of bonded devices
BLE: Discoverability of bonded devices
- Subject: BLE: Discoverability of bonded devices
- From: Walter Stephan <email@hidden>
- Date: Mon, 14 Apr 2014 12:58:41 +0000
- Thread-topic: BLE: Discoverability of bonded devices
Hi everyone,
We are using a Nordic Semi nRF8001 in our device, and we are connecting to an iOS device using BLE with security (passkey).
As long as the device is not bonded, it will advertise in Limited-Discoverable mode.
That is, in the advertising packet, the limited-discoverable bit is set and the general-discoverable bit is cleared.
Then we establish a bond with the iPhone by entering the passkey.
If the connection is now cut, our device will again start advertising.
Because a bond exists, it will be in Nondiscoverable mode, meaning that both the limited-discoverable bit and the general-discoverable bit are cleared.
But in this case, other iOS devices will still see our device!
I would think that this makes no sense, because we have a bond with a different iPhone.
Is there a way to prevent these "foreign" bonded devices to show up when doing a scan in our app?
Can we filter them based on the advertisement data?
Unfortunately, the CBAdvertisementData... keys do not include the flags.
A possibility would be to use Directed Advertising, but this is not supported by iOS.
Using Manufacturer-specific data to indicate a bond in the advertising packet is another possibility, but we hoped that this functionality would be provided by the BLE API.
Any help would be appreciated.
Best regards,
Stephan Walter
Embedded Software Engineer
Swissphone Wireless AG
Faelmisstrasse 21
Postfach 81
CH-8833 Samstagern
Tel: +41 44 786 77 52
Fax: +41 44 786 77 71
email@hidden
www.swissphone.com
_______________________________________________
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