CoreBluetooth encrypted Characteristics issue
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 (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Michael Nannini