Asymcute connection context. More...
Asymcute connection context.
Definition at line 269 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 | |