CLI with "-ble" option and device name should not need to do a full scan for every command

Đang mở
#777 1 bình luận 3 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
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
cli, networking

Hướng nghiên cứu

The --ble option is parsed in the CLI entry point, and the connection path that always runs a full BLE scan is in the BLE interface code. Read how a device name is resolved to an address there, then decide whether a cached identifier can skip the scan. The issue asks a question rather than specifying a change, so the design needs a maintainer decision first. Done means a named device connects without a full scan, with a test or manual check against a device.

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

Mô tả

If I'm providing the device name after "--ble" why does every CLI invocation force another full ten-second BLE scan?

Is there some way to return some identifier from the initial scan that is usable as-is without forcing a full scan for every subsequent CLI command?

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.