View Issue Details

IDProjectCategoryView StatusLast Update
000342610000-006: MappingsSpecpublic2016-05-17 15:47
ReporterMatthias Damm Assigned Torandyarmstrong  
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.03 
Target Version1.03 
Summary0003426: Issues with encoding mask length for structures with optional fields
Description

The encoding mask for the structure with optional fields has a changing size between 1 and 4 byte but the switch field of the Union is always 4 byte.

One problem is that there is no actual size indication of the encoding mask in the protocol. We always said a client that understands the base structure type is able to decode at least the known part of a derived type. This is not possible if the encoding mask size changes in a derived type.

Another problem ist that all existing implementations are using a fixed size 4 byte encoding mask since the definition was fixed to 4 byte until the final release candidate. Products implementing BACnet and AutoID information models are using these implementations and there will be a major interop issue that cannot be detected automatically.

TagsNo tags attached.
Commit Version
Fix Due Date

Activities

Jim Luth

2016-05-03 15:38

administrator   ~0006854

Agreed in telecon to change the spec to a fixed 4-byte mask. This will match all existing implementations. This will require a 1.03 Errata.

randyarmstrong

2016-05-15 06:22

administrator   ~0006923

State that EncodingMasks are always 32-bit values in 5.2.6 in 1.04 Draft 01.

Jim Luth

2016-05-17 15:47

administrator   ~0006929

Agreed to changes in 1.04 and 1.03 Errata.

Issue History

Date Modified Username Field Change
2016-05-03 10:55 Matthias Damm New Issue
2016-05-03 15:38 Jim Luth Note Added: 0006854
2016-05-03 15:38 Jim Luth Assigned To => randyarmstrong
2016-05-03 15:38 Jim Luth Status new => assigned
2016-05-15 06:22 randyarmstrong Note Added: 0006923
2016-05-15 06:22 randyarmstrong Status assigned => resolved
2016-05-15 06:22 randyarmstrong Resolution open => fixed
2016-05-17 15:47 Jim Luth Note Added: 0006929
2016-05-17 15:47 Jim Luth Status resolved => closed
2016-05-17 15:47 Jim Luth Fixed in Version => 1.04