mirror of
https://github.com/anklimov/lighthub
synced 2025-12-07 04:09:49 +03:00
few OTA changes
This commit is contained in:
Binary file not shown.
@@ -1 +1 @@
|
|||||||
../tools/mac/arduinoOTA -address 192.168.8.56 -port 65280 -username arduino -password password -sketch firmware.bin -b -upload /sketch
|
../tools/mac/arduinoOTA -address 192.168.88.21 -port 65280 -username arduino -password password -sketch firmware.bin -b -upload /sketch
|
||||||
|
|||||||
Binary file not shown.
BIN
compiled/lighthub21/hello.bin
Executable file
BIN
compiled/lighthub21/hello.bin
Executable file
Binary file not shown.
1
compiled/lighthub21/update_bin.sh
Executable file
1
compiled/lighthub21/update_bin.sh
Executable file
@@ -0,0 +1 @@
|
|||||||
|
cp ../../.pio/build/lighthub21/firmware.bin .
|
||||||
1
compiled/lighthub21/uploadHello.sh
Executable file
1
compiled/lighthub21/uploadHello.sh
Executable file
@@ -0,0 +1 @@
|
|||||||
|
../tools/mac/arduinoOTA -address 192.168.88.59 -port 65280 -username arduino -password password -sketch hello.bin -b -upload /sketch
|
||||||
@@ -449,7 +449,7 @@ if (WiFi.status() != WL_CONNECTED)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case DHCP_CHECK_RENEW_OK:
|
case DHCP_CHECK_RENEW_OK:
|
||||||
errorSerial<<F("Renewed success. IP address:");
|
infoSerial<<F("Renewed success. IP address:");
|
||||||
printIPAddress(Ethernet.localIP());
|
printIPAddress(Ethernet.localIP());
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@@ -461,7 +461,7 @@ if (WiFi.status() != WL_CONNECTED)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case DHCP_CHECK_REBIND_OK:
|
case DHCP_CHECK_REBIND_OK:
|
||||||
errorSerial<<F("Rebind success. IP address:");
|
infoSerial<<F("Rebind success. IP address:");
|
||||||
printIPAddress(Ethernet.localIP());
|
printIPAddress(Ethernet.localIP());
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@@ -630,7 +630,7 @@ void ip_ready_config_loaded_connecting_to_broker() {
|
|||||||
udpSyslog.deviceHostname(syslogDeviceHostname);
|
udpSyslog.deviceHostname(syslogDeviceHostname);
|
||||||
if (deviceName) udpSyslog.appName(deviceName);
|
if (deviceName) udpSyslog.appName(deviceName);
|
||||||
udpSyslog.defaultPriority(LOG_KERN);
|
udpSyslog.defaultPriority(LOG_KERN);
|
||||||
udpSyslog.log(LOG_INFO, F("UDP Syslog initialized!"));
|
//udpSyslog.log(LOG_INFO, F("UDP Syslog initialized!"));
|
||||||
infoSerial<<F("UDP Syslog initialized!\n");
|
infoSerial<<F("UDP Syslog initialized!\n");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@@ -1680,6 +1680,12 @@ void printFirmwareVersionAndBuildOptions() {
|
|||||||
infoSerial<<F("\n(-)OTA");
|
infoSerial<<F("\n(-)OTA");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef ARTNET_ENABLE
|
||||||
|
infoSerial<<F("\n(+)ARTNET");
|
||||||
|
#else
|
||||||
|
infoSerial<<F("\n(-)ARTNET");
|
||||||
|
#endif
|
||||||
|
|
||||||
infoSerial<<endl;
|
infoSerial<<endl;
|
||||||
|
|
||||||
// WDT_Disable( WDT ) ;
|
// WDT_Disable( WDT ) ;
|
||||||
|
|||||||
Reference in New Issue
Block a user