Page 1 of 1

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

Posted: Tue Aug 29, 2023 5:15 am
by radhika.patil
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.