Closed andy-danieal closed 4 months ago
Yeah, you can do that, you need to develop some kind of protocol to download firmware via UART (to some dedicated or OTA partition), and than send it over via espnow.
If the ESPNow gateway and Device firmware are different, will the ESPNow gateway act as the initiator and where to store OTA data?
Is there any example of downloading firmware via UART?
@andy-danieal
Yeath, ESP-NOW gateway can store data for OTA.
You can reference the link as follows which is the serial protocol used by the UART: https://docs.espressif.com/projects/esptool/en/latest/esp32/advanced-topics/serial-protocol.html
ESPNow gateway was connected via UART to the Ubuntu system and many devices (with different types of firmware) were connected to the gateway to communicate with ESPNow.
Notes:- ESPNow gateways have different firmware from other devices.