libcoap  4.1.1
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
Resource observation

Data Structures

struct  coap_subscription_t
 Subscriber information. More...
 

Macros

#define COAP_OBS_MAX_NON   5
 Number of notifications that may be sent non-confirmable before a confirmable message is sent to detect if observers are alive. More...
 
#define COAP_OBS_MAX_FAIL   3
 Number of confirmable notifications that may fail (i.e. More...
 

Typedefs

typedef struct coap_subscription_t coap_subscription_t
 Subscriber information. More...
 

Functions

void coap_subscription_init (coap_subscription_t *)
 

Detailed Description

Macro Definition Documentation

#define COAP_OBS_MAX_FAIL   3

Number of confirmable notifications that may fail (i.e.

time out without being ACKed) before an observer is removed. The maximum value for COAP_OBS_MAX_FAIL is 3.

Definition at line 37 of file subscribe.h.

#define COAP_OBS_MAX_NON   5

Number of notifications that may be sent non-confirmable before a confirmable message is sent to detect if observers are alive.

The maximum allowed value here is 15.

Definition at line 28 of file subscribe.h.

Typedef Documentation

Subscriber information.

Function Documentation

void coap_subscription_init ( coap_subscription_t )

Definition at line 30 of file subscribe.c.