Interface for the CoRE RD simple registration endpoint. More...
Interface for the CoRE RD simple registration endpoint.
Definition in file epsim.h.
#include "net/sock/udp.h"
Go to the source code of this file.
Enumerations | |
enum | { CORD_EPSIM_OK = 0, CORD_EPSIM_ERROR = -1, CORD_EPSIM_BUSY = -2 } |
Error codes used by the cord_epsim implementation. More... | |
Functions | |
int | cord_epsim_register (const sock_udp_ep_t *remote) |
Initiate the node registration by sending an empty CoAP POST message to the RD server's /.well-known/core resource. More... | |
int | cord_epsim_state (void) |
Get the status of the latest registration procedure. More... | |