hi, i want to advertise packet every interval of 5min. how can i start and stop advertise packet.
hi, i want to advertise packet every interval of 5min. how can i start and stop advertise packet.
Hi,
The Bluetooth Specification specifies that the advertising interval should be between 20 ms to 10.24 sec. If you want to be compliant with the BLE Specification, I recommend that you don't try to exceed these limits.
That said, you can stop the advertising with the function sd_ble_gap_adv_stop()
, and using the advertising module you can start with the function ble_advertising_start()
, or directly with sd_ble_gap_adv_start()
. You can then set-up a app_timer to control when you want to advertise.
i got it why it's maximum advertising interval is 10.24 sec. in BLE stack advertising interval is 2 octets means 16 bit and unit is 0.625msec. so we can set maximum 10.24 sec. this is right??
i got it why it's maximum advertising interval is 10.24 sec. in BLE stack advertising interval is 2 octets means 16 bit and unit is 0.625msec. so we can set maximum 10.24 sec. this is right??