Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mqtt_transport Struct Reference

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.
 

Detailed Description

MQTT transport specific data.

Field Documentation

◆ [union]

union { ... } mqtt_transport

Use either unsecured TCP or secured TLS transport.

◆ sock

int mqtt_transport::sock

Socket descriptor.

◆ [struct]

struct { ... } mqtt_transport::tcp

TCP socket transport for MQTT.

◆ type

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.


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