esp-iot-solution
esp-iot-solution copied to clipboard
esp_conn_mgr does not advertise service uuid when include_service_uuid is set (AEGHB-665)
Answers checklist.
- [X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
- [X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
- [X] I have searched the issue tracker for a similar issue and not found a similar issue.
IDF version.
5.2.1
Espressif SoC revision.
esp32-c3 (QFN32) v0.4
Operating System used.
Windows
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
None
Development Kit.
esp32-c3-devkitm-1
Steps to reproduce.
- Build spp_server example
- Make sure to set
include_service_uuid = true
in the esp_ble_conn_config_t config. (It looks like it's set to true by default) - Flash device
- Use external bluetooth tool to observe advertisement data
- Notice that no service uuid is advertised.
Build Logs.
No response
More Information.
Looking at the source of esp_nimble.c it looks like that property is never used. Might be a case of this functionality not being added yet. I'm still trying to figure out a work around for the time being.