Microchip® Advanced Software Framework

Client Struct Reference

#include <MQTTClient.h>

Data Structures

struct  MessageHandlers
 

Data Fields

unsigned char * buf
 
size_t bufSize
 
uint32_t commandTimeoutMs
 
uint32_t counterNetworkDisconnected
 
uint32_t currentReconnectWaitInterval
 
void(* defaultMessageHandler )(MessageData *)
 
disconnectHandler_t disconnectHandler
 
uint8_t isAutoReconnectEnabled
 
uint8_t isConnected
 
uint8_t isPingOutstanding
 
uint32_t keepAliveInterval
 
struct Client::MessageHandlers messageHandlers [MAX_MESSAGE_HANDLERS]
 
networkInitHandler_t networkInitHandler
 
Network networkStack
 
uint16_t nextPacketId
 
MQTTPacket_connectData options
 
Timer pingTimer
 
unsigned char * readbuf
 
size_t readBufSize
 
Timer reconnectDelayTimer
 
TLSConnectParams tlsConnectParams
 
uint8_t wasManuallyDisconnected
 

uint32_t Client::counterNetworkDisconnected
uint32_t Client::currentReconnectWaitInterval

Referenced by handleReconnect(), and MQTTYield().

void(* Client::defaultMessageHandler)(MessageData *)

Referenced by deliverMessage(), and MQTTClient().

disconnectHandler_t Client::disconnectHandler
uint8_t Client::isAutoReconnectEnabled
uint8_t Client::isPingOutstanding
uint32_t Client::keepAliveInterval

Referenced by cycle(), keepalive(), and MQTTConnect().

networkInitHandler_t Client::networkInitHandler

Referenced by MQTTClient(), and MQTTConnect().

uint16_t Client::nextPacketId

Referenced by getNextPacketId().

MQTTPacket_connectData Client::options

Referenced by MQTTClient(), and MQTTConnect().

Timer Client::pingTimer
Timer Client::reconnectDelayTimer
TLSConnectParams Client::tlsConnectParams

Referenced by MQTTClient(), and MQTTConnect().

uint8_t Client::wasManuallyDisconnected