mirror of
https://github.com/meshcore-dev/meshcore.js.git
synced 2026-04-20 22:13:49 +00:00
parse packet types
This commit is contained in:
parent
bc11e6a7fe
commit
5d94ba88ee
3 changed files with 104 additions and 11 deletions
|
|
@ -4,3 +4,4 @@ const bytes = Buffer.from("0200B401DF6528CC9778A56F36FE9399A5CF6B0C7EDE", "hex")
|
|||
const packet = Packet.fromBytes(bytes);
|
||||
|
||||
console.log(packet);
|
||||
console.log(packet.parsePayload());
|
||||
Loading…
Add table
Add a link
Reference in a new issue