diff --git a/lib/screens/home_screen.dart b/lib/screens/home_screen.dart index f3ca93b..a4086b3 100644 --- a/lib/screens/home_screen.dart +++ b/lib/screens/home_screen.dart @@ -574,7 +574,7 @@ class _HomeScreenState extends State Row( mainAxisSize: MainAxisSize.min, children: [ - // BLE connection strength indicator + // BLE connection strength indicator with RSSI Icon( Icons.bluetooth_connected, color: deviceInfo.signalRssi != null @@ -582,7 +582,17 @@ class _HomeScreenState extends State : Colors.grey, size: 16, ), - const SizedBox(width: 8), + const SizedBox(width: 4), + if (deviceInfo.signalRssi != null) + Text( + '${deviceInfo.signalRssi}dBm', + style: TextStyle( + fontSize: 12, + color: _getSignalColor(deviceInfo.signalRssi!), + fontWeight: FontWeight.w500, + ), + ), + const SizedBox(width: 12), // Battery indicator if (deviceInfo.batteryPercent != null) ...[ Icon(