[Feature Request] Implement ESP32 Unified OTA support

Aberta
#895 1 comentário 1 reação 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
28/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Pouca atividade
Stack de tecnologia
python
Domínio
cli, embedded-iot

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
Python
Estrelas
855
Forks
355
Merge médio
3d 3h
PRs com merge (30d)
12

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de meshtastic/python

Todas as issues de meshtastic/python

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.