_requestDeviceInfo added isConnected not already _awaitingSelfInfo
This commit is contained in:
1 parent
d30e7c4e2c
commit
6d7d51f0a4
1 file changed
+1
@@ -990,6 +990,7 @@ class MeshCoreConnector extends ChangeNotifier {
|
||||
}
|
||||
|
||||
Future<void> _requestDeviceInfo() async {
|
||||
if (!isConnected || _awaitingSelfInfo) return;
|
||||
_awaitingSelfInfo = true;
|
||||
await sendFrame(buildDeviceQueryFrame());
|
||||
await sendFrame(buildAppStartFrame());
|
||||
|
||||
Reference in new issue
Block a user