Asymcute connection context. More...
Asymcute connection context.
Definition at line 270 of file asymcute.h.
#include <asymcute.h>
Data Fields | |
mutex_t | lock |
synchronization lock | |
sock_udp_t | sock |
socket used by a connections | |
asymcute_req_t * | pending |
list holding pending requests | |
asymcute_sub_t * | subscriptions |
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 [CONFIG_ASYMCUTE_BUFSIZE] |
connection specific receive buf | |
char | cli_id [MQTTSN_CLI_ID_MAXLEN+1] |
buffer to store client ID | |
char asymcute_con::cli_id[MQTTSN_CLI_ID_MAXLEN+1] |
buffer to store client ID
Definition at line 283 of file asymcute.h.
event_callback_t asymcute_con::keepalive_evt |
keep alive event
Definition at line 276 of file asymcute.h.
uint8_t asymcute_con::keepalive_retry_cnt |
keep alive transmission counter
Definition at line 280 of file asymcute.h.
event_timeout_t asymcute_con::keepalive_timer |
keep alive timer
Definition at line 277 of file asymcute.h.
uint16_t asymcute_con::last_id |
last used message ID for this connection
Definition at line 278 of file asymcute.h.
mutex_t asymcute_con::lock |
synchronization lock
Definition at line 271 of file asymcute.h.
asymcute_req_t* asymcute_con::pending |
list holding pending requests
Definition at line 273 of file asymcute.h.
uint8_t asymcute_con::rxbuf[CONFIG_ASYMCUTE_BUFSIZE] |
connection specific receive buf
Definition at line 282 of file asymcute.h.
sock_udp_t asymcute_con::sock |
socket used by a connections
Definition at line 272 of file asymcute.h.
uint8_t asymcute_con::state |
connection state
Definition at line 281 of file asymcute.h.
asymcute_sub_t* asymcute_con::subscriptions |
list holding active subscriptions
Definition at line 274 of file asymcute.h.
asymcute_evt_cb_t asymcute_con::user_cb |
event callback provided by user
Definition at line 275 of file asymcute.h.