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

sd_app_evt_wait() returns error code 2

I've cut the BLE proximity app example code back to doing nothing more than this:

int main(void)
{
    uint32_t err_code;
    
    leds_init();

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

LED 7 (ASSERT_LED_PIN_NO) is on straight away. Debugging power_manage(), I see the error code returned by sd_app_evt_wait() is 2. What does this mean? There's nothing in the docs for sd_app_evt_wait() to explain anything but NRF_SUCCESS as a return value.

Related