libcoap  4.2.0
coap_subscription_t Struct Reference

Subscriber information. More...

#include <subscribe.h>

+ Collaboration diagram for coap_subscription_t:

Data Fields

struct coap_subscription_tnext
 next element in linked list More...
 
coap_session_tsession
 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...
 
coap_block_t block2
 GET request Block2 definition. More...
 
size_t token_length
 actual length of token More...
 
unsigned char token [8]
 token used for subscription More...
 
coap_string_tquery
 query string used for subscription, if any More...
 

Detailed Description

Subscriber information.

Definition at line 56 of file subscribe.h.

Field Documentation

◆ block2

coap_block_t coap_subscription_t::block2

GET request Block2 definition.

Definition at line 66 of file subscribe.h.

◆ dirty

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 62 of file subscribe.h.

◆ fail_cnt

unsigned int coap_subscription_t::fail_cnt

up to 3 confirmable notifies can fail

Definition at line 61 of file subscribe.h.

◆ has_block2

unsigned int coap_subscription_t::has_block2

GET request had Block2 definition.

Definition at line 65 of file subscribe.h.

◆ next

struct coap_subscription_t* coap_subscription_t::next

next element in linked list

Definition at line 57 of file subscribe.h.

◆ non_cnt

unsigned int coap_subscription_t::non_cnt

up to 15 non-confirmable notifies allowed

Definition at line 60 of file subscribe.h.

◆ query

coap_string_t* coap_subscription_t::query

query string used for subscription, if any

Definition at line 69 of file subscribe.h.

◆ session

coap_session_t* coap_subscription_t::session

subscriber session

Definition at line 58 of file subscribe.h.

◆ token

unsigned char coap_subscription_t::token[8]

token used for subscription

Definition at line 68 of file subscribe.h.

◆ token_length

size_t coap_subscription_t::token_length

actual length of token

Definition at line 67 of file subscribe.h.


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