How to send/receive more than 20 bytes in gatt server demo example code

radhika.patil
Posts: 2
Joined: Mon Jul 31, 2023 12:28 pm

How to send/receive more than 20 bytes in gatt server demo example code

Postby radhika.patil » Tue Aug 29, 2023 5:15 am

I am trying to evaluate gatt server example code https://github.com/espressif/esp-idf/tr ... att_server.

I am trying to receive more than 20bytes. but when I write more than 20 bytes to the characteristic, in the ESP_GATTS_WRITE_EVT event I get only 20 bytes max in param->write.value buffer.
Also if I check param->write.len at this event, it is also 20.
How to increase this size? we need to send more than 150 bytes in single packet.

Who is online

Users browsing this forum: bfredo123 and 79 guests