esp-iot-solution icon indicating copy to clipboard operation
esp-iot-solution copied to clipboard

esp_conn_mgr does not advertise service uuid when include_service_uuid is set (AEGHB-665)

Open AlejandroHuerta opened this issue 8 months ago • 0 comments

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.

  1. Build spp_server example
  2. 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)
  3. Flash device
  4. Use external bluetooth tool to observe advertisement data
  5. 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.

AlejandroHuerta avatar May 25 '24 00:05 AlejandroHuerta