Re: Bluetooth-dev Digest, Vol 10, Issue 218
Re: Bluetooth-dev Digest, Vol 10, Issue 218
- Subject: Re: Bluetooth-dev Digest, Vol 10, Issue 218
- From: Don Clark <email@hidden>
- Date: Thu, 22 Aug 2013 17:15:45 -0400
- Acceptlanguage: en-US
- Thread-topic: 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 <email@hidden>
>To: Don Clark <email@hidden>
>Cc: "email@hidden" <email@hidden>
>Subject: Re: BLE connection to device on iOS 7 only partially succeeds
>Message-ID: <email@hidden>
>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
><email@hidden<mailto:email@hidden>> 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
>(email@hidden<mailto:email@hidden>)
>Help/Unsubscribe/Update your Subscription:
>
>
_______________________________________________
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