CoreBluetooth encrypted Characteristics issue
CoreBluetooth encrypted Characteristics issue
- Subject: CoreBluetooth encrypted Characteristics issue
- From: Michael Nannini <email@hidden>
- Date: Wed, 01 May 2013 15:09:21 -0400
When attempting to write to an encrypted characteristic iOS initiates the "pair with device" prompt. After accepting everything appears to work fine. When the peripheral is disconnected and reconnected the encrypted characteristics stop working. In the Bluetooth settings the peripheral appears as "Connected". CoreBluetooth is also printing an error 12 which appears to be insufficient encryption key size.
It appears as though some authentication process hasn't completed by the time the app receives the didConnectPeripheral call. If I add a delay after the peripheral connects and before accessing the characteristics it fixes the issue on some devices. However on the 5th generation iPod Touch I haven't been able to access the encrypted characteristics after subsequent connections after the initial pairing even with the delay.
Has anyone else had this issue?
Thanks,
Mike
_______________________________________________
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