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

Parents
  • Hi!

    It doesn't look like Zephyr has anything similar to the advertising timeout in the nRF5 SDK. However, this is something that can easily be handled in your application. You could also enable limited discovery mode, which has a timeout functionality.

    We have very limited staffing at the moment due to the summer holidays so delays on DevZone are to be expected. I will have time to make a small sample showing how to timeout advertising, but you will need to wait a few weeks.

    Best regards,

    Heidi

Reply
  • Hi!

    It doesn't look like Zephyr has anything similar to the advertising timeout in the nRF5 SDK. However, this is something that can easily be handled in your application. You could also enable limited discovery mode, which has a timeout functionality.

    We have very limited staffing at the moment due to the summer holidays so delays on DevZone are to be expected. I will have time to make a small sample showing how to timeout advertising, but you will need to wait a few weeks.

    Best regards,

    Heidi

Children
Related