Question on BLE Encryption
Question on BLE Encryption
- Subject: Question on BLE Encryption
- From: Badri K <email@hidden>
- Date: Tue, 06 Mar 2012 12:30:10 +0530
Hi,
I would like to know on how to get an iPhone BLE application initiate encryption with an already authenticated/paired peripheral accessory. Below given are the steps followed in executing the application, and the observations.
0. Clear all paired devices from Bluetooth Settings, and Restart Bluetooth.
1. Scan for the BLE peripheral and initiate connection.
2. On successful connection, discover services and characteristics from the peripheral.
3. Initiate configuration to a peripheral characteristic that requires a secure link. Assume the peripheral has NoInputNoOutput IO Capability.
4. iPhone initiates the BLE SMP authentication procedure that ends successfully with the sharing of Encryption key information. At the start of procedure, I see a pop-up on the iPhone that asks for confirmation of Encryption setup.
5. Disconnect the peripheral. Reconnect to the same peripheral by getting the reference using 'retrievePeripheral' and not scanning for device.
6. Repeat steps 2 and 3 above.
7. I here expect the iPhone to initiate a SMP encryption with the Encryption information received during previous authentication. But I observe that the peripheral again receives an Authentication Request, and there is no pop-up confirmation on iPhone. The procedure times out after 30 seconds.
I would like to know if there is any other setting/configuration that needs to be done in order to let the iPhone initiate encryption using the encryption information received from the peripheral?
Thanks,
Badri
_______________________________________________
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