Bluetooth LE Pairing problems
Bluetooth LE Pairing problems
- Subject: Bluetooth LE Pairing problems
- From: Arnoldus Antonius <email@hidden>
- Date: Wed, 27 Mar 2013 13:42:19 +0100
Hi all,
I'm having some problems with Bluetooth LE pairing between an iOS 6.1.2 device and a TI CC2541 based device.
On the CC2541 side there is a characteristic for which authentication is required. When I try to read this characteristic (via readValueForCharacteristic on my CBPeripheral) I get an authentication failure and a "pairing request" popup appears, requesting the user to enter the pairing code. This is all as expected.
However, I run into problems when I remove the pairing information, by going to the Bluetooth section in the Settings app and select "Forget this Device". After doing that, whenever I try to read the characteristic, it either gives me an authentication failure (via the error object in didUpdateValueForCharacteristic) without showing the popup, or I don't get a response at all (ie. didUpdateValueForCharacteristic is not called by the framework).
This ultimately means that when the user would remove the pairing info, that we cannot pair again, rendering the device useless.
I see that when I remove the bonding table on the CC2541 side the popup appears again. But this is not a viable solution in our case.
Anyone running into the same problem?
Regards,
Arnold
_______________________________________________
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