|
|
# Protocol Specification
|
|
|
|
|
|
PRRT used UDP as a transport layer and send frames composed of a general header and a packet type specific header.
|
|
|
|
|
|
## Packet Types
|
|
|
There are 6 packet types:
|
|
|
|
|
|
* Data (`0`)
|
|
|
* Repeated Data (`1`)
|
|
|
* Redundancy (`2`)
|
|
|
* Feedback (`3`)
|
|
|
* Pre-sent Redundancy (`4`)
|
|
|
* Channel Feedback (`5`)
|
|
|
|
|
|
## Header Formats
|
|
|
|
|
|
### General Header
|
|
|
|
|
|
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
|
|
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
|
|
| Type | Prio | Index | Sequence Number |
|
|
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
|
|
| Packet Specific Payload |
|
|
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
|
|
|
|
|
### Data Header (Type `0`)
|
|
|
|