Skip to content

channels: document BONDCONNECT template#128

Open
chrismerck wants to merge 1 commit into
masterfrom
merck/feat/bondconnect-template-docs
Open

channels: document BONDCONNECT template#128
chrismerck wants to merge 1 commit into
masterfrom
merck/feat/bondconnect-template-docs

Conversation

@chrismerck

Copy link
Copy Markdown
Contributor

Summary

Document BONDCONNECT as a documented template value for Mate Pro channels (v4.32+), and clarify that template is the authoritative selector for a channel's technology on PATCH.

Why

The Bond Local API spec didn't name the Bond Connect technology, didn't give it a template identifier, and didn't say which field a client uses to switch a channel's technology. That left clients and firmware reaching for ad-hoc signals (type, properties.pairing_assets_key) instead of a single, well-defined contract.

What changed

channels/schemas.yaml:

  • template — added BONDCONNECT as a documented special value. The channel relays button presses to a paired Bond Bridge (or to a linked Smart by Bond device via BBP), which drives the underlying device using its native protocol. Available on Mate Pro (MT-1500) firmware v4.32 and later.
  • Stated that template is the authoritative selector for a channel's technology on PATCH.
  • type — replaced the stale "Channels configured for Relay mode have type MS" note with the correct mapping: channels with template BONDCONNECT have type GX, since the linked Bond device determines functionality.

No schema-level or path-level changes; pure documentation.

Test plan

  • make test (OpenAPI validation)
  • Render with redoc / make run_local and visually confirm the template and type field descriptions read cleanly

Add `BONDCONNECT` as a documented `template` value for Mate Pro channels
(v4.32+). The channel relays button presses to a paired Bond Bridge or
a linked Smart by Bond device via BBP, which drives the underlying
device using its native protocol. Channels with this template have
`type` `GX`, since the linked Bond device determines functionality.

Also clarify that `template` is the authoritative selector for a
channel's technology on PATCH, and replace the now-stale "Relay mode →
`MS`" note with the corresponding `BONDCONNECT` → `GX` mapping.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@OlibraBot

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants