37 #ifndef LWIP_HDR_APPS_MQTT_PRIV_H
38 #define LWIP_HDR_APPS_MQTT_PRIV_H
#define altcp_pcb
Definition: altcp.h:153
uint32_t u32_t
Definition: arch.h:129
uint8_t u8_t
Definition: arch.h:125
uint16_t u16_t
Definition: arch.h:127
#define MQTT_OUTPUT_RINGBUF_SIZE
Definition: mqtt_opts.h:56
#define MQTT_VAR_HEADER_BUFFER_LEN
Definition: mqtt_opts.h:64
#define MQTT_REQ_MAX_IN_FLIGHT
Definition: mqtt_opts.h:71
void(* mqtt_incoming_publish_cb_t)(void *arg, const char *topic, u32_t tot_len)
Definition: mqtt.h:161
void(* mqtt_connection_cb_t)(mqtt_client_t *client, void *arg, mqtt_connection_status_t status)
Definition: mqtt.h:126
void(* mqtt_request_cb_t)(void *arg, err_t err)
Definition: mqtt.h:173
void(* mqtt_incoming_data_cb_t)(void *arg, const u8_t *data, u16_t len, u8_t flags)
Definition: mqtt.h:149
Definition: mqtt_priv.h:71
struct mqtt_request_t * pend_req_queue
Definition: mqtt_priv.h:87
struct altcp_pcb * conn
Definition: mqtt_priv.h:82
mqtt_incoming_data_cb_t data_cb
Definition: mqtt_priv.h:91
u8_t rx_buffer[MQTT_VAR_HEADER_BUFFER_LEN]
Definition: mqtt_priv.h:95
u16_t keep_alive
Definition: mqtt_priv.h:74
u16_t cyclic_tick
Definition: mqtt_priv.h:73
struct mqtt_ringbuf_t output
Definition: mqtt_priv.h:97
u16_t inpub_pkt_id
Definition: mqtt_priv.h:79
mqtt_connection_cb_t connect_cb
Definition: mqtt_priv.h:85
mqtt_incoming_publish_cb_t pub_cb
Definition: mqtt_priv.h:92
u32_t msg_idx
Definition: mqtt_priv.h:94
u16_t pkt_id_seq
Definition: mqtt_priv.h:77
u16_t server_watchdog
Definition: mqtt_priv.h:75
void * inpub_arg
Definition: mqtt_priv.h:89
void * connect_arg
Definition: mqtt_priv.h:84
struct mqtt_request_t req_list[MQTT_REQ_MAX_IN_FLIGHT]
Definition: mqtt_priv.h:88
u8_t conn_state
Definition: mqtt_priv.h:81
Definition: mqtt_priv.h:49
mqtt_request_cb_t cb
Definition: mqtt_priv.h:54
u16_t timeout_diff
Definition: mqtt_priv.h:59
struct mqtt_request_t * next
Definition: mqtt_priv.h:52
void * arg
Definition: mqtt_priv.h:55
u16_t pkt_id
Definition: mqtt_priv.h:57
Definition: mqtt_priv.h:63
u8_t buf[MQTT_OUTPUT_RINGBUF_SIZE]
Definition: mqtt_priv.h:66
u16_t get
Definition: mqtt_priv.h:65
u16_t put
Definition: mqtt_priv.h:64