Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion libraries/standard/mqtt/include/types/iot_mqtt_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -1016,6 +1016,10 @@ typedef struct IotMqttNetworkInfo

union
{
/**
* @var IotMqttNetworkInfo_t::setup
* @brief Structure to hold credentials and server info.
*/
struct
{
/**
Expand All @@ -1038,6 +1042,11 @@ typedef struct IotMqttNetworkInfo
*/
IotNetworkCredentials_t pNetworkCredentialInfo;
} setup;
/**<
* @struct setup
* @var struct setup
* @brief Structure to hold credentials and server info.
*/

/**
* @brief An established transport-layer network connection.
Expand All @@ -1047,7 +1056,13 @@ typedef struct IotMqttNetworkInfo
* valid when #IotMqttNetworkInfo_t::createNetworkConnection is `false`.
*/
IotNetworkConnection_t pNetworkConnection;
} u /**< @brief Valid member depends of IotMqttNetworkInfo_t.createNetworkConnection. */;
} u;
/**<
* @union IotMqttNetworkInfo_t::u
* @var union IotMqttNetworkInfo_t::u
* @brief Valid member depends of IotMqttNetworkInfo_t.createNetworkConnection.
*
*/

/**
* @brief The network functions used by the new MQTT connection.
Expand Down