asymcute_con Struct Reference

Asymcute connection context. More...

Detailed Description

Asymcute connection context.

Definition at line 253 of file asymcute.h.

#include <asymcute.h>

Data Fields

mutex_t lock
 synchronization lock
 
sock_udp_t sock
 socket used by a connections
 
sock_udp_ep_t server_ep
 the gateway's UDP endpoint
 
asymcute_req_tpending
 list holding pending requests
 
asymcute_sub_tsubscriptions
 list holding active subscriptions
 
asymcute_evt_cb_t user_cb
 event callback provided by user
 
event_callback_t keepalive_evt
 keep alive event
 
event_timeout_t keepalive_timer
 keep alive timer
 
uint16_t last_id
 last used message ID for this connection
 
uint8_t keepalive_retry_cnt
 keep alive transmission counter
 
uint8_t state
 connection state
 
uint8_t rxbuf [ASYMCUTE_BUFSIZE]
 connection specific receive buf
 
char cli_id [MQTTSN_CLI_ID_MAXLEN+1]
 buffer to store client ID
 

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