Hello,
I am using 15.4_DMM_Sensor_oad code (SDK 4.20). I want to start the BLE advertisement on button press. But when I use the GapAdv_enable API in ssf.c it doesn't seem to respond.
I also tried a couple of other things and managed to do it using flags. But, is there any graceful way to do that?
Also, I want to advertise only for a certain amount of time and after that disable the advertisement. I tried to use the already provided Util_constructClock function but the code gets stuck and the node is orphaned after a few seconds. What could be the reason for that and any help on how I can achieve it?
Any help is appreciated.
Thanks and Regards,
Yash