MeshPacketHeader
Defined in: src/protocol/meshPacket.ts:43
Properties
Section titled “Properties”hashCount
Section titled “hashCount”hashCount: number;Defined in: src/protocol/meshPacket.ts:50
Number of hops in the path. May be 0 (originator emitted with empty path).
hashSize
Section titled “hashSize”hashSize: number;Defined in: src/protocol/meshPacket.ts:48
Bytes per hop in the path (1, 2, or 3). 4 is reserved by firmware.
pathHex
Section titled “pathHex”pathHex: string;Defined in: src/protocol/meshPacket.ts:52
Hex path bytes (hashCount × hashSize). Empty string when hashCount=0.
payload
Section titled “payload”payload: Buffer;Defined in: src/protocol/meshPacket.ts:56
Decrypted-or-not body. For GRP_TXT, format is: [channel_hash 1B][MAC 2B][encrypted: ts u32 LE + “name: text”]
payloadType
Section titled “payloadType”payloadType: number;Defined in: src/protocol/meshPacket.ts:45
payloadVer
Section titled “payloadVer”payloadVer: number;Defined in: src/protocol/meshPacket.ts:46
routeType
Section titled “routeType”routeType: number;Defined in: src/protocol/meshPacket.ts:44
transportCodesHex?
Section titled “transportCodesHex?”optional transportCodesHex?: string;Defined in: src/protocol/meshPacket.ts:53