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

Bypass device reset after BLE timeout when in debug mode

Is there a way to bypass the device reset happening when BLE times out if the device is in debug mode (or RTT terminal)? I'm referring to the reset talked about in this thread.

I'm using SDK v15.3.0 to program an nRF52832. 

Parents Reply
  • OK, I see. Do you have the same timeout at around 180 seconds as the thread you linked to? If so, what is your APP_ADV_DURATION set to? If the advertisement times out, it will go to system off.

    You could configure the APP_ADV_DURATION to 0, then in the function where APP_ADV_DURATION is used e.g. advertising_start(), set the adv_flag to 

    BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE


    Let me know how that works for you!
Children
No Data
Related