This commit is contained in:
zakhy 2025-04-18 11:14:38 +07:00
parent 504a9d809a
commit ee83b93f71

View File

@ -103,8 +103,9 @@ async def receive_messages(websocket, auth_dict):
async for message in websocket:
message_from_json = json.loads(message)
for message_item in message_from_json:
log(f"<<< Ответ получен: {message_item}")
identifier = message_item.get("identifier")
if identifier != 'location:0/position_broadcast':
log(f"<<< Ответ получен: {message_item}")
if identifier == "core/connection_response":
log("Соединение установлено. Инициализация модулей...")