Hello,
I have implemented a BLE GATT server in ESP-IDF v4.3.1 on ESP32-WROVER ESP32-DEVKITC and to connect I am using the LightBlue app. In the app when I connect to the esp module, under the advertisement data, the advertised service UUIDs appear multiple time(though they are identical).
In the code I have used raw data as service UUID, also I tried changing the values of UUID they do get reflected in in app it is just that they appear twice. It should appear only one and the lates value of UUID id changed. This problem appears on android as well as iOS.
All kind help is appreciated.
Many thanks,
Sameer
Advertised service UUIDs appearing multiple times
-
- Posts: 7
- Joined: Mon Apr 24, 2023 4:36 pm
Advertised service UUIDs appearing multiple times
- Attachments
-
- This this the light blue app for android and as I said it shows advertised service UUID twice
- partial_image.png (75.21 KiB) Viewed 927 times
-
- Posts: 1709
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: Advertised service UUIDs appearing multiple times
That doesn't sound right.In the code I have used raw data as service UUID
In the raw packet data it seems that there are two advertisements included, both beginning with the flags field (0x02 0x01 0x06) and both including the 0x1207 service uuid (bytes: 0x03 0x03 0x07 0x12). So somehow the advertisement data gets added twice.
Did you use esp_ble_gap_config_adv_data_raw(...)?
Who is online
Users browsing this forum: 137502805@qq.com and 105 guests