default to MQTT_PROTOCOL_LEVEL 4
This commit is contained in:
parent
798e37b4de
commit
a0520d3265
@ -29,7 +29,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Uncomment/comment to turn on/off debug output messages.
|
// Uncomment/comment to turn on/off debug output messages.
|
||||||
//#define MQTT_DEBUG
|
#define MQTT_DEBUG
|
||||||
|
|
||||||
// Set where debug messages will be printed.
|
// Set where debug messages will be printed.
|
||||||
#define DEBUG_PRINTER Serial
|
#define DEBUG_PRINTER Serial
|
||||||
@ -45,7 +45,9 @@
|
|||||||
#define DEBUG_PRINTBUFFER(buffer, len) {}
|
#define DEBUG_PRINTBUFFER(buffer, len) {}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define MQTT_PROTOCOL_LEVEL 3
|
#ifndef MQTT_PROTOCOL_LEVEL
|
||||||
|
#define MQTT_PROTOCOL_LEVEL 4
|
||||||
|
#endif
|
||||||
|
|
||||||
#define MQTT_CTRL_CONNECT 0x01
|
#define MQTT_CTRL_CONNECT 0x01
|
||||||
#define MQTT_CTRL_CONNECTACK 0x02
|
#define MQTT_CTRL_CONNECTACK 0x02
|
||||||
|
Loading…
Reference in New Issue
Block a user