Hi,
Using CC2541 with BLE stack 1.4.0
My scenario is such that I need to toggle between non connectable indirect advertisement and connectable indirect advertisement.
So, I went to GAPROLE_WAITING and added a code to toggle the GAPROLE_ADV_EVENT_TYPE.
However once it goes to non connectable advertisement mode, it never stops advertising! I checked the GAPROLE_WAITING and it never enters that state. In Btool the device is always discovered in Btool as non connectable advertisement.
I have tried setting TGAP_LIM_ADV_TIMEOUT so that it stops advertising but no use.
Regards,
Tejas J