esp-idf gatt client demo for server with 128 bit UUID

armatrics
Posts: 1
Joined: Fri Feb 03, 2023 10:23 am

esp-idf gatt client demo for server with 128 bit UUID

Postby armatrics » Fri Feb 03, 2023 10:53 am

Hi,
I am using ESP-IDF gatt client demo for 128 bit UUID. The gatt server is a BLE moisturemeter ( FLIR MR55).
I have changed the demo code of 16 bit UUID with the following link to work with 128 bit UUID.

>> https://github.com/espressif/esp-idf/tr ... tt_client
I am not understanding where to make change with the below code line in the main code -

Add the new UUID128 to the profile.
// Copy the new UUID128 to the profile
memcpy(xxx_uuid.uuid.uuid128, gatts_xxx_uuid128, ESP_UUID_LEN_128);


Without this part of the code, esp32 can only scan the nearby BLE devices. But it is not connecting to the desired BLE device.

I am new to esp-idf and BLE connectivity. Kindly guide me in this matter.

Thank you.

Who is online

Users browsing this forum: Bing [Bot], FX2032, Majestic-12 [Bot] and 120 guests