Core Bluetooth > Subscribed characteristic sometime not getting updated in Central
Hello, Running a Core Bluetooth test app on two iOS 6 devices, I notice that *sometimes* I will not get a didUpdateValueForCharacteristic for a characteristic that my central has subscribed to. My peripheral sets up the service with this characteristic having notify properties. (My service also has a writeable propertyŠsee below.) The central, after connecting the peripheral and receiving didDiscoverCharacteristicsForService, subscribes to the notify characteristic. didUpdateNotificationStateForCharacteristic gets called, with the characteristic's isNotifying flag reporting YES. My central writes to the peripheral via the writeable characteristic mentioned above. In the peripheral's didReceiveWriteRequests, I read what the central wrote to us, and in this same method I call updateValue:forCharacteristic:onSubscribedCentrals: to write some data to the notify characteristic that the central has subscribed to. The updateValue:forCharacteristic:onSubscribedCentrals: call returns YES. At this point, often in the central, didUpdateValueForCharacteristic does not get called in this workflow. Any ideas on this? Thanks. Allan _______________________________________________ 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)
-
Allan Young