This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Stop advertising, enter to sleep mode and wake-up

Hello all,

I'm using NRF52840 with last sdk (V1.6.0) of nrf connect but I can't put the device into sleep mode (where the current consumption is at about 3/4 U) the device is always in advertising.

I am coming form sdk12.0.0 of NRF51822 where I had "Advertising TimeOut" and when this time was finisced the device entered automatically into sleep mode.
I can not do this with this SDK.

Is there any sample where it shown how to put the device into sleep mode after 30 seconds of advertitsing? and how to wake-up it with a button?
I need to create a timer to put the device into sleep mode?

Thnaks a lot for your help
Best regards

Related