coap_observable_t

nRF5 SDK v15.0.0

Struct for CoAP Client for holding an instance of a remote observable resource. More...

#include <coap_observe_api.h>

Detailed Description

Struct for CoAP Client for holding an instance of a remote observable resource.

Field Documentation

uint32_t coap_observable_t::max_age

Max-Age of the observable resources value. If timed out, the value is no longer valid as a representation of the observable resource.

coap_remote_t coap_observable_t::remote

Remote address and port number.

coap_response_callback_t coap_observable_t::response_callback

Function callback set by the application to be called when a notifications has been received. Should be set by the application.

uint8_t coap_observable_t::token[8]

Message Token ID.

uint8_t coap_observable_t::token_len

Length of the token.

  • components/iot/coap/coap_observe_api.h