Skip to main content

Module header

Module header 

Source
Expand description

RTPS-Header (DDSI-RTPS 2.5 §8.3.3).

Der RTPS-Header bildet das Outer-Envelope eines RTPS-Datagrams. Er ist 20 Byte lang (4 magic + 2 version + 2 vendor + 12 prefix), fest layoutiert, und nicht endianness-getagged (alle Felder sind 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§

RtpsHeader
RTPS-Header (20 Byte fix).

Constants§

RTPS_MAGIC
RTPS-Magic-Bytes “RTPS”.