Reticulum/Notes/Header format

41 lines
775 B
Plaintext
Raw Normal View History

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