Skip to content

Port pairing to the SDK 0.4.0 draft contract - #13

Open
MarkParker5 wants to merge 9 commits into
developfrom
feature/pairing-draft
Open

MarkParker5 wants to merge 9 commits into
developfrom
feature/pairing-draft

Conversation

@MarkParker5

Copy link
Copy Markdown
Member

Ports the integration to the SDK 0.4.0 pairing contract. Part of one change across the SDK, the Hub and the 5 integrations; needs the SDK released first.

  • Pairs into the Hub's draft; nothing is saved during pairing.
  • Devices are identified by physical_id; the Hub owns id.
  • unpair doubles as the rollback of a failed pairing, undoing only what blocks a clean re-pair, and is safe to call again.
  • A retried pair_device confirms state a failed attempt left behind instead of refusing it.
  • Output calls pass physical_id= by keyword.

Tested: unit tests (101 passed); cage hardware suite through the Hub (5/5). Reviewed.
Depends on MajorDom-Systems/integration-sdk#21.

This branch has not been deployed

No deployments
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