UADP Message
This page summarizes the Lua table fields used for UADP PubSub messages.
Common Fields
Field |
Type |
Notes |
|---|---|---|
|
number or string, optional |
Publisher identifier. |
|
optional |
Detected from |
|
GUID, optional |
Dataset class identifier. |
|
table, optional |
Writer group and sequence information. |
|
DateTime |
Message timestamp. |
|
UInt16 |
Additional timestamp precision. |
|
table |
Security flags and token information. |
|
array |
Dataset messages in the network message. |
|
table |
Discovery announcement. Used instead of |
|
table |
Optional security footer. |
|
ByteString |
Optional message signature. |
GroupHeader
Field |
Type |
Notes |
|---|---|---|
|
UInt16 |
Writer group identifier. |
|
UInt32 |
Writer group version. |
|
UInt16 |
Network message number. |
|
UInt16 |
Network message sequence number. |
SecurityHeader
Field |
Type |
Notes |
|---|---|---|
|
boolean |
Network message signature flag. |
|
boolean |
Network message encryption flag. |
|
boolean |
Security footer flag. |
|
boolean |
Key reset flag. |
|
UInt32 |
Security token identifier. |
|
ByteString |
Message nonce. |
|
UInt16 |
Security footer size. |
UADP DataSetMessage
Field |
Type |
Notes |
|---|---|---|
|
UInt16 |
Dataset writer identifier. |
|
UInt16 |
Dataset message sequence number. |
|
DateTime |
Dataset message timestamp. |
|
UInt16 |
Additional timestamp precision. |
|
UInt16 |
Dataset message status. |
|
UInt16 |
Major configuration version. |
|
UInt16 |
Minor configuration version. |
|
4-bit value |
Dataset message type. |
|
2-bit value |
Field encoding type. |
|
array |
Published fields. |
|
number |
Paging size. |
|
ByteString |
Padding bytes. |
Fields entries use this shape:
Field |
Type |
Notes |
|---|---|---|
|
number |
Field index. |
|
any supported value |
Field value. |
UADP AnnouncementMessage
DATASET_METADATA
Field |
Type |
Notes |
|---|---|---|
|
table |
Root announcement object. |
|
|
Announcement kind. |
|
UInt16 |
Announcement sequence number. |
|
table |
Dataset metadata payload. |
|
UInt16 |
Dataset writer identifier. |
|
StatusCode |
Metadata status. |
|
table |
Metadata content. |
Metadata
Field |
Type |
Notes |
|---|---|---|
|
string array |
Namespace URI list. |
|
array |
Structure data type metadata. |
|
array |
Enum data type metadata. |
|
array |
Simple data type metadata. |
|
string |
Dataset name. |
|
LocalizedText |
Dataset description. |
|
GUID |
Dataset class identifier. |
|
table |
Contains |
|
array of tables |
Dataset field metadata. |
Metadata Fields
Field |
Type |
Notes |
|---|---|---|
|
string |
Field name. |
|
LocalizedText |
Field description. |
|
number |
Field flags. |
|
number |
Built-in type identifier. |
|
NodeId |
Data type NodeId. |
|
Int32 |
Value rank. |
|
array |
Array dimensions. |
|
UInt32 |
Maximum string length. |
|
GUID |
Dataset field identifier. |
|
array |
Field properties. Each property has |