Skip to content

feat: Implement BLE Relay Node discovery and auto-connectivity#7

Merged
fionan313 merged 1 commit intomainfrom
ESP32
Mar 1, 2026
Merged

feat: Implement BLE Relay Node discovery and auto-connectivity#7
fionan313 merged 1 commit intomainfrom
ESP32

Conversation

@fionan313
Copy link
Copy Markdown
Owner

No description provided.

- Create `RelayDiscoveryScreen` and `RelayDiscoveryViewModel` to manage discovery, manual connection, and auto-connect settings for relay nodes
- Enhance `RelayNodeScanner` with improved scan filtering, batch result handling, and RSSI-based sorting of discovered relays
- Update `RelayNodeConnection` to handle GATT connection lifecycle, including UTF-8 message encoding and improved error logging
- Integrate relay status into `DiscoveryScreen` via a new `RelayStatusBanner` component
- Implement auto-connect logic using `SharedPreferences` to automatically link to the strongest discovered relay node
- Register `relay_discovery` route in `MainActivity` navigation graph
- Refactor `DiscoveryViewModel` to handle both peer discovery and relay scanning simultaneously
- Standardize Bluetooth permission handling across discovery components using `@SuppressLint("MissingPermission")`
@fionan313 fionan313 self-assigned this Feb 17, 2026
@fionan313 fionan313 added the enhancement New feature or request label Feb 17, 2026
@fionan313 fionan313 merged commit 6ed00eb into main Mar 1, 2026
0 of 2 checks passed
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