A Few iOS Peripheral Advertising Rate Questions
A Few iOS Peripheral Advertising Rate Questions
- Subject: A Few iOS Peripheral Advertising Rate Questions
- From: Steve Jabs <email@hidden>
- Date: Thu, 17 Jan 2013 14:58:07 -0500
Hi All,
I'm currently developing an application where the iOS device is in a peripheral mode. So far everything has been pretty straight forward. I have it running fine in the foreground and background. However, I've noticed a few issues that I wanted to bring up and see if there was anyone who may be able to shed some light on them:
1.) In the foreground, my app acting as the peripheral advertises extremely fast on startup. This is great, but it seems that after a little bit those advertisements tend to slow down (even while still in the foreground). Should I make the assumption that iOS ramps the advertisement rate up and down? If so, is there a set amount of time that an app will advertise at it's max rate before ramping down? Can I set this without being connected to a central?
2.) In the background the app immediately goes to a slower advertising rate. However, it's extremely inconsistent. While the majority of advertisements are sent out at what seems to be a second or less there are a few that can take up to 3 or 4 seconds to advertise. Can I assume, like the first question that the advertising rate varies as it's controlled by iOS?
3.) How long can I expect my device to advertise in the background under normal usage? Right now, we've exceeded 3 hours advertising in the background with nothing else running. I'm curious if anyone has done tests that have exceded 24 hours in the background with normal usage. Our use case will likely be 12 or less hours in the background.
(In all situations this was performed on a latest generation iPod Touch running iOS 6 and not connected to a central)
Thanks everyone,
_______________________________________________
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