The CoAP stack's global state is stored in a coap_context_t object.
More...
#include <net.h>
The CoAP stack's global state is stored in a coap_context_t object.
Definition at line 76 of file net.h.
◆ async_state
list of asynchronous transactions
Definition at line 83 of file net.h.
◆ endpoint
the endpoint used for listening
Definition at line 91 of file net.h.
◆ known_options
Definition at line 77 of file net.h.
◆ message_id
unsigned short coap_context_t::message_id |
◆ network_read
◆ network_send
◆ observe
unsigned int coap_context_t::observe |
The next value to be used for Observe.
This field is global for all resources and will be updated when notifications are created.
Definition at line 120 of file net.h.
◆ resources
hash table or list of known resources
Definition at line 78 of file net.h.
◆ response_handler
◆ sendqueue
Definition at line 90 of file net.h.
◆ sendqueue_basetime
The time stamp in the first element of the sendqeue is relative to sendqueue_basetime.
Definition at line 89 of file net.h.
◆ sockfd
int coap_context_t::sockfd |
send/receive socket
Definition at line 94 of file net.h.
The documentation for this struct was generated from the following file: