Hi Illias, There is an example of the use of microcoap [1] but it hasn't been updated with the new network stack so it might not work. No microcoap doesn't take care about socket so you have to register a new UDP socket which will be redirected to your microcoap handle function.
[1] https://github.com/RIOT-OS/applications/blob/master/microcoap/main.c 2015-10-29 12:52 GMT+01:00 Ilias Seitanidis <[email protected]>: > Hi ! To use CoAP in my R21 boards should I rite the code of socket > programming (open a udp port ,etc) or just use the coap library and it takes > care about the socket? > Thank you in advance!!! > > _______________________________________________ > devel mailing list > [email protected] > https://lists.riot-os.org/mailman/listinfo/devel > -- Baptiste _______________________________________________ devel mailing list [email protected] https://lists.riot-os.org/mailman/listinfo/devel
