ConOpSys V2970  P004.07
ANVILEX control operating system
Public Attributes | List of all members
mqtt_client_s Struct Reference

#include <mqtt_priv.h>

Collaboration diagram for mqtt_client_s:
Collaboration graph

Public Attributes

u16_t cyclic_tick
 
u16_t keep_alive
 
u16_t server_watchdog
 
u16_t pkt_id_seq
 
u16_t inpub_pkt_id
 
u8_t conn_state
 
struct altcp_pcbconn
 
void * connect_arg
 
mqtt_connection_cb_t connect_cb
 
struct mqtt_request_tpend_req_queue
 
struct mqtt_request_t req_list [MQTT_REQ_MAX_IN_FLIGHT]
 
void * inpub_arg
 
mqtt_incoming_data_cb_t data_cb
 
mqtt_incoming_publish_cb_t pub_cb
 
u32_t msg_idx
 
u8_t rx_buffer [MQTT_VAR_HEADER_BUFFER_LEN]
 
struct mqtt_ringbuf_t output
 

Detailed Description

MQTT client

Member Data Documentation

◆ conn

struct altcp_pcb* mqtt_client_s::conn

◆ conn_state

u8_t mqtt_client_s::conn_state

Connection state

◆ connect_arg

void* mqtt_client_s::connect_arg

Connection callback

◆ connect_cb

mqtt_connection_cb_t mqtt_client_s::connect_cb

◆ cyclic_tick

u16_t mqtt_client_s::cyclic_tick

Timers and timeouts

◆ data_cb

mqtt_incoming_data_cb_t mqtt_client_s::data_cb

Incoming data callback

◆ inpub_arg

void* mqtt_client_s::inpub_arg

◆ inpub_pkt_id

u16_t mqtt_client_s::inpub_pkt_id

Packet identifier of pending incoming publish

◆ keep_alive

u16_t mqtt_client_s::keep_alive

◆ msg_idx

u32_t mqtt_client_s::msg_idx

Input

◆ output

struct mqtt_ringbuf_t mqtt_client_s::output

Output ring-buffer

◆ pend_req_queue

struct mqtt_request_t* mqtt_client_s::pend_req_queue

Pending requests to server

◆ pkt_id_seq

u16_t mqtt_client_s::pkt_id_seq

Packet identifier generator

◆ pub_cb

mqtt_incoming_publish_cb_t mqtt_client_s::pub_cb

◆ req_list

struct mqtt_request_t mqtt_client_s::req_list[MQTT_REQ_MAX_IN_FLIGHT]

◆ rx_buffer

u8_t mqtt_client_s::rx_buffer[MQTT_VAR_HEADER_BUFFER_LEN]

◆ server_watchdog

u16_t mqtt_client_s::server_watchdog

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