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

How to disable advertising timeout in BLE peripheral in SDK 12.1?

I am attempting to disable the advertising timeout on the Nordic Beacon with the ble_app_uart example found in SDK 12.1. I am using SD 130.

Searching for this issue produced a lot of results, but most were from older SDKs. I've tried setting the APP_ADV_TIMEOUT_IN_SECONDS define to '0', but that completely disables advertising. I've also tried setting adv_params.timeout to 0 in ble_advertising_start(), but that did not work either.

How do I get advertising to run indefinitely without timing out?

Parents Reply Children
No Data
Related