12 #ifndef _COAP_SUBSCRIBE_H_    13 #define _COAP_SUBSCRIBE_H_    27 #define COAP_OBSERVE_ESTABLISH 0    33 #define COAP_OBSERVE_CANCEL 1    35 #ifndef COAP_OBS_MAX_NON    41 #define COAP_OBS_MAX_NON   5    44 #ifndef COAP_OBS_MAX_FAIL    50 #define COAP_OBS_MAX_FAIL  3 multi-purpose address abstraction 
struct coap_subscription_t * next
next element in linked list 
Abstraction of virtual endpoint that can be attached to coap_context_t. 
size_t token_length
actual length of token 
struct coap_subscription_t coap_subscription_t
Subscriber information. 
Representation of network addresses. 
unsigned int non_cnt
up to 15 non-confirmable notifies allowed 
unsigned int dirty
set if the notification temporarily could not be sent (in that case, the resource's partially dirty f...
unsigned int fail_cnt
up to 3 confirmable notifies can fail 
unsigned char token[8]
token used for subscription 
coap_endpoint_t local_if
local communication interface 
void coap_subscription_init(coap_subscription_t *)
coap_address_t subscriber
address and port of subscriber