ANCS constantly re-sending notifications?
I'm working on completing the firmware for a peripheral that is using ANCS. I'm trying to tune the power consumption by dynamically changing connection interval. Longish interval when nothing is going on and dropping the interval back down when a new notification arrives. In adding support for this I noticed that iOS 9.0.x and 9.1 seem to be constantly re-sending all the active notifications periodically as 'added' events (would have expected 'modified' if something changed). The only thing that seems to change is the the 'pre-existing' flag is set on the re-transmitted notifications. This is not the result of a disconnect/reconnect, the connection is established the entire time. The period between re-sends is ~30s, ~60s, ~90s, ~180s, ~240s (it might be backing off, not sure). Any ideas what this is for? It results in needless traffic and wastes power on both sides (especially for a device with a tiny battery). I don't remember seeing this behavior pre-9.x. Is there something I'm doing wrong that is causing iOS to re-transmit? Many thanks, Clem _______________________________________________ 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)
-
Clem Taylor