For unknown reasons v0.2.1 changed the default advertising start duration to 0 which causes it to effectively disable advertising immediately. The documentation suggests we should use BLE_HS_FOREVER which according to host/ble_hs.h is INT32_MAX, though that constant isn't made available through esp_idf_sys for some reason.
For unknown reasons v0.2.1 changed the default advertising start duration to 0 which causes it to effectively disable advertising immediately. The documentation suggests we should use BLE_HS_FOREVER which according to host/ble_hs.h is INT32_MAX, though that constant isn't made available through esp_idf_sys for some reason.
Closes #28, #29