Week 3

Progress summary for Week 3 (June 8-14, 2026) of the AGL Bluetooth Integration project.

This week focused on moving the Bluetooth connection work from mock UI behavior toward a real ivi-homescreen flow backed by BlueZ device discovery and connection state.

Status#

  • Status: Completed
  • Timeline: June 8, 2026 to June 14, 2026

Progress#

1. Bluetooth Settings Entry Point#

Integrated the Bluetooth entry point into the AGL settings screen and wired the Bluetooth switch so the UI can reflect adapter power state changes.

AGL settings screen with Bluetooth enabled.
Bluetooth enabled from the settings screen.

2. Bluetooth Device Discovery UI#

Implemented the Bluetooth page flow for an empty device list, active scanning, and discovered device rendering. The UI now shows a clear empty state before scanning and updates the list as nearby devices are discovered.

Bluetooth page showing no devices found and a scan button.
Bluetooth page before scanning starts.
Bluetooth page showing discovered devices and a stop scanning button.
Discovered Bluetooth devices while scanning.

3. Device Connection State#

Added UI states for connecting and connected devices. Selecting a discovered device now moves through a connecting state before showing the connected device with a disconnect action.

Bluetooth page showing POCO F6 Pro in connecting state.
Connecting to a discovered Bluetooth device.
Bluetooth page showing POCO F6 Pro connected with a disconnect button.
Connected device shown at the top of the Bluetooth device list.

4. Device Details and Saved Devices#

Added a device details view that exposes connection status, pairing status, device address, and signal strength. The Bluetooth page also groups previously paired devices under the saved devices section so the user can revisit known devices after scanning.

Bluetooth device details dialog showing connection, paired status, address, signal, and forget device action.
Device detail view for the connected phone.

Validation Evidence#

  • Confirmed that the settings page can enable Bluetooth and navigate into the Bluetooth device page.
  • Confirmed that the device page shows an empty state before scanning.
  • Confirmed that scanning populates nearby device rows, including phones, watches, and saved paired devices.
  • Confirmed that selecting POCO F6 Pro displays a connecting state and then a connected state with a disconnect action.
  • Confirmed that the details dialog exposes paired state, address, RSSI signal, connection toggle, and forget-device action.

Next Week's Plan#

  • Validate the Bluetooth flow on the AGL image running on Raspberry Pi 5.
  • Work on pairing support for device pairing and trust handling.
  • Add a new pairing UI for passkey confirmation and entry.
  • Continue audio control integration work.