Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix advertising regression in v0.2.1 #31

Merged
merged 1 commit into from
Oct 14, 2023
Merged

Fix advertising regression in v0.2.1 #31

merged 1 commit into from
Oct 14, 2023

Conversation

jasta
Copy link
Contributor

@jasta jasta commented Oct 13, 2023

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

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 taks#28, taks#29
@taks
Copy link
Owner

taks commented Oct 14, 2023

Thanks

@taks taks closed this Oct 14, 2023
@taks taks reopened this Oct 14, 2023
@taks taks merged commit 912dfb6 into taks:develop Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Examples apparently not advertising on ESP32-C3-DevKitM-1
2 participants