Calling meshtastic --set-time 1769686798 causes reboot

Đang mở
#896 0 bình luận 0 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
30/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
cli, embedded-iot

Hướng nghiên cứu

The bug is in the --set-time option of the Python CLI, which the issue suspects triggers a reboot on the device over serial. Start by reproducing with a USB-connected node and tracing what the CLI sends after the time is set, including any reboot call. Done means the cause is identified and either fixed or documented with the exact serial exchange, and the node keeps its time after the command.

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

Mô tả

Calling meshtastic --set-time 1769686798 causes my Heltec Lora32 v4 to reboot, which then loses the time, defeating the purpose of setting the time.

My use case is a node that is connected by USB cable for serial connectivity.

It works to call the --set-time switch, then quickly disconnect the USB cable. The time gets set, but being disconnected then prevents the python CLI from calling a reboot function (I assume this is what's happening). This establishes fair certainty that the bug is in the Python CLI and not the firmware itself.

It would be useful to know what the exact comms between the python CLI and the meshtastic firmware is. Is there a way to use PuTTY or some other client to communicate with a serial-connected node?

Thanks in advance.

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.