8 years, 8 months ago.

Client to send data to some remote server using CoAP

Hello, I have to write a client code for FRDM-K64F through which I can send data using CoAP protocol to some remote server . There isn't much guidance available for libcoap and cantcoap usage. Kindly help me how to get started with it and which libraries shall I consider for CoAP implementation.

1 Answer

8 years, 8 months ago.

You can get a raw socket and pipe CoAP over it... That'd be a start. https://developer.mbed.org/handbook/Socket.

There is also a library here: https://developer.mbed.org/teams/Yes-We-Can/code/yeswecancoap/, although I haven't tested it myself.