Expand description
RTPS-Header (DDSI-RTPS 2.5 §8.3.3).
The RTPS header forms the outer envelope of an RTPS datagram. It is 20 bytes long (4 magic + 2 version + 2 vendor + 12 prefix), fixed layout, and not endianness-tagged (all fields are byte arrays).
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| 'R' = 0x52 | 'T' = 0x54 | 'P' = 0x50 | 'S' = 0x53 |
+---------------+---------------+---------------+---------------+
| major version | minor version | vendor.major| vendor.minor |
+---------------+---------------+---------------+---------------+
| |
+ +
| guidPrefix |
+ +
| |
+---------------+---------------+---------------+---------------+Structs§
- Rtps
Header - RTPS-Header (20 Byte fix).
Constants§
- RTPS_
MAGIC - RTPS-Magic-Bytes “RTPS”.