nRF5 SDK v15.2.0
Data Fields
coap_observable_t Struct Reference

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

#include <coap_observe_api.h>

Data Fields

coap_remote_t remote
 
uint8_t token [8]
 
uint8_t token_len
 
coap_response_callback_t response_callback
 
uint32_t max_age
 

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.


The documentation for this struct was generated from the following file:

Documentation feedback | Developer Zone | Subscribe | Updated