Skip to content

feat(ui): Display BLE signal strength for connected device#3721

Merged
jamesarich merged 2 commits into
mainfrom
feat/ble-rssi
Nov 17, 2025
Merged

feat(ui): Display BLE signal strength for connected device#3721
jamesarich merged 2 commits into
mainfrom
feat/ble-rssi

Conversation

@jamesarich

@jamesarich jamesarich commented Nov 17, 2025

Copy link
Copy Markdown
Collaborator

This commit replaces the feature to display the Bluetooth signal strength (RSSI) for the currently connected BLE device on the Connections screen.

The CurrentlyConnectedInfo composable now periodically (every 10s) reads and displays the RSSI value, providing users with real-time information about their connection quality. The signal strength is visualized using a new MaterialBluetoothSignalInfo component.

image

This commit introduces a feature to display the Bluetooth signal strength (RSSI) for the currently connected BLE device on the Connections screen.

The `CurrentlyConnectedInfo` composable now periodically reads and displays the RSSI value, providing users with real-time information about their connection quality. The signal strength is visualized using a new `MaterialBluetoothSignalInfo` component.

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
@github-actions github-actions Bot added the enhancement New feature or request label Nov 17, 2025
@codecov

codecov Bot commented Nov 17, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 0.56%. Comparing base (12ccb34) to head (10174d9).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...i/connections/components/CurrentlyConnectedInfo.kt 0.00% 9 Missing ⚠️
...eeksville/mesh/ui/connections/ConnectionsScreen.kt 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##            main   #3721      +/-   ##
========================================
- Coverage   0.56%   0.56%   -0.01%     
========================================
  Files        380     380              
  Lines      21649   21650       +1     
  Branches    2653    2656       +3     
========================================
  Hits         122     122              
- Misses     21506   21507       +1     
  Partials      21      21              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This commit removes the unused RSSI polling toggle from `RadioInterfaceService`. The associated state flows (`_isRssiPollingEnabled`, `isRssiPollingEnabled`) and the `setRssiPolling` method have been deleted.

Additionally, the corresponding `onStart` and `onStop` lifecycle calls that controlled this toggle in `ConnectionsViewModel` are also removed as they are no longer necessary.

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
@jamesarich jamesarich added this pull request to the merge queue Nov 17, 2025
Merged via the queue into main with commit a497086 Nov 17, 2025
6 checks passed
@jamesarich jamesarich deleted the feat/ble-rssi branch November 17, 2025 21:29
mdecourcy pushed a commit to mdecourcy/Meshtastic-Android that referenced this pull request Nov 19, 2025
…c#3721)

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant