Zephyr API Documentation
3.6.99
A Scalable Open Source RTOS
|
MQTT-based shell transport. More...
#include <shell_mqtt.h>
Data Structures | |
struct | buffer |
Public Types | |
enum | sh_mqtt_transport_state { SHELL_MQTT_TRANSPORT_DISCONNECTED , SHELL_MQTT_TRANSPORT_CONNECTED } |
MQTT connection states. More... | |
enum | sh_mqtt_subscribe_state { SHELL_MQTT_NOT_SUBSCRIBED , SHELL_MQTT_SUBSCRIBED } |
MQTT subscription states. More... | |
enum | sh_mqtt_network_state { SHELL_MQTT_NETWORK_DISCONNECTED , SHELL_MQTT_NETWORK_CONNECTED } |
Network states. More... | |
MQTT-based shell transport.
struct sockaddr_storage shell_mqtt::broker |
MQTT Broker details.
struct shell_mqtt::buffer shell_mqtt::buf |
struct k_work_delayable shell_mqtt::connect_dwork |
char shell_mqtt::device_id[((3 *2)+1)] |
struct zsock_pollfd shell_mqtt::fds[1] |
struct zsock_addrinfo* shell_mqtt::haddr |
struct k_mutex shell_mqtt::lock |
struct net_mgmt_event_callback shell_mqtt::mgmt_cb |
struct mqtt_client shell_mqtt::mqtt_cli |
The mqtt client struct.
struct k_work shell_mqtt::net_disconnected_work |
enum shell_mqtt::sh_mqtt_network_state shell_mqtt::network_state |
int shell_mqtt::nfds |
struct k_work_delayable shell_mqtt::process_dwork |
struct mqtt_publish_param shell_mqtt::pub_data |
char shell_mqtt::pub_topic[((3 *2)+1)+3] |
struct k_work_delayable shell_mqtt::publish_dwork |
struct ring_buf shell_mqtt::rx_rb |
uint8_t shell_mqtt::rx_rb_buf[CONFIG_SHELL_MQTT_RX_BUF_SIZE] |
uint8_t* shell_mqtt::rx_rb_ptr |
void* shell_mqtt::shell_context |
Context registered by shell.
shell_transport_handler_t shell_mqtt::shell_handler |
Handler function registered by shell.
char shell_mqtt::sub_topic[((3 *2)+1)+3] |
struct k_work_delayable shell_mqtt::subscribe_dwork |
enum shell_mqtt::sh_mqtt_subscribe_state shell_mqtt::subscribe_state |
enum shell_mqtt::sh_mqtt_transport_state shell_mqtt::transport_state |
struct shell_mqtt_tx_buf shell_mqtt::tx_buf |
struct k_work_q shell_mqtt::workq |
work