clone firmware between ESP32 in a Mesh network OTA
Posted: Mon Sep 14, 2020 3:38 pm
I am not sure if this is the correct section to post this question, but I am working with ESP32 painlessmesh. I developed a mesh newtork between several devices. They do not have any internet access, but they send/receive short messages to the outside world when a phone is connected via ble (by means of an APP I developed) to one of the device. The simple information is the status of the device, on/off and so on.
My question is: let's assume I want to update the firmware of this device (they all run the same firmware). I can tell the app to check online for a new firmware and send it OTA for example via ble (I know it's not the best method, but it works... since I don't want the user of the app to connect to the wifi of the network and so on...) to the specific node to which is connected. Now, is there a way this updated node can "clone" itself and send via OTA the updated firmware to all the nodes connected to the mesh network? Is it possible for an ESP32 to send its own firmware to another ESP32?
Thank you =).
My question is: let's assume I want to update the firmware of this device (they all run the same firmware). I can tell the app to check online for a new firmware and send it OTA for example via ble (I know it's not the best method, but it works... since I don't want the user of the app to connect to the wifi of the network and so on...) to the specific node to which is connected. Now, is there a way this updated node can "clone" itself and send via OTA the updated firmware to all the nodes connected to the mesh network? Is it possible for an ESP32 to send its own firmware to another ESP32?
Thank you =).