DataSetMessage Header Parsing -Understanding the meaning from Spec|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
DataSetMessage Header Parsing -Understanding the meaning from Spec
Avatar
Jothi Sankarraj
Member
Members
Forum Posts: 29
Member Since:
04/09/2019
sp_UserOfflineSmall Offline
1
08/20/2019 - 05:26
sp_Permalink sp_Print

The OPC UA PubSub spec., version 1.04, Part 14 on page 70, Table 81 - DataSetMessage Header Structure says that:

The DataSetFlags2 shall be omitted if bit 7 of the DataSetFlags1 is false. If the field is omitted, the Subscriber shall handle the related bits as false!

I have now 2 questions interpreting this statement:

1. Does it mean that if the bit 7 of the DataSetFlags1 is false, then I don't have the DataSetFlags2 as a byte in the message at all?

2. What does it mean "Subscriber shall handle the related bits as false" - Does it mean that I still read the Byte as DataSetFlags2, but assume that every flag in the Byte is false?

Avatar
Randy Armstrong
Admin
Forum Posts: 1472
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
08/20/2019 - 16:23
sp_Permalink sp_Print

1) yes

2) it means that your code treats a missing DataSetFlags2 the sames as DataSetFlags2==0

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 17
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1366
Posts: 4625