View Issue Details

IDProjectCategoryView StatusLast Update
001015410000-014: PubSubSpecpublic2025-02-13 16:27
ReporterMatthias Damm Assigned ToMatthias Damm  
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Product Version1.05.04 
Target Version1.05.06 RC1 
Summary0010154: Describe handling of Bad and Uncertain status in JSON Variant field encoding
Description

6.2.4.2 DataSetFieldContentMask
Table 34 – DataSetMessage field representation options

Based on this definition, we get the following three options for the Variant encoding (RawData is not set):
(a) the value encoded as the built-in type
(b) the bad status encoded as StatusCode
(c) the uncertain status and the value encoded as DataValue

This should be described in the details for 0010146 and the difference to RawData

Additional Information

We should also discuss the option to use DataValue for (b) and (c) to reduce the number of special cases

TagsNo tags attached.
Commit Version
Fix Due Date

Relationships

related to 0010146 new Rules for DataSetMessage JSON encoding need more details 

Activities

Matthias Damm

2025-02-13 15:15

developer   ~0022395

Discussed in MQTT plug-fest wrap-up meeting:

We decided to skip (c) and just sent the value plus Uncertain_SubNormal in this case.
Still need to describe the cases in the extended DataSetMessage clarification section.

Matthias Damm

2025-02-13 15:25

developer   ~0022396

Last edited: 2025-02-13 15:34

One open issue is left for RawData and Minimal layout:
The table defines that a bad status results in use of default value for the field and a uncertain code in the header. But the Minimal layout does not have a header.

Solution:
We copy the table, change the old one to be just valid for UADP.
The JSON version would handle RawData like Variant and would send the bad status instead of the value.

Issue History

Date Modified Username Field Change
2025-02-12 16:18 Matthias Damm New Issue
2025-02-12 16:18 Matthias Damm Relationship added related to 0010146
2025-02-12 16:41 Matthias Damm Additional Information Updated
2025-02-13 15:06 Matthias Damm Assigned To => Matthias Damm
2025-02-13 15:06 Matthias Damm Status new => assigned
2025-02-13 15:15 Matthias Damm Note Added: 0022395
2025-02-13 15:25 Matthias Damm Note Added: 0022396
2025-02-13 15:34 Matthias Damm Note Edited: 0022396