Hi
We are seeing a strange behaviour when using sd_ble_gap_adv_set_configure()
. When we set the advertising data in the ble_gap_adv_data_t
to have the advertising flag set to BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE
, everything works fine. However, as soon as we set the flag to BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE
(while keeping everything else exactly the same including the advertising data and the advertising parameters), the function fails with NRF_ERROR_INVALID_PARAM. Is there any reason for this behaviour?
We are using SDK15.0.0 and softdevice 6.0.0 on an nRF52840 PDK.
Thanks
Youssif