Prusa MINI Firmware overview
|
#include <mqtt.h>
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 tcp_pcb * | conn |
void * | connect_arg |
mqtt_connection_cb_t | connect_cb |
struct mqtt_request_t * | pend_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 |
MQTT client
u16_t mqtt_client_t::cyclic_tick |
Timers and timeouts
u16_t mqtt_client_t::keep_alive |
u16_t mqtt_client_t::server_watchdog |
u16_t mqtt_client_t::pkt_id_seq |
Packet identifier generator
u16_t mqtt_client_t::inpub_pkt_id |
Packet identifier of pending incoming publish
u8_t mqtt_client_t::conn_state |
Connection state
struct tcp_pcb* mqtt_client_t::conn |
void* mqtt_client_t::connect_arg |
Connection callback
mqtt_connection_cb_t mqtt_client_t::connect_cb |
struct mqtt_request_t* mqtt_client_t::pend_req_queue |
Pending requests to server
struct mqtt_request_t mqtt_client_t::req_list[MQTT_REQ_MAX_IN_FLIGHT] |
void* mqtt_client_t::inpub_arg |
mqtt_incoming_data_cb_t mqtt_client_t::data_cb |
Incoming data callback
mqtt_incoming_publish_cb_t mqtt_client_t::pub_cb |
u32_t mqtt_client_t::msg_idx |
Input
u8_t mqtt_client_t::rx_buffer[MQTT_VAR_HEADER_BUFFER_LEN] |
struct mqtt_ringbuf_t mqtt_client_t::output |
Output ring-buffer