Im working with example: nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral\ble_app_uart
There is APP_ADV_DURATION parameter, it is maximum duration. How to get longer duration or unlimited advertising duration?
Im working with example: nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral\ble_app_uart
There is APP_ADV_DURATION parameter, it is maximum duration. How to get longer duration or unlimited advertising duration?
A value of Zero means "indefinite".
I think this is documented somewhere - but it could be clearer.
How to properly post source code:
I think this is documented somewhere - but it could be clearer
https://devzone.nordicsemi.com/f/nordic-q-a/22928/indefinite-advertise-time/183164#183164
Thanks, now it works,
I also had to set up
init.advdata.flags = BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE
Before BLE worked with BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE
Thanks, now it works,
I also had to set up
init.advdata.flags = BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE
Before BLE worked with BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE