Re: CBPeripheralDelegate -peripheral:didModifyServices:
Re: CBPeripheralDelegate -peripheral:didModifyServices:
- Subject: Re: CBPeripheralDelegate -peripheral:didModifyServices:
- From: Robert Carlsen <email@hidden>
- Date: Mon, 19 Oct 2015 16:10:08 -0400
Martijn,
Thanks for the follow-up. I believe that the firmware had not correctly implemented the module vendor’s API for sending an indication on Service Changed. I worked with our firmware engineer and the vendor’s field application engineer to correct the implementation and now the Core Bluetooth didModifyServices: API is being called as expected when the GATT database is changed on the peripheral.
Cheers!
-robret
> On Oct 19, 2015, at 4:06 PM, Martijn The <email@hidden> wrote:
>
> Hi Robert,
>
> Yes, we're seeing that method getting called when our (bonded) device sends a value update indication for the "Service Changed" characteristic with the handle range that has changed (only send it after iOS has subscribed to it). iOS will then perform a service discovery and call that method as a result.
>
> Martijn
>
> Pebble Time - Awesome Smartwatch, No Compromises
> http://www.pebble.com/
> Tel: +1 (650) 308-9383 / +31(0)619151407
>
> On Wed, Oct 14, 2015 at 1:01 AM, Robert Carlsen <email@hidden> wrote:
> I’m not having success receiving this delegate method with a bonded peripheral which modifies it’s services while connected.
>
> We’re confirming with the module vendor that it correctly implements the Service Changed characteristic. Using the vendor’s (Windows-based) tool, I can see that the Service Changed characteristic is visible.
>
> The only mention of didModifyServices: in a cursory search of the bluetooth-dev archives is below, but it’s light on details:
> http://prod.lists.apple.com/archives/bluetooth-dev/2015/Feb/msg00004.html
>
> Has anyone successfully gotten a callback on the didModifyServices: method (using a non-iOS peripheral)?
>
> Thank you,
> -robert
> _______________________________________________
> 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
>
_______________________________________________
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