Reticulum/Notes/Header format

41 lines
775 B
Plaintext
Raw Normal View History

2018-03-19 15:39:08 +00:00
header types
-----------------
2018-04-16 15:13:39 +00:00
type 1 00 Two byte header, one 10 byte address field
type 2 01 Two byte header, two 10 byte address fields
2018-04-18 21:31:17 +00:00
type 3 10 Reserved
2018-04-11 19:24:33 +00:00
type 4 11 Reserved for extended header format
2018-03-19 15:39:08 +00:00
propagation types
-----------------
broadcast 00
transport 01
relay 10
tunnel 11
destination types
-----------------
single 00
group 01
plain 10
link 11
packet types
-----------------
2018-04-16 20:09:23 +00:00
data 00
2018-03-19 19:51:26 +00:00
announce 01
2018-03-19 15:39:08 +00:00
link request 10
proof 11
2020-03-06 11:55:05 +00:00
+- Header example -+
2020-03-06 21:20:50 +00:00
01010000 00000100 [ADDR 1, 10 bytes] [ADDR 2, 10 bytes] [CONTEXT]
2020-03-06 11:55:05 +00:00
| | | | |
| | | | +-- Context = RESOURCE_HMU
| | | +------- DATA packet
| | +--------- SINGLE destination
| +----------- TRANSPORT propagation type
+------------- HEADER_2, two byte header, two address fields