Loading...
Searching...
No Matches
asymcute_con Struct Reference

Asymcute connection context. More...

Detailed Description

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_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 [CONFIG_ASYMCUTE_BUFSIZE]
 connection specific receive buf
 
char cli_id [MQTTSN_CLI_ID_MAXLEN+1]
 buffer to store client ID
 

Field Documentation

◆ cli_id

char asymcute_con::cli_id[MQTTSN_CLI_ID_MAXLEN+1]

buffer to store client ID

Definition at line 283 of file asymcute.h.

◆ keepalive_evt

event_callback_t asymcute_con::keepalive_evt

keep alive event

Definition at line 276 of file asymcute.h.

◆ keepalive_retry_cnt

uint8_t asymcute_con::keepalive_retry_cnt

keep alive transmission counter

Definition at line 280 of file asymcute.h.

◆ keepalive_timer

event_timeout_t asymcute_con::keepalive_timer

keep alive timer

Definition at line 277 of file asymcute.h.

◆ last_id

uint16_t asymcute_con::last_id

last used message ID for this connection

Definition at line 278 of file asymcute.h.

◆ lock

mutex_t asymcute_con::lock

synchronization lock

Definition at line 271 of file asymcute.h.

◆ pending

asymcute_req_t* asymcute_con::pending

list holding pending requests

Definition at line 273 of file asymcute.h.

◆ rxbuf

uint8_t asymcute_con::rxbuf[CONFIG_ASYMCUTE_BUFSIZE]

connection specific receive buf

Definition at line 282 of file asymcute.h.

◆ sock

sock_udp_t asymcute_con::sock

socket used by a connections

Definition at line 272 of file asymcute.h.

◆ state

uint8_t asymcute_con::state

connection state

Definition at line 281 of file asymcute.h.

◆ subscriptions

asymcute_sub_t* asymcute_con::subscriptions

list holding active subscriptions

Definition at line 274 of file asymcute.h.

◆ user_cb

asymcute_evt_cb_t asymcute_con::user_cb

event callback provided by user

Definition at line 275 of file asymcute.h.


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