CoreBluetooth: writeValue:forCharacteristic:type: always fails when using 128-Bit UUIDs on iOS 6 beta 4
CoreBluetooth: writeValue:forCharacteristic:type: always fails when using 128-Bit UUIDs on iOS 6 beta 4
- Subject: CoreBluetooth: writeValue:forCharacteristic:type: always fails when using 128-Bit UUIDs on iOS 6 beta 4
- From: Florian Schulz <email@hidden>
- Date: Wed, 05 Sep 2012 13:51:12 +0200
Hi,
We are developing accessory hardware implementing the peripheral role - our app acts as the central. We are using the TI CC2540 chip for BLE on our hardware.
Recently we discovered a major issue regarding iOS 6. On iOS 6 beta 4 writing values using writeValue:forCharacteristic:type: always fails, when we don't use standard profile UUIDs. We are using 128-Bit UUIDs for either our custom services and characteristics. We also tried using a 128-Bit UUID just for the service, and 16-Bit UUIDs for the characteristics with no success. The didWriteValueForCharacteristic: callback is fired immediately after starting the write request. An error object is passed to that callback, saying that the operation couldn't be completed:
peripheral:didWriteValueForCharacteristic:error: Code: 0 Domain:
CBErrorDomain Description: Unknown error.
The write has no effect. On iOS 5.1.1 writing values using 128-Bit UUIDs works fine. We don't know exactly if the error only exists since iOS 6 beta 4, or if it was present on previous iOS 6 builds as well.
This is a critical issue for us, since we are about to start mass production of our hardware.
Is this behavior caused by a change in iOS 6 that will find its way to the final release, or is this a beta issue?
Best Regards,
Florian
_______________________________________________
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