Sending data in ESP-IDF SPP GATT CLIENT/SERVER demo
Posted: Wed Feb 12, 2020 9:51 am
I'm tying to understand how to send data from server to client in the SPP GATT example ( https://github.com/espressif/esp-idf/bl ... /README.md ).
I didn't get how to put into practice the following statement:
which is triggered when I receive data and I can take them from . Now if I want to send data to client, how can I do that?
I didn't get how to put into practice the following statement:
Because, for receiving data in the server I have theSending Data Wirelessly
The client will be sending WriteNoRsp packets to the server. The server side sends data through notifications. When the Uart receives data, the Uart task places it in the buffer. If the size of the data is larger than (MTU size - 3), the data will be split into packets and send in turn.
Code: Select all
ESP_GATTS_WRITE_EVT
Code: Select all
p_data->write.value