My iOS application receives "Authentication is insufficient" ERROR for write request when the procedure involve pairing.
iOS(Core Bluetooth) returns the ERROR if its OS version is 10 or more. Until iOS 9.3.5, iOS returns success response(no ERROR) for the same write request.
[Steps to Reproduce]
- Forget Pairing information in both iOS device(iOS10 or over) and peripheral device.
- Launch my application and establish BLE connection to the peripheral device.
- Request to write value to the peripheral device.
- Allow pairing on peripheral device. Then Bluetooth pairing dialog shows on iOS device.
- Wait for a few seconds(3 sec. or more ) and tap "pair" button on the dialog in step [4.]
- From iOS(Core Bluetooth), my application receive ERROR response(Authentication is insufficient) for the write request in step [5.]
Does anyone face the same problem ? I'd appreciate it if you would know the casue and/or resolution for it.
Thank you.
5 Related questions 0 IOS Core bluetooth peripheral connection request 12 iOS Bluetooth LE : unable to connect using stored pairing data 3 Platform doesn't support Bluetooth Low Energy Central/Client role Related questions 0 IOS Core bluetooth peripheral connection request 12 iOS Bluetooth LE : unable to connect using stored pairing data 3 Platform doesn't support Bluetooth Low Energy Central/Client role 3 Attribute requires authentication before read/write 1 CoreBluetooth: Attempt to write to device 0 iOS Bluetooth: central- peripheral got connected before accepting pairing request 0 Writing data to bluetooth peripheral fails 2 iOS Bluetooth LE application, can't write to characteristic">Android <-> iOS Bluetooth LE application, can't write to characteristic 0 Getting CBATTErrorDomain Code=6 The request is not supported error while writing value to peripheral 4 iOS Central with BlueZ Peripheral disconnect due to insufficient auth Load 7 more related questions Show fewer related questions Reset to default