From 169ee1f4d1da8a6f4f53e1ef06aa0ae47afe3bb5 Mon Sep 17 00:00:00 2001 From: Florent Date: Thu, 13 Mar 2025 20:44:18 +0100 Subject: [PATCH] should be ok now --- mccli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mccli.py b/mccli.py index c8922a7..b5001a1 100755 --- a/mccli.py +++ b/mccli.py @@ -323,7 +323,7 @@ class MeshCore: case 8 : # chanel msg recv res = {} res["type"] = "CHAN" - res["channel_idx"] = data[1:2].hex() + res["channel_idx"] = data[1] res["path_len"] = data[2] res["txt_type"] = data[3] res["sender_timestamp"] = int.from_bytes(data[4:8], byteorder='little')