coap_observer_t

nRF5 SDK v15.0.0

Struct for CoAP Server for holding an instance of a remote observer. More...

#include <coap_observe_api.h>

Detailed Description

Struct for CoAP Server for holding an instance of a remote observer.

Field Documentation

coap_content_type_t coap_observer_t::ct

Content type to use when sending notifications.

coap_resource_t * coap_observer_t::p_resource_of_interest

Pointer to the resource of interest.

coap_remote_t coap_observer_t::remote

Remote address and port number.

uint8_t coap_observer_t::token[8]

Message Token ID.

uint8_t coap_observer_t::token_len

Length of the token.

  • components/iot/coap/coap_observe_api.h