Add web toggle for Bluetooth discoverable window

The board stays hidden by default, so new phones could only pair via an
SSH session. Add 'radxa-audio discoverable on|off' backed by a transient
radxa-bt-pairing unit that auto-approves and trusts devices pairing in
the window, expires on its own, and expose it in the web mixer with a
countdown.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jsahn
2026-10-12 20:20:06 +09:00
co-authored by Claude Opus 5.5
parent 7ac8cd1dbb
commit 655fbc1d29
8 changed files with 150 additions and 9 deletions
+5 -2
View File
@@ -2,8 +2,11 @@
## Bluetooth 이름이 안 보임
새 휴대폰을 입력으로 등록하려면 `sudo radxa-audio pair-input`을 실행해 둡니다.
검색 창은 기본 120초이며, 종료되면 다시 숨겨집니다. 이미 신뢰 등록한 장비는
보드는 평소 검색 숨김 상태입니다. 새 휴대폰을 입력으로 등록하려면 웹 믹서의
**Bluetooth 입력 등록 → 검색 허용 켜기**를 누르거나
`sudo radxa-audio discoverable on --seconds 300`을 실행합니다.
정한 시간이 지나면 다시 숨겨집니다. 켜졌는데도 안 보이면
`bluetoothctl show`의 `Discoverable: yes`와 `journalctl -u radxa-bt-pairing`을 확인하세요. 이미 신뢰 등록한 장비는
검색 모드를 계속 켜 두지 않아도 다시 연결할 수 있습니다.
헤드폰을 출력으로 연결하려면 헤드폰 자체의 페어링 모드를 켠 뒤