Skip to content

setup: match a USB pod to its mDNS entry by public key; nudge outdated firmware - #25

Merged
wardviaene merged 1 commit into
mainfrom
discover-match-identity
Oct 9, 2026
Merged

wardviaene merged 1 commit into
mainfrom
discover-match-identity

Conversation

@wardviaene

@wardviaene wardviaene commented Oct 9, 2026 •

Copy link
Copy Markdown
Member
  • Dual-homed pod counted twice: a new (unregistered) pod on Ethernet + Wi-Fi was listed as two pods: USB reports the wired IP, mDNS answers on Wi-Fi, and the device-id match only works once registered. benchpod setup then stopped with "found 2 BenchPods". The USB probe now reads identity (read-only) and correlate matches the public key against the mDNS TXT id. Verified live on benchpod-baea06 under the pod lock: deregistered, discover shows 1 pod (was 2 with v0.5.0), setup --yes --la-voltage 3.3V without --connection registered it again (same device id, wiring kept).
  • Firmware nudge: setup step 1 prints benchpod flash-self --enter-dfu when the pod's firmware is older than the latest release; it never flashes on its own.

Tests: new correlate and setup tests; go vet, go test ./... green. README updated.

🤖 Generated with Claude Code

…d firmware

- A pod on Ethernet and Wi-Fi reports its wired address over USB while mDNS can
  answer on Wi-Fi. A registered pod was matched by its cloud device id, but an
  unregistered one (the case benchpod setup is for) has none, so discover
  listed it twice and setup stopped with 'found 2 BenchPods'. The USB probe
  now also reads the pod's identity (read-only) and correlate matches its
  public key against the mDNS TXT id. Found and verified live on
  benchpod-baea06.
- setup step 1 prints the update command when the pod's firmware is older than
  the latest release (it does not flash on its own).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@wardviaene
wardviaene force-pushed the discover-match-identity branch from 0ee93b0 to 64e0bc0 Compare October 9, 2026 21:10
@wardviaene wardviaene changed the title discover/setup: match a USB pod to its mDNS entry by public key setup: match a USB pod to its mDNS entry by public key; nudge outdated firmware Oct 9, 2026
@wardviaene
wardviaene merged commit f4509a0 into main Oct 9, 2026
2 checks passed
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