Microchip® Advanced Software Framework

MQTTClient Struct Reference

#include <MQTTClient.h>

Data Structures

struct  MessageHandlers
 

Data Fields

unsigned char * buf
 
size_t buf_size
 
unsigned int command_timeout_ms
 
void(* defaultMessageHandler )(MessageData *)
 
Networkipstack
 
int isconnected
 
unsigned int keepAliveInterval
 
struct MQTTClient::MessageHandlers messageHandlers [MAX_MESSAGE_HANDLERS]
 
unsigned int next_packetid
 
char ping_outstanding
 
Timer ping_timer
 
unsigned char * readbuf
 
size_t readbuf_size
 

unsigned int MQTTClient::command_timeout_ms
void(* MQTTClient::defaultMessageHandler)(MessageData *)

Referenced by deliverMessage(), and MQTTClientInit().

Network* MQTTClient::ipstack
unsigned int MQTTClient::keepAliveInterval

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

struct MQTTClient::MessageHandlers MQTTClient::messageHandlers[MAX_MESSAGE_HANDLERS]
unsigned int MQTTClient::next_packetid

Referenced by getNextPacketId(), and MQTTClientInit().

char MQTTClient::ping_outstanding

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

Timer MQTTClient::ping_timer
unsigned char * MQTTClient::readbuf
size_t MQTTClient::readbuf_size