Design | Architecture of the MQTT library |
Configurations | Configurations of the MQTT Library |
▼Functions | Primary functions of the MQTT library: MQTT_Init MQTT_Connect MQTT_Subscribe MQTT_Publish MQTT_Ping MQTT_Unsubscribe MQTT_Disconnect MQTT_ProcessLoop MQTT_ReceiveLoop MQTT_GetPacketId MQTT_GetSubAckStatusCodes MQTT_Status_strerror MQTT_PublishToResend |
MQTT_Init | Initialize an MQTT context. |
MQTT_Connect | Establish an MQTT session. |
MQTT_Subscribe | Sends MQTT SUBSCRIBE for the given list of topic filters to the broker. |
MQTT_Publish | Publishes a message to the given topic name. |
MQTT_Ping | Sends an MQTT PINGREQ to broker. |
MQTT_Unsubscribe | Sends MQTT UNSUBSCRIBE for the given list of topic filters to the broker. |
MQTT_Disconnect | Disconnect an MQTT session. |
MQTT_ProcessLoop | Loop to receive packets from the transport interface. Handles keep alive. |
MQTT_ReceiveLoop | Loop to receive packets from the transport interface. Does not handle keep alive. |
MQTT_GetPacketId | Get a packet ID that is valid according to the MQTT 3.1.1 spec. |
MQTT_GetSubAckStatusCodes | Parses the payload of an MQTT SUBACK packet that contains status codes corresponding to topic filter subscription requests from the original subscribe packet. |
MQTT_Status_strerror | Error code to string conversion for MQTT statuses. |
MQTT_PublishToResend | Get the packet ID of next pending publish to be resent. |
MQTT_GetConnectPacketSize | Get the size and Remaining Length of an MQTT CONNECT packet. |
MQTT_SerializeConnect | Serialize an MQTT CONNECT packet in the given fixed buffer pFixedBuffer . |
MQTT_GetSubscribePacketSize | Get packet size and Remaining Length of an MQTT SUBSCRIBE packet. |
MQTT_SerializeSubscribe | Serialize an MQTT SUBSCRIBE packet in the given buffer. |
MQTT_GetUnsubscribePacketSize | Get packet size and Remaining Length of an MQTT UNSUBSCRIBE packet. |
MQTT_SerializeUnsubscribe | Serialize an MQTT UNSUBSCRIBE packet in the given buffer. |
MQTT_GetPublishPacketSize | Get the packet size and remaining length of an MQTT PUBLISH packet. |
MQTT_SerializePublish | Serialize an MQTT PUBLISH packet in the given buffer. |
MQTT_SerializePublishHeader | Serialize an MQTT PUBLISH packet header in the given buffer. |
MQTT_SerializeAck | Serialize an MQTT PUBACK, PUBREC, PUBREL, or PUBCOMP into the given buffer. |
MQTT_GetDisconnectPacketSize | Get the size of an MQTT DISCONNECT packet. |
MQTT_SerializeDisconnect | Serialize an MQTT DISCONNECT packet into the given buffer. |
MQTT_GetPingreqPacketSize | Get the size of an MQTT PINGREQ packet. |
MQTT_SerializePingreq | Serialize an MQTT PINGREQ packet into the given buffer. |
MQTT_DeserializePublish | Deserialize an MQTT PUBLISH packet. |
MQTT_DeserializeAck | Deserialize an MQTT CONNACK, SUBACK, UNSUBACK, PUBACK, PUBREC, PUBREL, PUBCOMP, or PINGRESP. |
MQTT_GetIncomingPacketTypeAndLength | Extract the MQTT packet type and length from incoming packet. |
Porting Guide | Guide for porting MQTT to a new platform |
Timeouts in coreMQTT library | Information about timeouts that coreMQTT library relies on |
Transport Interface | The transport interface definition |