
What should i do to keep the BLE always advertising ?

What should i do to keep the BLE always advertising ?
Hello,
You can disable the adv. timeout by setting the adv. duration to BLE_GAP_ADV_TIMEOUT_GENERAL_UNLIMITED ('0'). Also make sure you don't use the BLE_GAP_ADV_FLAG_LE_LIMITED_DISC_MODE/BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE flag in your adv. init function as that will limit the max. permitted advertising duration to 180 seconds.