Repository navigation
feat: add autoconnect min RSSI setting and auto-connect logic - #28
Merged
Merged
Conversation
Agent-Logs-Url: https://github.com/duhow/ftms-bridge/sessions/ccc0548a-6240-4577-bc16-134c2514146b Co-authored-by: duhow <[email protected]>
Agent-Logs-Url: https://github.com/duhow/ftms-bridge/sessions/ccc0548a-6240-4577-bc16-134c2514146b Co-authored-by: duhow <[email protected]>
Copilot created this pull request from a session on behalf of
duhow
April 19, 2026 10:17
View session
Owner
|
@copilot resolve the merge conflicts in this pull request |
…nnect-minimal-rssi-setting # Conflicts: # app/src/main/res/values-ca/strings.xml # app/src/main/res/values-es/strings.xml # fastlane/metadata/android/en-US/changelogs/5.txt Co-authored-by: duhow <[email protected]>
Contributor
Author
Contributor
|
✅ Debug APK artifact is ready for commit 2bf4736 . |
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
Implements the "auto-connect minimal RSSI" feature:
AppSettings.kt– new SharedPreferences-backed class holding theautoconnectMinRssisetting (default-40dBm).Settings menu + dialog – a new Settings entry in the overflow menu opens an
AlertDialogwith a signed-integerEditTextso the user can change the auto-connect RSSI threshold at any time. Invalid values (non-negative numbers or empty input) are rejected with a Toast.Auto-connect logic – inside the BLE scan
onDeviceFoundcallback, after a device is registered, the app now checks:IdleIf all conditions are met,
connectFtmsDevice()is called automatically. Only one FTMS device can auto-connect per scan session.String resources – new keys added to
values/strings.xml,values-es/strings.xml, andvalues-ca/strings.xmlto maintain language parity.Changelog –
5.txtupdated with user-facing description of the new feature.