Adding functions required for firmware upgrade from ESP32 via serial.
This requires a change in the esp32-edge firmware as the flash information was moved to a dedicated dfu node in ThingSet.
One reason for moving it to a new node is that I'd like to use the info node for information that might be published to a remote server in order to track firmware version, etc. However, the flash size and flash page size is only interesting for a device that upgrades the firmware locally. Also it should not be possible to trigger the bootloader remotely as the device would get stuck afterwards. So if we move this to a dedicated node, all functions or values behind info and exec can be exposed to normal users.
Adding functions required for firmware upgrade from ESP32 via serial.
This requires a change in the esp32-edge firmware as the flash information was moved to a dedicated
dfu
node in ThingSet.One reason for moving it to a new node is that I'd like to use the
info
node for information that might be published to a remote server in order to track firmware version, etc. However, the flash size and flash page size is only interesting for a device that upgrades the firmware locally. Also it should not be possible to trigger the bootloader remotely as the device would get stuck afterwards. So if we move this to a dedicated node, all functions or values behindinfo
andexec
can be exposed to normal users.Replaces PR #119