libcoap  4.0.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator 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
coap_tick_t created
 Holds the internal time when the object was registered with a resource.
void * appdata
 This field can be used to register opaque application data with the asynchronous state object.
unsigned short message_id
 id of last message seen
coap_tid_t id
 transaction id
struct coap_async_state_tnext
 internally used for linking
coap_address_t peer
 the peer to notify
size_t tokenlen
 length of the token
unsigned char token []
 the token to use in a response

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: