mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* new PAYLOAD_TYPE_RAW_CUSTOM
This commit is contained in:
parent
fc4e5ed54c
commit
274bd6ddbf
4 changed files with 62 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ namespace mesh {
|
|||
#define PAYLOAD_TYPE_ANON_REQ 0x07 // generic request (prefixed with dest_hash, ephemeral pub_key, MAC) (enc data: ...)
|
||||
#define PAYLOAD_TYPE_PATH 0x08 // returned path (prefixed with dest/src hashes, MAC) (enc data: path, extra)
|
||||
//...
|
||||
#define PAYLOAD_TYPE_RESERVEDM 0x0F // FUTURE
|
||||
#define PAYLOAD_TYPE_RAW_CUSTOM 0x0F // custom packet as raw bytes, for applications with custom encryption, payloads, etc
|
||||
|
||||
#define PAYLOAD_VER_1 0x00 // 1-byte src/dest hashes, 2-byte MAC
|
||||
#define PAYLOAD_VER_2 0x01 // FUTURE (eg. 2-byte hashes, 4-byte MAC ??)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue