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

Additional restrictions:

Note:For the PublisherIdthe DataType UInt64was selected because it allows a simple way for a Publisherto generate unique PublisherIdsby using the local MAC address (48 Bit) as part of the PublisherId.

The NetworkMessageheader layout is shown in Figure A.7.

image059.png

Figure A.7– UADP NetworkMessage header layout

Table A.7shows the configuration for the NetworkMessageheader.

Table A.7– UADP NetworkMessage header layout

Name

Type

Restrictions

UADPVersion

Bit[0-3]

The version shall be 1

UADPFlags

Bit[4-7]

Bit 4: PublisherIdenabled = 1

Bit 5: GroupHeaderenabled = 0

Bit 6: PayloadHeaderenabled = 1

Bit 7: ExtendedFlags1 enabled = 1

ExtendedFlags1

Byte

Bit range 0-2: PublisherIdType

011 The PublisherIdis of DataType UInt64

Bit 3: DataSetClassIdenabled = 0

Bit 4: SecurityHeaderenabled = 0

Bit 5: Timestampenabled = 0

Bit 6: PicoSecondsenabled = 0

Bit 7: ExtendedFlags2 enabled = 0

PublisherId

UInt64

Configured value for the PubSubConnection.

The datatype shall be UInt64.

PayloadHeader

Byte[*]

Defined by Table 140.

Table A.8defines 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: PublisherIdenabled = 1

Bit 6: PayloadHeader enabled = 1

When a PubSubConnectionis created by using the Method AddConnection()the element PublisherIdcontained in the argument PubSubConnectionDataType shall be of the DataType UInt64.