Microchip® Advanced Software Framework

mqtt_connection Struct Reference

#include <mqtt.h>

Data Fields

struct processapp_process
 
uint8_t auto_reconnect
 
struct mqtt_string client_id
 
uint8_t connect_vhdr_flags
 
struct mqtt_credentials credentials
 
mqtt_event_callback_t event_callback
 
uint8_t in_buffer [MQTT_TCP_INPUT_BUFF_SIZE]
 
struct mqtt_in_packet in_packet
 
struct mqtt_message in_publish_msg
 
uint16_t keep_alive
 
struct ctimer keep_alive_timer
 
uint16_t mid_counter
 
struct mqtt_connectionnext
 
uint8_t out_buffer [MQTT_TCP_OUTPUT_BUFF_SIZE]
 
uint8_t * out_buffer_ptr
 
uint8_t out_buffer_sent
 
struct mqtt_out_packet out_packet
 
struct pt out_proto_thread
 
uint8_t out_queue_full
 
uint32_t out_write_pos
 
const char * server_host
 
uip_ipaddr_t server_ip
 
uint16_t server_port
 
struct tcp_socket socket
 
mqtt_conn_state_t state
 
uint8_t waiting_for_pingresp
 
struct mqtt_will will
 

struct process* mqtt_connection::app_process
uint8_t mqtt_connection::auto_reconnect

Referenced by PROCESS_THREAD().

struct mqtt_string mqtt_connection::client_id
uint8_t mqtt_connection::connect_vhdr_flags
struct mqtt_credentials mqtt_connection::credentials
mqtt_event_callback_t mqtt_connection::event_callback
uint8_t mqtt_connection::in_buffer[MQTT_TCP_INPUT_BUFF_SIZE]
struct mqtt_in_packet mqtt_connection::in_packet
struct mqtt_message mqtt_connection::in_publish_msg
uint16_t mqtt_connection::keep_alive
struct ctimer mqtt_connection::keep_alive_timer
uint16_t mqtt_connection::mid_counter
struct mqtt_connection* mqtt_connection::next
uint8_t mqtt_connection::out_buffer[MQTT_TCP_OUTPUT_BUFF_SIZE]
uint8_t* mqtt_connection::out_buffer_ptr
uint8_t mqtt_connection::out_buffer_sent
struct mqtt_out_packet mqtt_connection::out_packet
struct pt mqtt_connection::out_proto_thread
uint8_t mqtt_connection::out_queue_full
uint32_t mqtt_connection::out_write_pos
const char* mqtt_connection::server_host
uip_ipaddr_t mqtt_connection::server_ip
uint16_t mqtt_connection::server_port
struct tcp_socket mqtt_connection::socket
mqtt_conn_state_t mqtt_connection::state
uint8_t mqtt_connection::waiting_for_pingresp
struct mqtt_will mqtt_connection::will