File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 34
34
#define ADAFRUIT_MQTT_VERSION_PATCH 0
35
35
36
36
// Uncomment/comment to turn on/off debug output messages.
37
- // #define MQTT_DEBUG
37
+ #define MQTT_DEBUG
38
38
// Uncomment/comment to turn on/off error output messages.
39
39
#define MQTT_ERROR
40
40
107
107
// Largest full packet we're able to send.
108
108
// Need to be able to store at least ~90 chars for a connect packet with full
109
109
// 23 char client ID.
110
- #define MAXBUFFERSIZE (150 )
110
+ #define MAXBUFFERSIZE (512 )
111
111
112
112
#define MQTT_CONN_USERNAMEFLAG 0x80
113
113
#define MQTT_CONN_PASSWORDFLAG 0x40
124
124
#define SUBSCRIPTIONDATALEN 20
125
125
#else
126
126
#define MAXSUBSCRIPTIONS 15
127
- #define SUBSCRIPTIONDATALEN 100
127
+ #define SUBSCRIPTIONDATALEN MAXBUFFERSIZE
128
128
#endif
129
129
130
130
class AdafruitIO_MQTT ; // forward decl
You can’t perform that action at this time.
0 commit comments