A UADP DataSetMessage header shall consist of the following fields according to this header layout:
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 |
DataSetFlags1 |
Byte |
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 |
DataSetFlags2 |
Byte |
Bit range 0-3: UADP DataSetMessage type <anything> Bit 4: Timestamp enabled = 1 Bit 5: PicoSeconds enabled = 0 (not included in the DataSetMessage header) |
DataSetMessageSequenceNumber |
UInt16 |
Defined by Table 145. |
Timestamp |
UtcTime |
Defined by Table 145. |
StatusCode |
UInt16 |
Defined by Table 145. |
MinorVersion |
VersionTime |
Defined by Table 145. |
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> |