View Issue Details

IDProjectCategoryView StatusLast Update
000742510000-014: PubSubSpecpublic2023-06-23 13:31
ReporterMatthias Damm Assigned ToMatthias Damm  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.04 
Target Version1.05.03 RC1Fixed in Version1.05.03 RC1 
Summary0007425: Restrictions for event JSON DataSetMessages
Description

UADP DataSetMessages
Table 145 – Event DataSetMessage structure
DataSetFields defines:
The fields of Event DataSetMessages shall be encoded as Variant.

We need a similar restriction for JSON DataSetMessages for events

TagsNo tags attached.
Commit Version
Fix Due Date

Relationships

related to 0006308 closedMatthias Damm Clarify how a JSON PubSub message is encoded 

Activities

Matthias Damm

2021-11-24 09:51

developer   ~0015377

There are different “open” issues with the “event” topic.
The definition in the UADP message type is probably the wrong place and too restricting.

The Variant representation is mainly needed for PublishedDataSet that are created based on real OPC UA events.
But the event messages can also be produced for other event like sources e.g. a list of variable values sent based on a trigger. We recently added a clarification that this depends not only on the type of PublishedDataSet but mainly on the KeyFrameCount == 0.

Matthias Damm

2021-11-24 09:59

developer   ~0015378

Input from Zbynek:

Table 24 – DataSetFieldContentMask Values
I think that the following is still not quite clear:
If one of the bits 0 to 4 is set, the fields are represented as DataValue.

The sentence should probably read “If the RawData flag is not set and one of the bits 0 to 4 is set, the fields are represented as DataValue.”, otherwise it is in conflict with the sentence that precedes it.

But my main concern is again with the Event messages. I understand that the event fields needs to be encoded as Variant. The spec should say, at this place, what happens if one of bits 0-4 is set but bit 5 is not set and we are dealing with an Event message. Which rule wins? Should the event fields then be encoded as DataValue, or as Variant? If as Variant, it really has to state it at this place, because currently the only interpretation it allows is that it will be a DataValue.

Matthias Damm

2023-03-19 04:10

developer   ~0018892

Should be discussed in F2F

Matthias Damm

2023-06-22 18:34

developer   ~0019659

Table 164 – JSON DataSetMessage definition
Payload
Added:
For MessageType “ua-event”, only Variant or RawData encoding shall be allowed. If bits for DataValue encoding are set, the Variant encoding shall be used.

Aggreed on change in meeting, needs errata for 1.04

Jim Luth

2023-06-23 13:31

administrator   ~0019664

Agreed to 1.04 Errata.

Issue History

Date Modified Username Field Change
2021-11-22 20:19 Matthias Damm New Issue
2021-11-22 20:19 Matthias Damm Status new => assigned
2021-11-22 20:19 Matthias Damm Assigned To => Matthias Damm
2021-11-24 09:51 Matthias Damm Note Added: 0015377
2021-11-24 09:59 Matthias Damm Note Added: 0015378
2022-03-10 18:42 Matthias Damm Relationship added related to 0006308
2022-07-05 14:17 Jim Luth Target Version 1.05.02 => 1.05.03 RC1
2023-03-19 04:10 Matthias Damm Note Added: 0018892
2023-06-22 18:34 Matthias Damm Status assigned => resolved
2023-06-22 18:34 Matthias Damm Resolution open => fixed
2023-06-22 18:34 Matthias Damm Fixed in Version => 1.05.03 RC1
2023-06-22 18:34 Matthias Damm Note Added: 0019659
2023-06-23 13:31 Jim Luth Status resolved => closed
2023-06-23 13:31 Jim Luth Note Added: 0019664