mirror of
https://github.com/anklimov/lighthub
synced 2025-12-06 03:39:49 +03:00
Fixed interferention with homie $ contained topics
This commit is contained in:
@@ -1 +1 @@
|
||||
../tools/mac/arduinoOTA -address 192.168.88.21 -port 65280 -username arduino -password password -sketch firmware.bin -b -upload /sketch
|
||||
../tools/mac/arduinoOTA -address 192.168.88.21 -port 80 -username arduino -password password -sketch firmware.bin -b -upload /sketch
|
||||
|
||||
1
compiled/mega2560slim-5100/uploadOTA.sh
Executable file
1
compiled/mega2560slim-5100/uploadOTA.sh
Executable file
@@ -0,0 +1 @@
|
||||
../tools/mac/tool-avrdude/avrdude -C ../tools/mac/tool-avrdude/avrdude.conf -P net:192.168.88.2:23000 -v -V -patmega2560 -cwiring -b115200 -D -Uflash:w:firmware.hex:i
|
||||
@@ -429,7 +429,8 @@ else
|
||||
cmd_parse((char *)payload);
|
||||
return;// -4;
|
||||
}
|
||||
if (itemName[0]=='$') return;// -6; //Skipping homie stuff
|
||||
//if (itemName[0]=='$') return;// -6; //Skipping homie stuff
|
||||
if (strrchr(topic,'$')) return;
|
||||
|
||||
Item item(itemName);
|
||||
if (item.isValid() && (item.Ctrl((char *)payload)>0) && savedTopic[0] && lanStatus != RETAINING_COLLECTING)
|
||||
|
||||
Reference in New Issue
Block a user