[Feature Request] Implement ESP32 Unified OTA support

Aperta
#895 1 commento 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
28/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
python
Ambito
cli, embedded-iot

Direzione di ricerca

The request concerns the --reboot-ota flag and the espota.py helper, which still use the old message format; the new Unified OTA format adds a file hash. Start by comparing the current OTA message code with the protocol in the linked Meshtastic-Android PR #4095. Done would mean a CLI or API path that flashes a Unified OTA node over WiFi without the Android app, verified on a real ESP32 node.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Until now, I've been using in my ESP32 WiFi nodes a build of the former WifiOTA firmware for ESP32 + p espota.py`. But now that this was superseded by the Unified OTA, the web flasher even flashes the ota partition with the new firmware.

So the --reboot-ota no longer works as it expects a different message format, including the file hash, and the espota.py seems to no longer work as the protocol is different.

Would it be possible to include the functionality in the python library and CLI so we can flash without the Android app? I have several DIY nodes, and it's a pain having to send the firmware to my phone first.

Reference: https://github.com/meshtastic/Meshtastic-Android/pull/4095

Lingua principale
Python
Stelle
855
Fork
355
Merge medio
3g 3h
PR unite (30g)
12

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di meshtastic/python

Tutte le issue di meshtastic/python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.