A.2.2.7 Header layout for DataSetMessages

A UADP DataSetMessage header shall consist of the following fields according to this header layout:

DataSetFlags1

DataSetFlags2

DataSetMessageSequenceNumber

Timestamp

Status

MinorVersion

Additional remarks:

Fields can use any encoding

All types of DataSetMessages (Data Key Frame, Data Delta Frame, Event, etc.) are supported

The DataSetMessage header layout is shown in Figure A.10

Figure A.10 – UADP DataSetMessage header layout

Table A.11 shows the configuration for the DataSetMessage header.

Table A.11 – UADP DataSetMessage header layout
Name Type Description
DataSetFlags1Byte

Bit 0: Indicates whether this DataSetMessage is valid

Bit range 1-2: Field Encoding

<anything>
Bit 3: DataSetMessageSequenceNumber enabled = 1

Bit 4: Status enabled = 1

Bit 5: ConfigurationVersionMajorVersion enabled = 0

Bit 6: ConfigurationVersionMinorVersion enabled = 1

Bit 7: DataSetFlags2 enabled = 1

DataSetFlags2Byte

Bit range 0-3: UADP DataSetMessage type

<anything>

Bit 4: Timestamp enabled = 1

Bit 5: PicoSeconds enabled = 0 (not included in the DataSetMessage header)

DataSetMessageSequenceNumberUInt16Defined by Table 162.
TimestampUtcTimeDefined by Table 162.
StatusCodeUInt16Defined by Table 162.
MinorVersionVersionTimeDefined by Table 162.

Table A.12 defines the values for the configuration parameters representing this layout.

Table A.12 – Values for configuration parameters
Parameter Value
UadpDataSetMessageContentMask

0x00000035

This value results of the following options:

Bit 0: Timestamp enabled = 1

Bit 2: Status enabled = 1

Bit 4: MinorVersion enabled = 1

Bit 5: SequenceNumber enabled = 1

DataSetFieldContentMask<anything>