A struct representing an MQTT connection. More...
#include <core_mqtt.h>
Data Fields | |
| MQTTPubAckInfo_t * | outgoingPublishRecords |
| State engine records for outgoing publishes. | |
| MQTTPubAckInfo_t * | incomingPublishRecords |
| State engine records for incoming publishes. | |
| size_t | outgoingPublishRecordMaxCount |
| The maximum number of outgoing publish records. | |
| size_t | incomingPublishRecordMaxCount |
| The maximum number of incoming publish records. | |
| TransportInterface_t | transportInterface |
| The transport interface used by the MQTT connection. | |
| MQTTFixedBuffer_t | networkBuffer |
| The buffer used in sending and receiving packets from the network. | |
| uint16_t | nextPacketId |
| The next available ID for outgoing MQTT packets. | |
| MQTTConnectionStatus_t | connectStatus |
| Whether the context currently has a connection to the broker. | |
| MQTTGetCurrentTimeFunc_t | getTime |
| Function used to get millisecond timestamps. | |
| MQTTEventCallback_t | appCallback |
| Callback function used to give deserialized MQTT packets to the application. | |
| uint32_t | lastPacketTxTime |
| Timestamp of the last packet sent by the library. | |
| uint32_t | lastPacketRxTime |
| Timestamp of the last packet received by the library. | |
| bool | controlPacketSent |
| Whether the library sent a packet during a call of MQTT_ProcessLoop or MQTT_ReceiveLoop. | |
| size_t | index |
| Index to keep track of the number of bytes received in network buffer. | |
| uint16_t | keepAliveIntervalSec |
| Keep Alive interval. | |
| uint32_t | pingReqSendTimeMs |
| Timestamp of the last sent PINGREQ. | |
| bool | waitingForPingResp |
| If the library is currently awaiting a PINGRESP. | |
A struct representing an MQTT connection.