Hf sniff renamed to hf trace#433
Open
nieldk wants to merge 8 commits into
Open
Conversation
Fix indentation in exception handling block and remove commented-out code.
[chameleon] hf 14a sniff --timeout 10000 --save mycap.cusn ...captures and displays live, also writes mycap.cusn... [chameleon] hf 14a sniff-load -i mycap.cusn ...re-displays the saved capture offline, no device needed... [chameleon] hf 14a sniff-export-pm3 -i mycap.cusn -o mycap.trace ...converts to pm3 trace format... On PM3 device (for test) pm3 --> trace load -f mycap.trace pm3 --> hf 14a list Heads-up on the pm3 format: the trace format I implemented is a best-guess for Iceman fork. If pm3 still errors on the converted file, this is the function to tweak: write_pm3_trace() in hf14a_sniff_io.py. The most likely fixes if it doesn't load: Try --magic NONE to skip the magic bytes (some pm3 versions auto-detect format) Endianness or field-order in the per-frame header, check pm3's cmdtrace.c source for tracelog_hdr_t or similar struct definitions Timestamp scale, I used 13.56 MHz / 16 (847.5 kHz, ~1.18μs/tick); some pm3 versions use raw 13.56 MHz ticks
|
You are welcome to add an entry to the CHANGELOG.md as well |
Built artifacts for commit 6e5c73aFirmwareClient |
Contributor
|
I followed the discussion at discord. Legit change to me, to make more clear what the feature does. Similar to PM3 functions. |
ADD pm3 trace export/import
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.
Hf sniff renamed to hf trace.
Added option for saving/loading captured data