Re: Bluetooth-dev Digest, Vol 10, Issue 218
I have not. On iOS 6 the notifications have been working well. Since I wrote the first post I have noticed something. I'm asking the device for the services that the device provides, using the discoverServices method on the CBPeripheral object. When scanning from an iOS 6 device the BLE device is reporting four services, including GAP, GATT, Device Information Service and my custom service. I see this in my app, as well as in the Light Blue app. However, when running on iOS 7 both my app and Light Blue are reporting only two services, 0x180A and my own custom service. The GATT service, 0x1801, is critical – without that the accessing of a characteristic isn't going to happen. So I believe that Core Bluetooth isn't acting on my write request because that service appears to be missing. So now the question is why Core Bluetooth isn't detecting the GATT and the GAP services? So it would seem that either there is an issue with Core Bluetooth on iOS 7, or maybe there has been some change that expects something different from the devices. Hopefully someone out there can shed some light on this. Don
Date: Tue, 20 Aug 2013 21:42:51 +0000 From: Etan Kissling <kissling@oberon.ch> To: Don Clark <Don_Clark@onsetcomp.com> Cc: "bluetooth-dev@lists.apple.com" <bluetooth-dev@lists.apple.com> Subject: Re: BLE connection to device on iOS 7 only partially succeeds Message-ID: <A07B4350-ECBB-4FD6-8859-ED788E1B650E@oberon.ch> Content-Type: text/plain; charset="windows-1252"
Don,
have you tried indications instead of notifications?
Etan
On 20.08.2013, at 00:07, Don Clark <Don_Clark@onsetcomp.com<mailto:Don_Clark@onsetcomp.com>> wrote:
I have an app that is running on iOS 6 in my iPhone 4S, and can communicate with my BLE device. Basically the app sees advertisements, and at some point connects to the device. After the connection, and the retrieval of services and the characteristics for each service, the app attempts to write to a characteristic. On iOS 6 this works – I'm able to connect, set the notification state on a given characteristic, and then write to that characteristic and get the didUpdateValueForCharacteristic callback. On iOS 7 all of that works, except that I never get the didUpdateValueForCharacteristic callback. I'm working on getting a BLE packet trace to compare against, but that shouldn't really be necessary. The app code is the same, the BLE device is the same – the only difference is the iOS 7 device. Does this ring any bells?
_______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com<mailto:Bluetooth-dev@lists.apple.com>) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/bluetooth-dev/kissling%40oberon.ch
_______________________________________________ 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)
-
Don Clark