lf destron: implement sim, refuse uids the frame can't carry

lf destron sim only printed "To be implemented". It now sends the
frame that lf destron clone writes, FSK2 RF/50 as in the clone's T5577
config. Both take 5 bytes of 00-7F: clone wrote a byte above 7F
without its top bit and padded a short uid with FF of bad parity.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Gabriele GristinaandClaude Opus 5.5 committed 2026-11-07 20:01:51 +01:00
1 parent 9928112931
commit 5bc67a0d1c
4 files changed
+89 -25

No files matched your search

+7 -6
View File
@@ -11796,7 +11796,7 @@
"offline": false,
"options": [
"-h, --help This help",
"-u, --uid <hex> 5 bytes max",
"-u, --uid <hex> 5 hex bytes, 00-7F each",
"--q5 optional - specify writing to Q5/T5555 tag",
"--em optional - specify writing to EM4305/4469 tag"
],
@@ -11829,15 +11829,16 @@
},
"lf destron sim": {
"command": "lf destron sim",
"description": "Try to find Destron preamble, if found decode / descramble data",
"description": "Enables simulation of Destron card with specified uid. Simulation runs until the button is pressed or another USB command is issued.",
"notes": [
"lf destron sim"
"lf destron sim --uid 1A2B3C4D5E"
],
"offline": false,
"options": [
"-h, --help This help"
"-h, --help This help",
"-u, --uid <hex> 5 hex bytes, 00-7F each"
],
"usage": "lf destron sim [-h]"
"usage": "lf destron sim [-h] -u <hex>"
},
"lf em 410x brute": {
"command": "lf em 410x brute",
@@ -16812,6 +16813,6 @@
"metadata": {
"commands_extracted": 936,
"extracted_by": "PM3Help2JSON v1.00",
"extracted_on": "2026-11-06T22:34:07+00:00"
"extracted_on": "2026-11-07T18:51:39+00:00"
}
}