libcoap
4.3.0rc1
|
Subscriber information. More...
#include <coap_subscribe_internal.h>
Data Fields | |
struct coap_subscription_t * | next |
next element in linked list More... | |
struct coap_session_t * | session |
subscriber session More... | |
unsigned int | non_cnt:4 |
up to 15 non-confirmable notifies allowed More... | |
unsigned int | fail_cnt:2 |
up to 3 confirmable notifies can fail More... | |
unsigned int | dirty:1 |
set if the notification temporarily could not be sent (in that case, the resource's partially dirty flag is set too) More... | |
unsigned int | has_block2:1 |
GET request had Block2 definition. More... | |
uint8_t | code |
uint16_t | mid |
request type code (GET/FETCH) More... | |
coap_block_t | block |
GET/FETCH request Block definition. More... | |
size_t | token_length |
actual length of token More... | |
unsigned char | token [8] |
token used for subscription More... | |
struct coap_string_t * | query |
query string used for subscription, if any More... | |
Subscriber information.
Definition at line 45 of file coap_subscribe_internal.h.
coap_block_t coap_subscription_t::block |
GET/FETCH request Block definition.
Definition at line 57 of file coap_subscribe_internal.h.
uint8_t coap_subscription_t::code |
Definition at line 55 of file coap_subscribe_internal.h.
unsigned int coap_subscription_t::dirty |
set if the notification temporarily could not be sent (in that case, the resource's partially dirty flag is set too)
Definition at line 51 of file coap_subscribe_internal.h.
unsigned int coap_subscription_t::fail_cnt |
up to 3 confirmable notifies can fail
Definition at line 50 of file coap_subscribe_internal.h.
unsigned int coap_subscription_t::has_block2 |
GET request had Block2 definition.
Definition at line 54 of file coap_subscribe_internal.h.
uint16_t coap_subscription_t::mid |
request type code (GET/FETCH)
message id, if any, in regular host byte order
Definition at line 56 of file coap_subscribe_internal.h.
struct coap_subscription_t* coap_subscription_t::next |
next element in linked list
Definition at line 46 of file coap_subscribe_internal.h.
unsigned int coap_subscription_t::non_cnt |
up to 15 non-confirmable notifies allowed
Definition at line 49 of file coap_subscribe_internal.h.
struct coap_string_t* coap_subscription_t::query |
query string used for subscription, if any
Definition at line 60 of file coap_subscribe_internal.h.
struct coap_session_t* coap_subscription_t::session |
subscriber session
Definition at line 47 of file coap_subscribe_internal.h.
unsigned char coap_subscription_t::token[8] |
token used for subscription
Definition at line 59 of file coap_subscribe_internal.h.
size_t coap_subscription_t::token_length |
actual length of token
Definition at line 58 of file coap_subscribe_internal.h.