Add detector header and $FSEQ line to every log file - #45
Closed
roman-dvorak wants to merge 12 commits into
Closed
Conversation
…ficTechnologies/AIRDOS04 into feature/log-header-fseq
…ficTechnologies/AIRDOS04 into feature/log-header-fseq, extended build
Member
Author
|
Takhle aktuálně vypadá hlavička z AIRDOS04C: |
Member
|
Ok, akorát to pro mne není samovysvětlující, takže je to potřeba zdokumentovat. |
Update usb device rules.
The log header was snapshotted once at measurement start with the initial $TIME line, then reused verbatim on every file rotation, so every rotated file carried the original timestamp instead of its actual creation time. Snapshot logHeader without $TIME and append a fresh line from the RTC for each file. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Collaborator
|
Since repository requires verified commits, this branch was squashed into single commit, with CL which creates signed commit and this branch was merged into master. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request improves the AIRDOS04 firmware's SD card logging by ensuring that every log file—both the initial file and all rotated files—starts with a complete device identification header and a new
$FSEQline indicating the file's sequence within a measurement session. The documentation is updated to reflect these changes and to describe the new$FSEQline.Firmware changes:
$DOS,$DIG,$ADC,$BATP,$TIME) and a$FSEQline containing the file sequence number and the measurement session's Unix start time. This ensures each file is self-identifying and can be analyzed independently. [1] [2]logHeader,measurement_start_unix_time, andfile_seqto track and reproduce the header and sequence information across file rotations.Documentation updates:
OUTPUT_FORMAT.mdto specify that the device identification header and$FSEQline are written at the start of every log file, not just the first. The new$FSEQline is documented, including format, parameters, and examples. [1] [2] [3]