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

how to let nRF51822 ble_app_uart never sleep?

As title, im using nRF51822 as a ble uart.(ble_app_uart)

But it will sleep when No connect for some time.

how can i turn off the sleep mode?

I want it be a "always on BLE UART" and wait for connect.

i did this

for (;;)
{
    //power_manage();
}

or this

case BSP_EVENT_SLEEP:
            //sleep_mode_enter();
            break;

but it doesnt work at all.

Related