should be ok now

This commit is contained in:
Florent 2025-03-13 20:44:18 +01:00
parent a62e911e8c
commit 169ee1f4d1

View file

@ -323,7 +323,7 @@ class MeshCore:
case 8 : # chanel msg recv case 8 : # chanel msg recv
res = {} res = {}
res["type"] = "CHAN" res["type"] = "CHAN"
res["channel_idx"] = data[1:2].hex() res["channel_idx"] = data[1]
res["path_len"] = data[2] res["path_len"] = data[2]
res["txt_type"] = data[3] res["txt_type"] = data[3]
res["sender_timestamp"] = int.from_bytes(data[4:8], byteorder='little') res["sender_timestamp"] = int.from_bytes(data[4:8], byteorder='little')