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

NRF52805 wake up from system_on mode when BLE_NUS_EVT_RX_DATA event received

Hello Team,

I want to know while Ble device is connected to the android device and within 5mins if device not get any data from android device then,

- Can device enter into system_on_mode?

if yes, can device wakeup when BLE_NUS_EVT_RX_DATA event occur ?

I am using SDK: 15.2.0 and [ NRF52805 - ble_app_uart example].

If all above things are possible then please let me know how to achieve this. 

- Dipak

  • Hello Dipak,

    I want to know while Ble device is connected to the android device and within 5mins if device not get any data from android device then,

    - Can device enter into system_on_mode?

    The device may enter into the low power SYSTEM_ON mode in-between every connection event, if there is nothing else that it needs to do. You can see this done in all of our ble peripheral examples from the SDK, for example the ble_app_uart example. The contents of the idle_state_handler function is this low-power SYSTEM_ON mode.
    SYSTEM_ON mode is just that the CPU sleeps while waiting for the next event to happen.

    if yes, can device wakeup when BLE_NUS_EVT_RX_DATA event occur ?

    Yes, the device will wake up from SYSTEM_ON mode whenever an event is generated.
    The CPU will also be woken up and used by the SoftDevice whenever a connection event is upcomming.

    Best regards,
    Karl

Related