Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
|
MQTT transport specific data. More...
#include <mqtt.h>
Data Fields | ||
enum mqtt_transport_type | type | |
Transport type selection for client instance. | ||
union { | ||
struct { | ||
int sock | ||
Socket descriptor. More... | ||
} tcp | ||
TCP socket transport for MQTT. More... | ||
}; | ||
Use either unsecured TCP or secured TLS transport. | ||
MQTT transport specific data.
union { ... } mqtt_transport |
Use either unsecured TCP or secured TLS transport.
int mqtt_transport::sock |
Socket descriptor.
struct { ... } mqtt_transport::tcp |
TCP socket transport for MQTT.
enum mqtt_transport_type mqtt_transport::type |
Transport type selection for client instance.
mqtt_transport_type for possible values. MQTT_TRANSPORT_MAX is not a valid type.