Information used by each MQTT agent. A context will be initialized by MQTTAgent_Init(), and every API function will accept a pointer to the initalized struct. More...
#include <core_mqtt_agent.h>
Data Fields | |
| MQTTContext_t | mqttContext |
| MQTTAgentMessageInterface_t | agentInterface |
| MQTTAgentAckInfo_t | pPendingAcks [MQTT_AGENT_MAX_OUTSTANDING_ACKS] |
| MQTTAgentIncomingPublishCallback_t | pIncomingCallback |
| void * | pIncomingCallbackContext |
| bool | packetReceivedInLoop |
| MQTTPubAckInfo_t | pIncomingPublishRecords [MQTT_AGENT_MAX_OUTSTANDING_ACKS] |
| MQTTPubAckInfo_t | pOutgoingPublishRecords [MQTT_AGENT_MAX_OUTSTANDING_ACKS] |
Information used by each MQTT agent. A context will be initialized by MQTTAgent_Init(), and every API function will accept a pointer to the initalized struct.
| MQTTContext_t MQTTAgentContext_t::mqttContext |
MQTT connection information used by coreMQTT.
| MQTTAgentMessageInterface_t MQTTAgentContext_t::agentInterface |
Struct of function pointers for agent messaging.
| MQTTAgentAckInfo_t MQTTAgentContext_t::pPendingAcks[MQTT_AGENT_MAX_OUTSTANDING_ACKS] |
List of pending acknowledgment packets.
| MQTTAgentIncomingPublishCallback_t MQTTAgentContext_t::pIncomingCallback |
Callback to invoke for incoming publishes.
| void* MQTTAgentContext_t::pIncomingCallbackContext |
Context for incoming publish callback.
| bool MQTTAgentContext_t::packetReceivedInLoop |
Whether a MQTT_ProcessLoop() call received a packet.
| MQTTPubAckInfo_t MQTTAgentContext_t::pIncomingPublishRecords[MQTT_AGENT_MAX_OUTSTANDING_ACKS] |
Array used to maintain the incoming publish records and their state by the coreMQTT library.
| MQTTPubAckInfo_t MQTTAgentContext_t::pOutgoingPublishRecords[MQTT_AGENT_MAX_OUTSTANDING_ACKS] |
Array used to maintain the outgoing publish records and their state by the coreMQTT library.