Why can't I see CBATTErrorInsufficientEncryption?
Why can't I see CBATTErrorInsufficientEncryption?
- Subject: Why can't I see CBATTErrorInsufficientEncryption?
- From: Aaron Cody Wright <email@hidden>
- Date: Thu, 28 Feb 2013 20:32:46 -0600
I am experiencing a situation where CoreBluetooth is reporting an error code 15, but in - (void)peripheral:(CBPeripheral *)peripheral didWriteValueForCharacteristic:(CBCharacteristic *)characteristic error:(NSError *)error I get the following output:
If there is insufficient authentication, why is there an error code of 0 in this method? And why is CoreBluetooth generating Unknown errors 14 and 15 and why am I not seeing this error in the delegates?
2013-02-28 20:22:36.501 MYAPP[810:907] Send command: <0x0-OUR-COMMAND> 2013-02-28 20:22:38.178 MYAPP[810:907] CoreBluetooth[WARNING] Unknown error: 15 2013-02-28 20:22:38.927 MYAPP[810:907] CoreBluetooth[WARNING] Unknown error: 14 2013-02-28 20:22:38.929 MYAPP[810:907] didWriteValueForCharacteristic: <OUR-CHAR-UUID> [error code] 0 domain: CBErrorDomain 2013-02-28 20:22:38.930 MYAPP[810:907] didDisconnectPeripheral: OUR-PERIPHERAL, error (7): The specified device has disconnected from us., domain: CBErrorDomain 2013-02-28 20:22:38.931 MYAPP[810:907] Deliberate disconnect (sent from device) |
_______________________________________________
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