Skip to content

feat(swift): add SBP-2 connector API#7

Draft
gly11 wants to merge 1 commit into
pr/controller-bringup-recoveryfrom
pr/swift-sbp2-connector
Draft

feat(swift): add SBP-2 connector API#7
gly11 wants to merge 1 commit into
pr/controller-bringup-recoveryfrom
pr/swift-sbp2-connector

Conversation

@gly11

@gly11 gly11 commented May 27, 2026

Copy link
Copy Markdown
Owner

Summary

This PR is stacked on pr/controller-bringup-recovery and adds the Swift-side SBP-2 connector API used by the app to call the driver user client.

Swift Connector

  • Add typed SBP-2 selectors and request/response helpers
  • Decode device discovery wire data into Swift-facing metadata
  • Add parsing coverage for the updated device discovery payloads

Why this PR

The Swift connector is the app-side bridge for the lower-level SBP-2 session work, but it remains reviewable without the later UI slices. Separating it keeps the review centered on wire-format parsing and user-client API shape.

This PR intentionally does not include debug UI, diagnostic handlers, local scripts, install helpers, or documentation-only planning notes.

Verification

Local verification completed for this slice:

git diff --check pr/controller-bringup-recovery..HEAD
xcodebuild -project ASFW.xcodeproj -scheme ASFW -configuration Debug -destination 'platform=macOS' CODE_SIGNING_ALLOWED=NO test

@gly11 gly11 force-pushed the pr/controller-bringup-recovery branch from 9959fde to b5eaa71 Compare May 27, 2026 14:06
@gly11 gly11 force-pushed the pr/swift-sbp2-connector branch from ab900ba to 62fa6d6 Compare May 27, 2026 14:06
@gly11 gly11 force-pushed the pr/controller-bringup-recovery branch from b5eaa71 to c122677 Compare May 27, 2026 14:28
@gly11 gly11 force-pushed the pr/swift-sbp2-connector branch 2 times, most recently from 7e2a8e1 to b8899e8 Compare May 27, 2026 14:44
@gly11 gly11 force-pushed the pr/swift-sbp2-connector branch from b8899e8 to 4c2d153 Compare May 27, 2026 14:58
@gly11 gly11 force-pushed the pr/controller-bringup-recovery branch from 478117c to 9453b4c Compare May 27, 2026 14:59
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