NetBurner 3.5.6
PDF Version
MQTT

NetBurner MQTT Library.
See the MQTT namespace for details.
#include <mqtt/mqtt.h> More...

Namespaces

namespace  MQTT
 MQTT Namespace.
 

Macros

#define MQTT_WAIT   (TICKS_PER_SECOND*10)
 
 
#define MQTT_TLS_NEGOTIATE_TIMEOUT   (TICKS_PER_SECOND*50)
 
 
#define MQTT_OBJ_PRIORITY_COUNT   (16)
 
 
#define MQTT_OBJ_PRIORITY_MAX   0
 
 
#define MQTT_OBJ_PRIORITY_MIN   15
 
 
#define MQTT_MAX_PKT_SIZE   (0x2FFFFFFF)
 
 
#define MQTT_MAX_MAX_SUPPORTED_IN_FLIGHT   (256)
 
 
#define MQTT_MAX_SUPPORTED_IN_FLIGHT   (16)
 
 
#define MQTT_MAX_HANDLERS_PER_CONNECTION   (256)
 
 
#define MQTT_MAX_SUPPORTED_RX_TOPIC_ALIASES   (128)
 
 
#define MQTT_DEFAULT_SESSION_EXPIRY_INTERVAL   (3600)
 
 
#define MQTT_DEFAULT_KEEP_ALIVE   (30)
 
 
#define MQTT_MAX_SUB_IDs   (128)
 
 

Detailed Description

NetBurner MQTT Library.
See the MQTT namespace for details.
#include <mqtt/mqtt.h>

To easily begin using MQTT, review the Simple MQTT example in the Examples folder. In general, all that's needed is:

As soon as an MQTT client exists in your code, an MQTT section will be added to your device's Configuration page allowing you to set a broker hostname, Client ID, and other connection or security details.