MQTT API Reference
MQTT 3.1.1 client library
Functions
Functions of the MQTT library.
The MQTT library consists of the following functions.
IotMqtt_Init
One-time initialization function for the MQTT library.
IotMqtt_Cleanup
One-time deinitialization function for the MQTT library.
IotMqtt_ReceiveCallback
Network receive callback for the MQTT library.
IotMqtt_Connect
Establish a new MQTT connection.
IotMqtt_Disconnect
Closes an MQTT connection and frees resources.
IotMqtt_SubscribeAsync
Subscribes to the given array of topic filters and receive an asynchronous notification when the subscribe completes.
IotMqtt_SubscribeSync
Subscribes to the given array of topic filters with a timeout.
IotMqtt_UnsubscribeAsync
Unsubscribes from the given array of topic filters and receive an asynchronous notification when the unsubscribe completes.
IotMqtt_UnsubscribeSync
Unsubscribes from a given array of topic filters with a timeout.
IotMqtt_PublishAsync
Publishes a message to the given topic name and receive an asynchronous notification when the publish completes.
IotMqtt_PublishSync
Publish a message to the given topic name with a timeout.
IotMqtt_Wait
Waits for an operation to complete.
IotMqtt_strerror
Returns a string that describes an
IotMqttError_t
.
IotMqtt_OperationType
Returns a string that describes an
IotMqttOperationType_t
.
IotMqtt_IsSubscribed
Check if an MQTT connection has a subscription for a topic filter.
Generated by
1.8.16
Last updated Wed Oct 23 2019