mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-04-20 22:13:48 +00:00
_requestDeviceInfo added isConnected not already _awaitingSelfInfo
This commit is contained in:
parent
d30e7c4e2c
commit
6d7d51f0a4
1 changed files with 1 additions and 0 deletions
|
|
@ -990,6 +990,7 @@ class MeshCoreConnector extends ChangeNotifier {
|
|||
}
|
||||
|
||||
Future<void> _requestDeviceInfo() async {
|
||||
if (!isConnected || _awaitingSelfInfo) return;
|
||||
_awaitingSelfInfo = true;
|
||||
await sendFrame(buildDeviceQueryFrame());
|
||||
await sendFrame(buildAppStartFrame());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue