OPC UA Pub Sub Discovery Request Header Parsing|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
OPC UA Pub Sub Discovery Request Header Parsing
Avatar
Jothi Sankarraj
Member
Members
Forum Posts: 29
Member Since:
04/09/2019
sp_UserOfflineSmall Offline
1
07/30/2019 - 05:22
sp_Permalink sp_Print

In the OPC UA Part 14 - PubSub Release 1.04 specification, page number 75, it says about how to parse the Discovery Request Header. Assuming that the RequestType is Publisher information request message, I then look in the Table 86 where it is described about how to parse the "Publisher Information Request Message Type". In that table, after parsing the InformationType which is 1 Byte long, I need to parse the DataSetWriterIds. So the question is, how do I know how many DataSetWriterIds I should be parsing? Is there a count or size information that I can use to parse those many DataSetWriterId? 

Can someone please help me with this?

Avatar
Christian Winter
Member
Members
Forum Posts: 6
Member Since:
07/03/2020
sp_UserOfflineSmall Offline
2
08/06/2020 - 03:08
sp_Permalink sp_Print

The answer may be a little late, but maybe someone still might find it useful.

The count of elements is provided within the encoded array as specified in Part 6 of the standard: https://reference.opcfoundatio.....rt6/5.2.5/.

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: 1341
Posts: 4545