Skip to content

Commit

Permalink
Fixup per PR comments: Revert DocTypeReadVersion, use UnicodeElement …
Browse files Browse the repository at this point in the history
…(UTF-8) for SourceName.
  • Loading branch information
tgipsonMIDE committed Feb 14, 2024
1 parent 605cda7 commit 77ec277
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions idelib/schemata/mide_ide.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<UIntegerElement name="EBMLMaxSizeLength" id="0x42F3" multiple="0" mandatory="1" default="8" minver="1">The maximum length of the sizes you'll find in this file (8 or less in Matroska). This does not override the element size indicated at the beginning of an element. Elements that have an indicated size which is larger than what is allowed by EBMLMaxSizeLength shall be considered invalid.</UIntegerElement>
<StringElement name="DocType" id="0x4282" multiple="0" mandatory="1" default="mide" minver="1">A string that describes the type of document that follows this EBML header. 'mide' for Mide Instrumentation Data Exchange files.</StringElement>
<UIntegerElement name="DocTypeVersion" id="0x4287" multiple="0" mandatory="1" default="4" minver="1">The version of DocType interpreter used to create the file.</UIntegerElement>
<UIntegerElement name="DocTypeReadVersion" id="0x4285" multiple="0" mandatory="1" default="4" minver="1">The minimum DocType version an interpreter has to support to read this file.</UIntegerElement>
<UIntegerElement name="DocTypeReadVersion" id="0x4285" multiple="0" mandatory="1" default="3" minver="1">The minimum DocType version an interpreter has to support to read this file.</UIntegerElement>
<BinaryElement name="Void" global="1" id="0xEC" multiple="1" minver="1">Used to void damaged data, to avoid unexpected behaviors when using damaged data. The content is discarded. Also used to reserve space in a sub-element for later use.</BinaryElement>
<BinaryElement name="CRC-32" global="1" id="0xBF" multiple="0" minver="1" webm="0">The CRC is computed on all the data of the Master element it's in. The CRC element should be the first in its parent master for easier reading. All level 1 elements should include a CRC-32. The CRC in use is the IEEE CRC32 Little Endian</BinaryElement>
<MasterElement name="SignatureSlot" global="1" id="0x1B538667" multiple="1" webm="0">Contain signature of some (coming) elements in the stream.
Expand Down Expand Up @@ -110,7 +110,7 @@
<StringElement name="SensorSerialNumber" id="0x5251" multiple="0" minver="2">Sensor manufacturer-supplied serial number, if any.</StringElement>
<!-- Child elements TBD... -->
</MasterElement>
<StringElement name="SourceName" id="0x5260" multiple="0" minver="4">Human-friendly source (authority, network, or other source-of-truth) name for generic/virtual sensor types, particularly 'time' sensors.</StringElement>
<UnicodeElement name="SourceName" id="0x5260" multiple="0" minver="4">Human-friendly source (authority, network, or other source-of-truth) name for generic/virtual sensor types, particularly 'time' sensors.</UnicodeElement>
<StringElement name="SourceIdentifier" id="0x5261" multiple="0" minver="4">Machine-readable, uniquely identifying hash identifying source equivalency for comparing relative sources, particularly 'time' sensors.</StringElement>
<UIntegerElement name="IsRelative" id="0x5262" multiple="0" minver="4" default="0">0 if sensor values are Absolute (default), 1 if values are Relative (have an unknown offset), e.g. AC-coupled measurements or time values with an unknown Epoch.</UIntegerElement>

Expand Down

0 comments on commit 77ec277

Please sign in to comment.