Where do I find more information on how to parse DataSetFieldFlags? I'm referring to Part 6 and Part 14 and all I could find is the following:
This unfortunately is not enough for me to parse the incoming bytes!
This DataType defines flags for DataSet fields.
The DataSetFieldFlags is formally defined in Table 6.
Table 6 – DataSetFieldFlags Values
Value Bit No. Description PromotedField 0 The flag indicates if the field is promoted to the NetworkMessages or transport protocol header.
Setting this flag increases the size of the NetworkMessages since information from the DataSetMessage body is also promoted to the header.
Depending on the used security, the header including the field may be unencrypted. Promoted fields are always included in the header even if the DataSetMessage payload is a delta frame and the DataSet field is not included in the delta frame. In this case the last sent value is sent in the header.
The order of the fields in the DataSetMetaData promoted to the header shall match the order of the fields in the header unless the header includes field names.
Following that table you see:
The DataSetFieldFlags representation in the AddressSpace is defined in Table 7.
In Table 7 you see:
Subtype of UInt16 defined in Part 5.
HasProperty Variable OptionSetValues LocalizedText [ ]
This tells you the value is encoded as a UInt16 and the text values associated with the bits can be found by reading the OptionSetValues property.