Update feedback and redundancy header. authored by Andreas Schmidt's avatar Andreas Schmidt
...@@ -3,18 +3,11 @@ ...@@ -3,18 +3,11 @@
PRRT used UDP as a transport layer and send frames composed of a general header and a packet type specific header. PRRT used UDP as a transport layer and send frames composed of a general header and a packet type specific header.
## Packet Types ## Packet Types
There are 6 packet types: [Data (`0`)](#data), Repeated Data (`1`), [Redundancy (`2`)](#redundancy), [Feedback (`3`)](#feedback), Pre-sent Redundancy (`4`), Channel Feedback (`5`)
* Data (`0`)
* Repeated Data (`1`)
* Redundancy (`2`)
* Feedback (`3`)
* Pre-sent Redundancy (`4`)
* Channel Feedback (`5`)
## Header Formats ## Header Formats
### General Header ### General Header (Size: 8 Bytes)
0 1 2 3 0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
...@@ -24,7 +17,7 @@ There are 6 packet types: ...@@ -24,7 +17,7 @@ There are 6 packet types:
| Packet Specific Header | | Packet Specific Header |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
### Data Header (Type `0`) (Size: 20 Byte) ### <a name="data"></a> Data Header (Type `0`) (Size: 20 Byte)
0 1 2 3 0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
...@@ -44,7 +37,7 @@ There are 6 packet types: ...@@ -44,7 +37,7 @@ There are 6 packet types:
See Data. See Data.
### Redundancy Header (Type `2`) (Size: 4 Byte) ### <a name="redundancy"></a> Redundancy Header (Type `2`) (Size: 4 Byte)
0 1 2 3 0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
...@@ -52,7 +45,7 @@ See Data. ...@@ -52,7 +45,7 @@ See Data.
| Base Sequence Number | n | k | | Base Sequence Number | n | k |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
### Feedback Header (Type `3`) (Size: 28 + n * 4 Byte) ### <a name="feedback"></a> Feedback Header (Type `3`) (Size: 28 + n * 4 Byte)
0 1 2 3 0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
... ...
......