Loading...
Searching...
No Matches

CoRE Resource Directory endpoint interface. More...

Detailed Description

CoRE Resource Directory endpoint interface.

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

Definition in file ep.h.

#include "net/sock/udp.h"
+ Include dependency graph for ep.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.
 
int cord_ep_register (const sock_udp_ep_t *remote, const char *regif)
 Initiate the node registration by sending an empty push.
 
int cord_ep_update (void)
 Update our current entry at the RD.
 
int cord_ep_remove (void)
 Unregister from a given RD server.
 
void cord_ep_dump_status (void)
 Dump the current RD connection status to STDIO (for debugging)