BLE advertisement stops unexpectedly on BLE UART example

This issue is encountered while trying the BLE_Uart example without changing anything.

Based on the current consumption I’m seeing and lack of readable advertisements, it seems that all BLE activity ceases after 30 seconds after boot. I would expect that since the device is configured for BLE UART, after the initial 30 seconds the device would still advertise.

Current consumption t>30s:

@beegee can you confirm this behavior? Tested on staging, RAK4630-R.

Correct, RUI3 stops the advertising after 30 seconds that is default behaviour.
You need to keep advertising alive with api.ble.advertise.start(adv_time).
To have advertising active all the time, set adv_time to 0

BLE advertising docs

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.