Skip to content

WearOS pairing and data bridging support#3662

Open
namdamdoi68-oss wants to merge 4 commits into
microg:masterfrom
namdamdoi68-oss:feature/issue-2843-wearos-support
Open

WearOS pairing and data bridging support#3662
namdamdoi68-oss wants to merge 4 commits into
microg:masterfrom
namdamdoi68-oss:feature/issue-2843-wearos-support

Conversation

@namdamdoi68-oss

Copy link
Copy Markdown

WearOS pairing and data bridging support

This PR introduces WearOS device pairing, notification bridging, media controls, call state bridging, and Channel API data streams into play-services-wearable.

Summary of Changes

  • Bluetooth RFCOMM Transport: Added BluetoothConnectionThread listening on service UUID a3c87500-8ed3-4bdf-8a39-a01bebede295 to mirror TCP socket transport over Bluetooth RFCOMM for paired wearables.
  • Channel API Streams: Implemented ChannelManager handling wire Protobuf ChannelControlRequest, ChannelDataRequest, and ChannelDataAckRequest frame sequences with streaming PFD pipe forwarders.
  • Notification & Call Bridging: Added NotificationBridge, MediaBridge, and CallBridge to handle ANCS notification actions, active media session metadata, and telephony state updates.
  • Unit Test Coverage: Added unit tests in BluetoothConnectionThreadTest, CallBridgeTest, and NotificationBridgeTest.

Verification

Verified compilation and test suite passing cleanly with JDK 17 / Android SDK 35:

./gradlew :play-services-wearable-core:assembleDebug
./gradlew :play-services-wearable-core:testDebugUnitTest
  • All 210 unit tests pass with zero failures.

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