Hi,
I am using the ble_blinky example as a template to develop my project, with nRF52832 and SDK 17.0.2.
My first goal is to reduce consumption, so I have changed the advertising time to 5 seconds, after this time it is automatically powered off. I need to configure a button before it goes to sleep to enable waking up.
For the blinky example, the question is what function is getting this timeout event and putting the device to sleep?
i.e., in the ble_app_uart example, as mentioned in this thread, I can find it in the ble_advertising.c file, but for the blinky example, it doesn´t use this file, so I am not able to identify where the event detection and the sleeping function call is happening.
Thanks in advance!