Buttonless boards have no way to reopen the pairing window once a phone is bonded
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ó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust
- Lĩnh vực
- embedded-iot, security
Hướng nghiên cứu
Read docs/ble.md and the changes discussed in #9, #18, and #46 to understand the current pairing-window behavior. The issue proposes several possible recovery paths, including a new system command, a physical action, authenticated pairing, or app guidance, but does not choose one. Done means a buttonless board can add, replace, or remove phones without erasing flash while preventing strangers from opening the pairing window.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Part of #9. Follow-up to #18 / #46.
Problem
- Since #46, a board without a pairing button (e.g. the WiCAN) opens the pairing window at boot only while no phone is bonded. Once a phone is bonded, nothing can open it again.
RemovePairedPhone/ClearPairedPhonesalso need an open window, so a buttonless board can't manage its phones at all after first setup.- If the owner's phone loses its bond (forgotten in Android's Bluetooth settings, app reinstalled, new phone), it's locked out. With the window closed the device advertises without its name or service UUID, so the app doesn't even find it. Tested on a WiCAN with #46: the phone reconnects as a known identity but never re-encrypts, and no bond is stored.
- The only recovery today is erasing the flash over USB.
Ideas
- A deliberate action that opens the window:
- a system command from a bonded phone (needs a new message in contracts);
- a physical action, such as unplugging and replugging the device a set number of times within a short time.
- Use authenticated pairing (passkey or numeric comparison) where the hardware allows it, e.g. a code shown in the app and confirmed with a pattern on the device's LED. This was an idea in #18 and goes away when it closes.
- In the app, when a previously paired device isn't found, explain the recovery instead of scanning forever (mobile-app side, like OpenCarControls/mobile-app#42 for the reverse case).
- Update
docs/ble.md, which currently says "such a board is reset by erasing its flash".
Done when
The owner of a buttonless board can add, replace or remove a phone without erasing the flash, and a stranger near the car still can't open the window.
- Ngôn ngữ chính
- Rust
- Star
- 1
- Fork
- 0
- Merge trung bình
- 10 giờ 56 phút
- Pull request đã merge (30 ngày)
- 15
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của OpenCarControls/firmware
-
Clean up E-GMP leftoversCó thể đã có người làm @Tichael đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
OpenCarControls/firmware#34 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
BLE: send the current state when the app subscribesCó thể đã có người làm @Tichael đã nhận hôm nay. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
OpenCarControls/firmware#58 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
OpenCarControls/firmware#55 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
First-setup pairing window is too short and stays open after the first bondCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởenhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
OpenCarControls/firmware#53 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
OpenCarControls/firmware#51 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của OpenCarControls/firmware
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
feat: New firmware supportĐang mởfeature
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
dsx-ai-factory/infra-controller#8145 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug: workspace access hint suggests a --subject command that fails for hyphen-leading OIDC subjectsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
`last_error_thread_local_then_global` fails when it runs beside the `lumen_event_detail` testĐang mởA-FFI C-Testing D-Straightforward S-Ready
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày