SharkSSL™ Embedded SSL/TLS Stack
|
SharkMQTT structure.
See SharkMQ library for details.
#include <SharkMQTT.h>
Data Fields | |
S32 | pingTmo |
Time interval in seconds for MQTT PING messages sent to the server. More... | |
U32 | packetLen |
MQTT packet length. | |
U32 | bytesRead |
Read packet data using SharkMQTT_getMessage until: packetLen-bytesRead == 0. More... | |
U32 | msgLen |
MQTT message length. | |
U32 | timeout |
Timeout in milliseconds to wait in functions waiting for server data. | |
U32 SharkMQTT::bytesRead |
Read packet data using SharkMQTT_getMessage until: packetLen-bytesRead == 0.
S32 SharkMQTT::pingTmo |
Time interval in seconds for MQTT PING messages sent to the server.
The default value is 20 minutes (1200 seconds). Note: the variable must be set before calling SharkMQTT_connect.