lf keri: refuse values the frame can't carry, print the sim id
clone took negative FC and CN, and MS values above 5 and 22 bits, without a word: MS FC 40 wrote the card of FC 8. sim let ids of 32 bits or more change the fixed bits, so --id 2147483648 simulated id 0, and printed the shifted frame as Internal Id. The sim help example used --cn, the option is --id, and the clone hint named lf keri read. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f90d0d0bf9
commit
49e5b502f5
4 files changed
+30
-8
No files matched your search
@@ -614,6 +614,7 @@ while true; do
|
||||
if ! CheckExecute "lf T55 keri_msid test" "$CLIENTBIN -c 'data load -f traces/lf_ATA5577_keri_msid.pm3; lf search -1'" "KERI ID found"; then break; fi
|
||||
if ! CheckExecute "lf T55 keri_msid test 2" "$CLIENTBIN -c 'data load -f traces/lf_ATA5577_keri_msid.pm3; lf keri demod'" \
|
||||
"Descrambled MS - FC: 6 Card: 12345"; then break; fi
|
||||
if ! CheckExecute "lf keri sim help example" "$CLIENTBIN -c 'lf keri sim -h'" "lf keri sim --id 112233"; then break; fi
|
||||
# if ! CheckExecute "lf T55 motorola test" "$CLIENTBIN -c 'data load -f traces/lf_ATA5577_motorola.pm3; lf search -1'" "Indala ID found"; then break; fi
|
||||
if ! CheckExecute "lf T55 motorola test 2" "$CLIENTBIN -c 'data load -f traces/lf_ATA5577_motorola.pm3; lf motorola demod'" \
|
||||
"Motorola - fmt: 26 FC: 258 Card: 2, Raw: A0000000A0002021"; then break; fi
|
||||
|
||||
Reference in new issue
Block a user