|
AWS IoT Device SDK C:
MQTT
MQTT 3.1.1 client library
|
| Return to main page ↑ |
| Design | Architecture behind the MQTT library |
| ▼Demo | The MQTT demo demonstrates usage of the MQTT library |
| Demo Configuration | Configuration settings of the MQTT demo |
| ▼Tests | Tests written for the MQTT library |
| Test Configuration | Configuration settings of the MQTT tests |
| Configuration | Configuration settings of the MQTT library |
| ▼Functions | Functions of the MQTT library |
| 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 optionally 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 optionally 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 optionally 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. |
| IotMqtt_GetConnectPacketSize | Calculate the size and "Remaining length" of a CONNECT packet generated from the given parameters. |
| IotMqtt_SerializeConnect | Generate a CONNECT packet from the given parameters. |
| IotMqtt_GetSubscriptionPacketSize | Calculate the size and "Remaining length" of a SUBSCRIBE or UNSUBSCRIBE packet generated from the given parameters. |
| IotMqtt_SerializeSubscribe | Generate a SUBSCRIBE packet from the given parameters. |
| IotMqtt_SerializeUnsubscribe | Generate a UNSUBSCRIBE packet from the given parameters. |
| IotMqtt_GetPublishPacketSize | Calculate the size and "Remaining length" of a PUBLISH packet generated from the given parameters. |
| IotMqtt_SerializePublish | Generate a PUBLISH packet from the given parameters. |
| IotMqtt_SerializeDisconnect | Generate a DISCONNECT packet. |
| IotMqtt_SerializePingreq | Generate a PINGREQ packet. |
| IotMqtt_GetIncomingMQTTPacketTypeAndLength | Extract MQTT packet type and length from incoming packet. |
| IotMqtt_DeserializeResponse | Deserialize incoming ack packets. |
| IotMqtt_DeserializePublish | Deserialize incoming publish packet. |
| Constants | Defined constants of the MQTT library |