"Just Works" pairing
"Just Works" pairing
- Subject: "Just Works" pairing
- From: John Smith <email@hidden>
- Date: Mon, 22 Apr 2013 16:38:48 -0700
Does CoreBluetooth support "Just Works" pairing for Bluetooth LE peripherals?
I am working with a CC2540 in TI's "network processor" configuration (i.e. HostTestRelease) with GATT_DB_OFF_CHIP and GAP_BOND_MGR enabled.
Whenever I initiate pairing (by sending an "Insufficient Authentication" error code from my peripheral in response to an attribute read), I get a pairing pop-up ("Pair" or "Cancel") on the iOS device. However, if I tap "Pair," the pairing pop-up returns a few seconds later (and will continue to do so until I let it time out / cancel the pairing).
For my peripheral, I'm using "No Input, No Output" for IO capabilities, which (as far as I understand) should result in "Just Works" pairing with the iOS device. Per the Bluetooth core spec, "Just Works" doesn't result in an authenticated pairing (as it is still vulnerable to MITM attacks).
Could my problem be that unauthenticated pairing/bonding is not supported for iOS devices? As the method for triggering pairing is to respond with "Insufficient Authentication" or "Insufficient Authorization," I could see this being the case.
If "Just Works" is in fact supported, does anyone have thoughts about what I might be doing wrong on the peripheral side to cause the "Pairing" pop-up to keep repeating? Has anyone used a CC2540 with GAP_BOND_MGR (and IO capabilities set to "No Input, No Output") to successfully pair with an iOS device?
Thanks,
John
_______________________________________________
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