Skip to content

Widen Nintendo BLE discovery + scan diagnostics + in-menu errors (v1.2.2) - #12

Merged
mlstr0m merged 1 commit into
mainfrom
fix/discovery-diagnostics
Jul 18, 2026
Merged

Widen Nintendo BLE discovery + scan diagnostics + in-menu errors (v1.2.2)#12
mlstr0m merged 1 commit into
mainfrom
fix/discovery-diagnostics

Conversation

@mlstr0m

@mlstr0m mlstr0m commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Summary

Follow-up on the Reddit field report: permissions are fine, the 30 s search runs clean, but the controller is never matched — and the user saw no error because rumps notifications are invisible in run-from-source.

  • Discovery: match manufacturer-data company ID 0x0553 (Nintendo's actual Bluetooth SIG ID, used by other Switch 2 community tools) in addition to 0x057E (Nintendo's USB VID). A controller advertising 0x0553 with no name was previously undetectable.
  • Diagnostics: every failed scan round logs the devices it did see (name, RSSI, manufacturer data hex) — the next "not found" report will tell us exactly what the controller advertises.
  • Visible errors: the last connection error now shows as a ⚠️ line in the dropdown while idle, so run-from-source users aren't flying blind.

Test plan

  • 56 bridge + 50 DSU checks green locally and on CI (new: discovery filter matrix incl. 0x0553-no-name, unrelated-device rejection)
  • Diagnostic log line format verified in a real scan
  • ⚠️ Whether 0x0553 is what the reporter's controller actually advertises will be confirmed by their next log — the scan dump answers it either way

🤖 Generated with Claude Code

…2.2)

Field report follow-up: scans run clean for 30 s but never see the
controller, and error notifications are invisible in run-from-source.

- Match both Nintendo company IDs in manufacturer data: 0x0553 (the
  actual Bluetooth SIG assigned ID, used by other Switch 2 community
  tools) and 0x057E (Nintendo's USB VID, matched previously). A
  controller advertising 0x0553 with no device name was undetectable.
- When a scan round finds nothing, log every device seen (name, rssi,
  manufacturer data hex, capped at 20) — turns "not found" reports into
  actionable data.
- Show the last connection error in the dropdown while idle (⚠️ line):
  rumps notifications don't show when running from source, so failures
  were completely silent in the UI.
- Tests: discovery filter matrix (0x0553 / 0x057E / name fallback /
  unrelated device) — 56 bridge checks

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@mlstr0m
mlstr0m merged commit 3712909 into main Jul 18, 2026
2 checks passed
@mlstr0m
mlstr0m deleted the fix/discovery-diagnostics branch July 18, 2026 09:10
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.

1 participant