Loading...
Searching...
No Matches

CoRE Resource Directory endpoint standalone extension. More...

Detailed Description

CoRE Resource Directory endpoint standalone extension.

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

Definition in file ep_standalone.h.

Go to the source code of this file.

Typedefs

typedef void(* cord_ep_standalone_cb_t) (cord_ep_standalone_event_t event)
 Callback function signature for RD endpoint state synchronization.
 

Enumerations

enum  cord_ep_standalone_event_t { CORD_EP_REGISTERED , CORD_EP_DEREGISTERED , CORD_EP_UPDATED }
 Possible types of events triggered by the cord_ep_standalone module. More...
 

Functions

void cord_ep_standalone_run (void)
 Spawn a new thread that takes care of sending periodic updates to an active RD entry.
 
void cord_ep_standalone_reg_cb (cord_ep_standalone_cb_t cb)
 Register a callback to be notified about RD endpoint state changes.
 
void cord_ep_standalone_signal (bool connected)
 Signal the cord_ep thread about connection status change.