mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-03-31 21:35:40 +00:00
Per firmware: PAYLOAD_VER_1 uses dest(1) + src(1) + MAC(2), not 6+6+4. Confirmed from Mesh.cpp lines 129-130: uint8_t dest_hash = payload[i++] and MeshCore.h: CIPHER_MAC_SIZE = 2. Changed: decodeEncryptedPayload (REQ/RESPONSE/TXT_MSG), decodeAck, decodeAnonReq (dest 1B + pubkey 32B + MAC 2B), decodePath (1+1+2). Updated test min-length assertions.
14 KiB
14 KiB