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

Using advertising flags

Hello there. I just recently started programming using the nRF52832 DK, SDK14.1.0 and SoftDevice 132 v5.0 . I tried to follow this tutorial on Github: github.com/.../custom_ble_service_example

Right after implementing my own custom service, the board was able to start advertising (indicated by the blinking LED1). Then I did one change to ble_advertising_init_t structure variable and wasn't able to advertise any more. More specifically, I wanted to change the flag content of the structure to use "BLE_GAP_ADV_FLAG_LE_GENERAL_DISC_MODE" instead of the given parameter "BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE"-

So why is advertising aborted/not even started when I change this component? Additionally, the flags' usage is not properly described in any documentation I found online.

Many thanks in advance! Nici

Related