Open the pairing window from a validated phone

未关闭
#85 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
15/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
rust

调研方向

Start with #54 and #74 to learn how bonds and validated phones work today, then find where pairing_window_seconds and the existing pairing-window logic live in the firmware. The new system command also needs a message in the contracts crate. Do not start until the device-management design is settled and the app has a UI for it. Done means a validated phone can open the pairing window and add a phone without touching the board.

由索引模型根据 Issue 内容生成。

描述

enhancement

Part of #9. Follow-up to #54 and #74.

Problem
A buttonless board only opens its pairing window at first setup or after a #54 bond reset. Adding a second phone, or replacing one, means resetting every bond.

Proposal

  • A system command, accepted only from a phone validated for the identified car (#74), opens the pairing window for pairing_window_seconds. A merely bonded phone can't, so it can't let in more phones.
  • Phone management (RemovePairedPhone, ClearPairedPhones) follows the #74 rules instead of needing an open window.
  • Needs a message in contracts and a screen in the app; wait until the app has a proper device-management UI.

Done when
The owner can add a phone from a validated phone, without touching the device.

主要语言
Rust
星标
1
派生
0
平均合并
13 小时 27 分钟
30 天内合并 PR
31

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

OpenCarControls/firmware 的其他 Issue

查看 OpenCarControls/firmware 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。