Page 1 of 1

not advertising timeout functionality ?

Posted: Tue Nov 07, 2017 1:28 pm
by Trialblazer47
I am using esp32 BLE gatt server . It keeps advertising . I want to stop advertising after some time. I searched in API but no functionality to define this timeout. while in arduino for nrf51(redbearlab) has one such function to specify when to stop advertising.


I don't know how to use freeRTOS software timer. Will look into it. any other solutions ? don't want delays :P

Re: not advertising timeout functionality ?

Posted: Wed Nov 08, 2017 10:09 am
by Trialblazer47
would use Timer to shutdown the advertising after certain period.

https://gist.github.com/shirish47/5b2a0 ... 678a4da352