Skip to content

feat(cli): scan for nearby peripherals#14

Merged
0xnirapod merged 1 commit into
mainfrom
feat/cli-scan
Jun 29, 2026
Merged

feat(cli): scan for nearby peripherals#14
0xnirapod merged 1 commit into
mainfrom
feat/cli-scan

Conversation

@athexweb3

Copy link
Copy Markdown
Contributor

Add a scan verb to simblectl. scan [seconds] starts a central scan on the recorded helper, collects the streamed DISCOVERED events for the duration (default 5s), and prints the peripherals deduped by id and sorted by id, each with its last-seen RSSI and any advertised local name and service UUIDs. It reports {"error":"no running helper"} when no helper record exists. The scan runs behind an injectable seam so a fake scanner and an in-process listener exercise it without a real radio.

`simblectl scan [seconds]` starts a central scan on the recorded helper, streams the discovered
peripherals for the duration (default 5s), and prints them deduped by id and sorted, with each
peripheral's last-seen rssi and any advertised name and service UUIDs. Behind a seam for tests.
@athexweb3
athexweb3 requested a review from a team as a code owner June 29, 2026 07:16
@0xnirapod
0xnirapod merged commit 4243843 into main Jun 29, 2026
3 checks passed
@0xnirapod
0xnirapod deleted the feat/cli-scan branch June 29, 2026 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants