CLI power.on_battery_shutdown_after_secs

Đang mở
#768 1 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
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
cli, python
Lĩnh vực
cli

Hướng nghiên cứu

Start with the --set handling in the meshtastic CLI module, where the preference name is resolved against the protobuf fields and converted to camelCase. Reproduce by setting power.on_battery_shutdown_after_secs and comparing with --info output. Done when both snake_case and camelCase names set the value and --info shows the same key form, with docs updated.

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

Mô tả

CLI --set power.on_battery_shutdown_after_secs doesn't work

Connected to radio
Set power.on_battery_shutdown_after_secs to 6666
Writing modified preferences to device
Writing power configuration to device

Result: (--info)

 "power": {
    "onBatteryShutdownAfterSecs": 5555,

CLI --set power.onBatteryShutdownAfterSecs doesn't work either

When this issue is addressed, please make both the --set and --info use the same camelCase. Documentation needs to be updated as well.

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.