Browse Source

所有设备已断开连接

rambo 4 months ago
parent
commit
515df4f779
1 changed files with 1 additions and 0 deletions
  1. 1 0
      python/sockets/socket_server.py

+ 1 - 0
python/sockets/socket_server.py

@@ -42,6 +42,7 @@ async def websocket_endpoint(websocket: WebSocket):
                             blue_tooth.disconnect_device(diviceAddress, diviceName)
                         blue_tooth.bluetooth_exit = True
                         blue_tooth.clearMyInstance()
+                        print("所有设备已断开连接")
                         break
                     print("byteDats", byteDats)
                     await handlerSend(conn_manager, json.dumps(byteDats), websocket)