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
@@ -1811,9 +1811,9 @@
"connectionChoiceBluetoothLabel": "蓝牙",
"connectionChoiceTitle": "选择您的连接方式",
"connectionChoiceUsbLabel": "USB",
"usbScreenTitle": "USB 连接即将推出",
"usbScreenSubtitle": "我们正在构建一个基于串行的连接路径,用于Android和桌面设备。",
"usbScreenStatus": "即将推出",
"usbScreenNote": "一旦USB支持功能上线,您就可以选择一个串口,并直接连接到您的MeshCore设备。",
"usbScreenTitle": "通过USB连接",
"usbScreenSubtitle": "选择已检测到的串行设备,并直接连接到您的 MeshCore 节点。",
"usbScreenStatus": "选择一个 USB 设备",
"usbScreenNote": "在支持的 Android 设备和桌面平台上,USB 串行通信功能已启用。",
"usbScreenEmptyState": "未找到任何 USB 设备。请插入一个,然后刷新。"
}