Interface for the CoRE RD simple registration endpoint. More...

Detailed Description

Interface for the CoRE RD simple registration endpoint.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file epsim.h.

#include "net/sock/udp.h"
+ Include dependency graph for epsim.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...