Reticulum/Notes/Header format

41 lines
775 B
Plaintext
Raw Normal View History

2018-03-19 09:39:08 -06:00
header types
-----------------
2018-04-16 09:13:39 -06: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 15:31:17 -06:00
type 3 10 Reserved
2018-04-11 13:24:33 -06:00
type 4 11 Reserved for extended header format
2018-03-19 09:39:08 -06: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 14:09:23 -06:00
data 00
2018-03-19 13:51:26 -06:00
announce 01
2018-03-19 09:39:08 -06:00
link request 10
proof 11
2020-03-06 04:55:05 -07:00
+- Header example -+
2020-03-06 14:20:50 -07:00
01010000 00000100 [ADDR 1, 10 bytes] [ADDR 2, 10 bytes] [CONTEXT]
2020-03-06 04:55:05 -07:00
| | | | |
| | | | +-- Context = RESOURCE_HMU
| | | +------- DATA packet
| | +--------- SINGLE destination
| +----------- TRANSPORT propagation type
+------------- HEADER_2, two byte header, two address fields