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
not advertising timeout functionality ?
-
- Posts: 60
- Joined: Mon Jun 26, 2017 5:36 am
-
- Posts: 60
- Joined: Mon Jun 26, 2017 5:36 am
Re: not advertising timeout functionality ?
would use Timer to shutdown the advertising after certain period.
https://gist.github.com/shirish47/5b2a0 ... 678a4da352
https://gist.github.com/shirish47/5b2a0 ... 678a4da352
Thanks.
Who is online
Users browsing this forum: forrest and 71 guests