mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
iot manager 2.0 support
This commit is contained in:
3
mqtt.ino
3
mqtt.ino
@@ -222,11 +222,12 @@ void sendAllWigets() {
|
||||
|
||||
psn_2 = all_vigets.indexOf("\r\n", psn_1);
|
||||
line = all_vigets.substring(psn_1, psn_2);
|
||||
line.replace("\n", "");
|
||||
line.replace("\r\n", "");
|
||||
//jsonWrite(line, "id", String(counter));
|
||||
//jsonWrite(line, "pageId", String(counter));
|
||||
counter++;
|
||||
sendMQTT("config", line);
|
||||
sendMQTT("config",line);
|
||||
Serial.println("[V] " + line);
|
||||
psn_1 = psn_2 + 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user