I'm using 2 ESP8266 board to test with COAP protocol.
One is the COAP server and the other is Client.
I used ESP8266-FreeRTOS-SDK's CoAP example, buts when I config with POST Method,
I still send the request and receive the message from the server but data in my send package from client is NULL. I tested with Copper and it still working correctly from the server.
I tried 2 ways to append data to this package below:
request -> data = "Hello world"
and
coap_add_data() function but in client-side, I always see this parameter, but it really disappears when coming to the server.
Anyone can give me some advice or an example?
Many thanks,
Hieu