_requestDeviceInfo added isConnected not already _awaitingSelfInfo

This commit is contained in:
Winston Lowe committed 2026-01-31 16:03:05 -08:00
1 parent d30e7c4e2c
commit 6d7d51f0a4
1 file changed
+1
+1
View File
@@ -990,6 +990,7 @@ class MeshCoreConnector extends ChangeNotifier {
}
Future<void> _requestDeviceInfo() async {
if (!isConnected || _awaitingSelfInfo) return;
_awaitingSelfInfo = true;
await sendFrame(buildDeviceQueryFrame());
await sendFrame(buildAppStartFrame());