coreMQTT Agent v1.1.0
Thread safe MQTT 3.1.1 Client
MQTTAgentContext_t Struct Reference

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
 

Detailed Description

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.

Field Documentation

◆ mqttContext

MQTTContext_t MQTTAgentContext_t::mqttContext

MQTT connection information used by coreMQTT.

◆ agentInterface

MQTTAgentMessageInterface_t MQTTAgentContext_t::agentInterface

Struct of function pointers for agent messaging.

◆ pPendingAcks

MQTTAgentAckInfo_t MQTTAgentContext_t::pPendingAcks[MQTT_AGENT_MAX_OUTSTANDING_ACKS]

List of pending acknowledgment packets.

◆ pIncomingCallback

MQTTAgentIncomingPublishCallback_t MQTTAgentContext_t::pIncomingCallback

Callback to invoke for incoming publishes.

◆ pIncomingCallbackContext

void* MQTTAgentContext_t::pIncomingCallbackContext

Context for incoming publish callback.

◆ packetReceivedInLoop

bool MQTTAgentContext_t::packetReceivedInLoop

Whether a MQTT_ProcessLoop() call received a packet.


The documentation for this struct was generated from the following file: