Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
2 years, 8 months ago.
Relationship between setAdvertisingInterval and setTimeOut?
I am trying to figure out the relationship between the Advertising Interval and Advertisement Timeout. I want to set a larger Advertising interval or rather I want to not Advertise as often. What should the ideal Advertisement Timeout be? What is the default Advertisement Timeout? Is Advertisement Timeout how long an Advertisement event occurs?
Question relating to:
2 years, 7 months ago.
Advertising Interval is the time between advertisement events. Advertisement Timeout is how long you want to advertise. When you set timeout to 0, there is no timeout. Your device does not stop advertising.
You can find more info in GapAdvertisingParams.h.
The ideal setting depends on your application.