Go to the documentation of this file.
16 #ifndef COAP_SUBSCRIBE_INTERNAL_H_
17 #define COAP_SUBSCRIBE_INTERNAL_H_
25 #ifndef COAP_OBS_MAX_NON
31 #define COAP_OBS_MAX_NON 5
34 #ifndef COAP_OBS_MAX_FAIL
40 #define COAP_OBS_MAX_FAIL 3
unsigned int has_block2
GET request had Block2 definition.
struct coap_string_t * query
query string used for subscription, if any
unsigned char token[8]
token used for subscription
unsigned int non_cnt
up to 15 non-confirmable notifies allowed
struct coap_session_t * session
subscriber session
unsigned int fail_cnt
up to 3 confirmable notifies can fail
Coap string data definition.
size_t token_length
actual length of token
struct coap_subscription_t * next
next element in linked list
Structure of Block options.
coap_block_t block2
GET request Block2 definition.
void coap_subscription_init(coap_subscription_t *)
uint16_t tid
transaction id, if any, in regular host byte order
unsigned int dirty
set if the notification temporarily could not be sent (in that case, the resource's partially dirty f...