mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-29 05:09:46 +01:00
update:iot兼容性又问题,撤回
This commit is contained in:
parent
0da599e41c
commit
16949d926d
1 changed files with 2 additions and 1 deletions
|
|
@ -39,6 +39,7 @@ async def handleTextMessage(conn, message):
|
||||||
await startToChat(conn, msg_json["text"])
|
await startToChat(conn, msg_json["text"])
|
||||||
elif msg_json["type"] == "iot":
|
elif msg_json["type"] == "iot":
|
||||||
if "descriptors" in msg_json:
|
if "descriptors" in msg_json:
|
||||||
await handleIotDescriptors(conn, msg_json["descriptors"])
|
pass
|
||||||
|
# await handleIotDescriptors(conn, msg_json["descriptors"])
|
||||||
except json.JSONDecodeError:
|
except json.JSONDecodeError:
|
||||||
await conn.websocket.send(message)
|
await conn.websocket.send(message)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue