更新蓝牙连接状态

This commit is contained in:
wyf
2025-07-22 11:53:59 +08:00
parent 22b34d7b06
commit 555e853a36
2 changed files with 15 additions and 1 deletions

View File

@@ -226,6 +226,9 @@ class _HomePageState extends State<MainPageBBottomChange>
//如果当前没有连接该设备,则返回
return;
}
if (webviewTestController.selectDevice['blueToothStatus']!=2) {
return;
}
edm.EasyDartModule.websocket.sendData(jsonEncode(WebSocketMessage(
to: data['from'],
// to: ef.kvRoot.websocketId,