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

#include <async.h>

Data Fields

unsigned char flags
 holds the flags to control behaviour More...
 
coap_tick_t created
 Holds the internal time when the object was registered with a resource. More...
 
void * appdata
 This field can be used to register opaque application data with the asynchronous state object. More...
 
unsigned short message_id
 id of last message seen More...
 
coap_tid_t id
 transaction id More...
 
struct coap_async_state_tnext
 internally used for linking More...
 
coap_address_t peer
 the peer to notify More...
 
size_t tokenlen
 length of the token More...
 
unsigned char token []
 the token to use in a response More...
 

Detailed Description

Definition at line 32 of file async.h.

Field Documentation

void* coap_async_state_t::appdata

This field can be used to register opaque application data with the asynchronous state object.

Definition at line 45 of file async.h.

coap_tick_t coap_async_state_t::created

Holds the internal time when the object was registered with a resource.

This field will be updated whenever coap_register_async() is called for a specific resource.

Definition at line 40 of file async.h.

unsigned char coap_async_state_t::flags

holds the flags to control behaviour

Definition at line 33 of file async.h.

coap_tid_t coap_async_state_t::id

transaction id

Definition at line 48 of file async.h.

unsigned short coap_async_state_t::message_id

id of last message seen

Definition at line 47 of file async.h.

struct coap_async_state_t* coap_async_state_t::next

internally used for linking

Definition at line 50 of file async.h.

coap_address_t coap_async_state_t::peer

the peer to notify

Definition at line 52 of file async.h.

unsigned char coap_async_state_t::token[]

the token to use in a response

Definition at line 54 of file async.h.

size_t coap_async_state_t::tokenlen

length of the token

Definition at line 53 of file async.h.


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