Re: CBPeripheralDelegate -peripheral:didModifyServices:
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 <martijn@pebble.com> 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 <robert@robertcarlsen.net> 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 (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/bluetooth-dev/martijn%40getpebble.co...
This email sent to martijn@getpebble.com
_______________________________________________ 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)
-
Robert Carlsen