[Feature Request] Implement ESP32 Unified OTA support

未關閉
#895 1 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
28/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
冷清
技術堆疊
python
領域
cli, embedded-iot

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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

主要語言
Python
星號
855
分支
355
平均合併
3 天 3 小時
30 天內合併 PR
12

環境準備

  • 提供 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

meshtastic/python 的其他 Issue

查看 meshtastic/python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。