Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new Sensor elements (mainly) for handling relative time sources (… #147

Merged
merged 3 commits into from
Feb 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion idelib/schemata/mide_ide.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<UIntegerElement name="EBMLMaxIDLength" id="0x42F2" multiple="0" mandatory="1" default="4" minver="1">The maximum length of the IDs you'll find in this file (4 or less in Matroska).</UIntegerElement>
<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="3" minver="1">The version of DocType interpreter used to create the file.</UIntegerElement>
<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="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>
Expand Down Expand Up @@ -110,6 +110,10 @@
<StringElement name="SensorSerialNumber" id="0x5251" multiple="0" minver="2">Sensor manufacturer-supplied serial number, if any.</StringElement>
<!-- Child elements TBD... -->
</MasterElement>
<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>

</MasterElement>
</MasterElement>

Expand Down
Loading