A.2.2.4 Header layout for NetworkMessages

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

Version/Flags

ExtendedFlags1

PublisherId

PayloadHeader

Additional restrictions:

The datatype for the PublisherId shall be UInt64

The NetworkMessage header layout is shown in Figure A.7.

Figure A.7 – UADP NetworkMessage header layout

Table A.7 shows the configuration for the NetworkMessage header.

Table A.7 – UADP NetworkMessage header layout
Name Type Restrictions
UADPVersionBit[0-3]The version shall be 1
UADPFlagsBit[4-7]

Bit 4: PublisherId enabled = 1

Bit 5: GroupHeader enabled = 0

Bit 6: PayloadHeader enabled = 1

Bit 7: ExtendedFlags1 enabled = 1

ExtendedFlags1Byte

Bit range 0-2: PublisherId Type

011 The PublisherId is of DataType UInt64

Bit 3: DataSetClassId enabled = 0

Bit 4: SecurityHeader enabled = 0

Bit 5: Timestamp enabled = 0

Bit 6: PicoSeconds enabled = 0

Bit 7: ExtendedFlags2 enabled = 0

PublisherIdUInt64

Configured value for the PubSubConnection.

The datatype shall be UInt64.

PayloadHeaderByte[*]Defined by Table 160.

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

Table A.8 – Values for configuration parameters
Parameter Value
UadpNetworkMessageContentMask

0x00000041

This value results of the following options:

Bit 0: PublisherId enabled = 1

Bit 6: PayloadHeader enabled = 1

When a PubSubConnection is created by using the Method AddConnection() the element PublisherId contained in the argument PubSubConnectionDataType shall be of the DataType UInt64.