not advertising timeout functionality ?

Trialblazer47
Posts: 60
Joined: Mon Jun 26, 2017 5:36 am

not advertising timeout functionality ?

Postby Trialblazer47 » Tue Nov 07, 2017 1:28 pm

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
Thanks.

Trialblazer47
Posts: 60
Joined: Mon Jun 26, 2017 5:36 am

Re: not advertising timeout functionality ?

Postby Trialblazer47 » Wed Nov 08, 2017 10:09 am

would use Timer to shutdown the advertising after certain period.

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

Who is online

Users browsing this forum: No registered users and 104 guests