ARMmbed

Advertising Interval

I am wondering if this seems correct. i have the advertising set to 1000 ms and it uses more battery power than setting it to 50 ms. The way I read the Docs was that the interval is the time between the Advertising data being sent. So it would seem that the larger the interval , the better the battery life. Is that the correct assumption?

thanks

Hi,

Can you provide the doclink for reference? It will help us get you the right resource to answer this. Thanks.

https://docs.mbed.com/docs/ble-intros/en/latest/Introduction/ConnectionParameters/

setAdvertisingInterval()
When the peripheral device is in advertising mode it sends advertising packets at a fixed interval, as short as 20 milliseconds or as long as 10.28 seconds. A short interval allows the central device to find the peripheral quickly, but because it requires frequent radio work the power consumption is higher. It is therefore a balancing act between speed and battery use.

The advertising interval is completely under the peripheral device’s control. This is unlike the other connection parameters, as you’ll see below, which are suggestions that the central device can ignore.

The interval is set using setAdvertisingInterval: a function in the BLEDevice class of BLE_API. The function accepts a value in milliseconds.

thank you