Enhance BLE connection handling and improve USB connection messaging

- Wrapped BLE scan and connection methods in try-catch blocks to handle errors gracefully and provide debug output.
- Added retry logic for service discovery on web platforms after transient disconnections.
- Updated USB connection messages in multiple languages to reflect active support on Android and desktop platforms.
- Improved loading indicators for contacts screen to show a spinner during data loading.
This commit is contained in:
just_stuff_tm
2026-03-02 02:34:46 -05:00
committed by just-stuff-tm
parent ee3af52c0f
commit 2d1160d992
31 changed files with 240 additions and 140 deletions
+4 -4
View File
@@ -122,18 +122,18 @@ class AppLocalizationsBg extends AppLocalizations {
String get connectionChoiceBluetoothLabel => 'Bluetooth';
@override
String get usbScreenTitle => 'Връзката чрез USB ще бъде налична скоро.';
String get usbScreenTitle => 'Свързване чрез USB';
@override
String get usbScreenSubtitle =>
'Създаваме път за комуникация, базиран на последователно предаване на данни, за Android и настолни компютри.';
'Изберете открития сериен уред и свържете директно към вашия MeshCore възел.';
@override
String get usbScreenStatus => 'Ще бъде достъпно скоро';
String get usbScreenStatus => 'Изберете USB устройство';
@override
String get usbScreenNote =>
'След като бъде внедрена поддръжката за USB, ще изберете сериен порт и ще се свържете директно към вашето устройство MeshCore.';
'USB серийната връзка е активна на поддържаните Android устройства и настолни платформи.';
@override
String get usbScreenEmptyState =>