I would like my device to advertise for 10s and then begin advertising again only on an external interrupt.
What steps are required to restart advertising without restarting the device after a timeout event has occurred?
I would like my device to advertise for 10s and then begin advertising again only on an external interrupt.
What steps are required to restart advertising without restarting the device after a timeout event has occurred?
Hi polarstate, i can't guarantee that this is 100% correct way to do this, but when i have to do tasks similiar to yours, i just call advertising_start() function and it starts advertising. Usually, every time i want to advertise different data, so to update advertisement data i just call advertise_init() function and then start advertising by calling advertising_start();
Hope This helps.
Hi polarstate, i can't guarantee that this is 100% correct way to do this, but when i have to do tasks similiar to yours, i just call advertising_start() function and it starts advertising. Usually, every time i want to advertise different data, so to update advertisement data i just call advertise_init() function and then start advertising by calling advertising_start();
Hope This helps.