We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66c3baa commit 2ca152cCopy full SHA for 2ca152c
mqtt-client2.ino
@@ -65,7 +65,8 @@ void setup() {
65
}
66
67
void loop() {
68
- char fakeData[100];
+ //If you need to increase buffer size, you need to change MQTT_MAX_PACKET_SIZE in PubSubClient.h
69
+ char fakeData[128];
70
//choose your own number of variables and data types, but avoid data buffer size overload
71
float var1 = random(55,77); //fake number range, adjust as you like
72
float var2 = random(77,99);
0 commit comments