RE: BLE issue with iOS 6.1
RE: BLE issue with iOS 6.1
- Subject: RE: BLE issue with iOS 6.1
- From: Jeff Hosack <email@hidden>
- Date: Fri, 22 Feb 2013 22:03:24 +0000
- Thread-topic: BLE issue with iOS 6.1
Well, I have found a fix. My app was sending a disconnect shortly after sending the reply. I was not getting didWriteValueForCharacteristic callbacks. When I removed this disconnect code, the callbacks came and the reply got through
on both version of the OS. Possibly 6.1 is slower at sending the reply than 6.0 was, so it got disconnected before it could actually perform the transmit. Does this sound reasonable?
Jeff
From: bluetooth-dev-bounces+jeff.hosack=email@hidden [mailto:bluetooth-dev-bounces+jeff.hosack=email@hidden]
On Behalf Of Jeff Hosack
Sent: Friday, February 22, 2013 3:47 PM
To: email@hidden
Subject: BLE issue with iOS 6.1
I have an app that receives a message from another device on a characteristic over a proprietary service. The app generates some data and sends it back over the same characteristic. With NSLogs I can see the message come in and response
go out up to the writeValue:forCharacteristc:type: call. On an gen 5 iPod Touch with iOS 6.0.1, this works. On another gen 5 iPod Touch that was upgraded to iOS 6.1, the NSLogs are the same, but the other device never receives the reply. How can this be
if CoreBluetooth was not changed from 6.0 to 6.1? Has anyone seen similar? Finally, what should I do to get to the bottom of the issue?
Jeff
|
_______________________________________________
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