All in One command advertise for specific time and return if got connected
SO, Peripheral side here, using the marvelous stm32wb55 !
I would love to be able to start advertisement for a specific amount of time (e.g, 5 sec)
and then get and the response whether or not I got connected. ( ALL IN ONE COMMAND please!!)
Did someone implement it safely?
My concern is that I stop advertisement while having a connection event pending..
Now, I do not like the idea of processing all the events in queue ( how do I know where to stop? ) , or waiting for queue to be empty.. ( will it ever be? could get stuck there)
ST guys , is there a ready command for that? In the code examples I see you stopping it with task, but is there a way to start it for X seconds, and get an event saying "You got connected/ Or not" ? Looks like a handy command, that is probably not in BLE specification god...
Help please ( :
