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

How to configure to stop system off after 3 minutes?

On custom nRF51422 hardware with S110, I eventually found that after 3 minutes the advertising timeout turns off the system. I reproduced it by using the nRF SDK v9 project ble_app_uart_s110_pca10028

These links mention the 3 minutes timeout

devzone.nordicsemi.com/.../

developer.nordicsemi.com/.../a00076.html

What is the correct way to stop a system off?

Is it by configuration of pca100028.h or ble_advertising.h or perhaps by removing the event handler code?

Parents
  • I spent a while trying to get this working and only now that I've posted the question, other questions have been helpful

    devzone.nordicsemi.com/.../

    Setting the define APP_ADV_TIMEOUT_IN_SECONDS to 0 or any number larger than 180 didn't work for me - rejected by the library call.

    Instead restarting advertising on BLE_ADV_EVT_IDLE looks to be working (by calling ble_advertising_start(BLE_ADV_MODE_FAST) )

  • Still works with SDK 16 on USB Dongle nRF52840 (pca10059).

Reply Children
No Data