Conversation
…h settings section
… logic in SyncManager
…onstants for parsing
…sBottomSheet accessed via LastConnectedDeviceCard
Mudit200408
pushed a commit
to Mudit200408/airsync-android
that referenced
this pull request
May 23, 2026
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.
This pull request introduces core Bluetooth Low Energy (BLE) sync support to the app, enabling BLE-based communication between devices. It adds the necessary BLE permissions and features, implements a BLE connection manager and protocol constants, provides utilities for chunking data for BLE transmission, and integrates BLE permission handling into the permissions UI. It also updates relevant data models and state management to support BLE connection status.
The most important changes are:
BLE Sync Core Implementation:
BleConnectionManager,BleConstants,BleChunkUtil, andBleTransportBridgeclasses to manage BLE connections, define protocol constants, handle chunked BLE data transmission, and bridge BLE transport logic. (app/src/main/java/com/sameerasw/airsync/data/ble/BleConnectionManager.kt[1]BleConstants.kt[2]BleChunkUtil.kt[3]BleTransportBridge.kt[4]AirSyncApp) and exposed it for app-wide use. (app/src/main/java/com/sameerasw/airsync/AirSyncApp.ktapp/src/main/java/com/sameerasw/airsync/AirSyncApp.ktR13-R27)Permissions and Manifest Updates:
AndroidManifest.xml[1]PermissionsActivity.kt[2] [3] [4]Settings and State Management:
DataStoreManagerto persist BLE sync and auto-connect settings, and updatedUiStateto reflect BLE connection state. (DataStoreManager.kt[1] [2];UiState.kt[3]Model Enhancements:
albumArtLiteand device name. (DeviceStatus.kt[1] [2];MacDeviceStatus.kt[3]These changes lay the groundwork for robust BLE-based device communication and synchronization within the app.