few OTA changes

This commit is contained in:
2020-06-14 17:11:17 +03:00
parent e87240d841
commit 76fb07a7b2
7 changed files with 12 additions and 4 deletions

Binary file not shown.

View File

@@ -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

Binary file not shown.

View File

@@ -0,0 +1 @@
cp ../../.pio/build/lighthub21/firmware.bin .

View File

@@ -0,0 +1 @@
../tools/mac/arduinoOTA -address 192.168.88.59 -port 65280 -username arduino -password password -sketch hello.bin -b -upload /sketch

View File

@@ -449,7 +449,7 @@ if (WiFi.status() != WL_CONNECTED)
break;
case DHCP_CHECK_RENEW_OK:
errorSerial<<F("Renewed success. IP address:");
infoSerial<<F("Renewed success. IP address:");
printIPAddress(Ethernet.localIP());
break;
@@ -461,7 +461,7 @@ if (WiFi.status() != WL_CONNECTED)
break;
case DHCP_CHECK_REBIND_OK:
errorSerial<<F("Rebind success. IP address:");
infoSerial<<F("Rebind success. IP address:");
printIPAddress(Ethernet.localIP());
break;
@@ -630,7 +630,7 @@ void ip_ready_config_loaded_connecting_to_broker() {
udpSyslog.deviceHostname(syslogDeviceHostname);
if (deviceName) udpSyslog.appName(deviceName);
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");
}
#endif
@@ -1680,6 +1680,12 @@ void printFirmwareVersionAndBuildOptions() {
infoSerial<<F("\n(-)OTA");
#endif
#ifdef ARTNET_ENABLE
infoSerial<<F("\n(+)ARTNET");
#else
infoSerial<<F("\n(-)ARTNET");
#endif
infoSerial<<endl;
// WDT_Disable( WDT ) ;