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 authored and just-stuff-tm committed 2026-03-05 02:25:05 -05:00
1 parent ee3af52c0f
commit 2d1160d992
31 files changed
+240 -140

No files matched your search

+5 -6
View File
@@ -122,23 +122,22 @@ class AppLocalizationsRu 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 =>
'Не обнаружено никаких устройств USB. Подключите одно из них и обновите список.';
'Не обнаружено устройств USB. Подключите одно из них и обновите список.';
@override
String get scanner_scanning => 'Поиск устройств...';