I set 0 to APP_ADV_DURATION then advertising stopes.
I set 0 to APP_ADV_DURATION then advertising stopes.
Hello,
You also need to change the adv. flag in adv. init from BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE to BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE, because the max. adv. duration is limited to 3 minutes in limited discovery mode.
I am using nRFF52840 DK with SDK 17.0.0.9. there is no BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE flag, but there BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE is present. What can I do?
Is it set with general discovery mode like shown below?
Is it set with general discovery mode like shown below?