libcoap  4.1.1
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
Data Fields
coap_subscription_t Struct Reference

Subscriber information. More...

#include <subscribe.h>

Data Fields

struct coap_subscription_tnext
 next element in linked list More...
 
coap_address_t subscriber
 address and port of subscriber More...
 
unsigned int non:1
 send non-confirmable notifies if 1 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 partiallydirty flag is set too) More...
 
size_t token_length
 actual length of token More...
 
unsigned char token [8]
 token used for subscription More...
 

Detailed Description

Subscriber information.

Definition at line 41 of file subscribe.h.

Field Documentation

unsigned int coap_subscription_t::dirty

set if the notification temporarily could not be sent (in that case, the resource's partiallydirty flag is set too)

Definition at line 48 of file subscribe.h.

unsigned int coap_subscription_t::fail_cnt

up to 3 confirmable notifies can fail

Definition at line 47 of file subscribe.h.

struct coap_subscription_t* coap_subscription_t::next

next element in linked list

Definition at line 42 of file subscribe.h.

unsigned int coap_subscription_t::non

send non-confirmable notifies if 1

Definition at line 45 of file subscribe.h.

unsigned int coap_subscription_t::non_cnt

up to 15 non-confirmable notifies allowed

Definition at line 46 of file subscribe.h.

coap_address_t coap_subscription_t::subscriber

address and port of subscriber

Definition at line 43 of file subscribe.h.

unsigned char coap_subscription_t::token[8]

token used for subscription

Definition at line 51 of file subscribe.h.

size_t coap_subscription_t::token_length

actual length of token

Definition at line 50 of file subscribe.h.


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