hi,
i am working on nrf52dk . in example ble_app_uart i want system go in sleep mode.without advertising start. how i can do it.
hi,
i am working on nrf52dk . in example ble_app_uart i want system go in sleep mode.without advertising start. how i can do it.
Hi,
i want system go in sleep mode.without advertising start. how i can do it.
The application goes into system on sleep in the main loop by calling idle_state_handle(). If you don't want to start the advertising just omit the call to advertising_start().
what i am doing in my code is

is it possible to sleep system like this
Hi,
Yes, that would set the CPU to what we call system on sleep. System off sleep is achieved by calling sd_power_system_off().
regards
Jared
system is not going on sleep .LED is still ON. i am working on nrf52dk
Hi,
The GPIO configuration is retained in system off sleep. Going to sleep will therefore not effect the state of the GPIO connected to the LED. You would have to configure it correctly before going to sleep.
best regards
Jared
Hi,
The GPIO configuration is retained in system off sleep. Going to sleep will therefore not effect the state of the GPIO connected to the LED. You would have to configure it correctly before going to sleep.
best regards
Jared