coap_event_handler_t handle_event
Callback function that is used to signal events to the application.
int(* coap_event_handler_t)(struct coap_context_t *, coap_event_t event, struct coap_session_t *session)
Type for event handler functions that can be registered with a CoAP context using the unction coap_se...
The CoAP stack's global state is stored in a coap_context_t object.