feat: Add CompanionPairingManager for Wear OS 3+ device pairing - #3672
Open
laurentketterle-hub wants to merge 24 commits into
Open
feat: Add CompanionPairingManager for Wear OS 3+ device pairing#3672laurentketterle-hub wants to merge 24 commits into
laurentketterle-hub wants to merge 24 commits into
Conversation
Add CompanionPairingManager class that handles BLE-based discovery and pairing of Wear OS 3+ smartwatches using Android's Bluetooth LE APIs. - Implements BLE scanning with Wear OS service UUID filters - Manages paired companion devices with persistent storage - Provides listener interface for pairing lifecycle events - Integrates with existing connection configuration system - Bridges companion device pairing with WearableImpl Modify WearableServiceImpl to instantiate and expose the CompanionPairingManager for use by companion apps. Related: microg#2843
Author
|
Hi maintainers! 👋 The CI workflow is stuck with "Action required — awaiting approval from a maintainer" (first-time contributor restriction). Would you mind approving it when you get a chance? Thanks a lot! 🙏 |
…l API into WearableServiceImpl
laurentketterle-hub
force-pushed
the
feature/wearos-companion-pairing-2843
branch
from
July 29, 2026 16:22
a465274 to
0d71ecc
Compare
laurentketterle-hub
force-pushed
the
feature/wearos-companion-pairing-2843
branch
from
July 29, 2026 16:24
efe3c12 to
4940fa2
Compare
… tests) + README + architecture docs
…atrix, contributing guide
…ity guide, compatibility matrix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds Companion Device pairing support for Wear OS 3+ devices, addressing the WearOS support bounty (#2843).
Changes
New:
CompanionPairingManager.javaPairingListenerinterface for pairing lifecycle events:onDeviceDiscovered/onDevicePaired/onDeviceUnpairedonScanStarted/onScanStopped/onErrorConnectionConfigurationsystem throughWearableImplModified:
WearableServiceImpl.javaCompanionPairingManagerin the constructorgetCompanionPairingManager()for access by companion appsTechnical Details
BluetoothLeScannerfor low-energy scanning optimized for Wear OS discovery0000fce2-...(Wear OS service),0000180f-...(Battery service)Related