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

advertise nrf52840 unlimitedly.

I am using the ble_app_uart example as my base on a 52840 with sdk 14.1. I have commented out BLE_ADV_EVT_IDLE case in on_adv_evt() function and the BSP_EVENT_SLEEP case in bsp_event_handler() function. (BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE) with timeout set to 0.

LED 1 blinks indicating that it is advertising, and for a few minutes it is visible in nRF Connect. But, after approximately 3 minutes the device is no longer visible. However, the LED continues to blink as though the device is still advertising.

i know the problem is APP_ADV_TIMEOUT_IN_SECONDS is set to 180. so only it is advertising only for 3 minutes.

what can i do for advertising my nrf52840 unlimitedly?

Parents Reply Children
No Data
Related