mirror of
https://github.com/meshcore-dev/meshcore-cli.git
synced 2026-04-20 22:13:48 +00:00
should be ok now
This commit is contained in:
parent
a62e911e8c
commit
169ee1f4d1
1 changed files with 1 additions and 1 deletions
2
mccli.py
2
mccli.py
|
|
@ -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')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue