CoRE Resource Directory endpoint interface. More...
CoRE Resource Directory endpoint interface.
Definition in file ep.h.
#include "net/sock/udp.h"
Go to the source code of this file.
Enumerations | |
enum | { CORD_EP_OK = 0, CORD_EP_TIMEOUT = -1, CORD_EP_ERR = -2, CORD_EP_NORD = -3, CORD_EP_OVERFLOW = -4 } |
Return values and error codes used by this module. More... | |
Functions | |
int | cord_ep_discover_regif (const sock_udp_ep_t *remote, char *regif, size_t maxlen) |
Discover the registration interface resource of a RD. More... | |
int | cord_ep_register (const sock_udp_ep_t *remote, const char *regif) |
Initiate the node registration by sending an empty push. More... | |
int | cord_ep_update (void) |
Update our current entry at the RD. More... | |
int | cord_ep_remove (void) |
Unregister from a given RD server. More... | |
void | cord_ep_dump_status (void) |
Dump the current RD connection status to STDIO (for debugging) | |