[Feature Request] Implement ESP32 Unified OTA support

Đang mở
#895 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
28/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
cli, embedded-iot

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Python
Star
855
Fork
355
Merge trung bình
3 ngày 3 giờ
Pull request đã merge (30 ngày)
12

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của meshtastic/python

Tất cả issue của meshtastic/python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.