nRF51 IoT SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
coap_observer_t Struct Reference

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

#include <coap_observe_api.h>

Data Fields

coap_remote_t remote
 
uint8_t token [8]
 
uint8_t token_len
 
coap_content_type_t ct
 
coap_resource_tp_resource_of_interest
 

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.