gcoap Structure - kb2ma/RIOT GitHub Wiki

Files

The sections below show gcoap's file structure within RIOT.

examples/gcoap

Includes a command line, and both server and client functionality

sys/net/application_layer/coap

Includes main implementation file.

sys/include/net

Includes the main header file, gcoap.h.

pkg/nanocoap

gcoap depends on nanocoap for core CoAP functionality, especially parsing a PDU. nanocoap is maintained by a RIOT maintainer, but is hosted externally.