diff --git a/client/src/pm3line_vocabulary.h b/client/src/pm3line_vocabulary.h index 81cd5c730..b872b9413 100644 --- a/client/src/pm3line_vocabulary.h +++ b/client/src/pm3line_vocabulary.h @@ -629,15 +629,15 @@ const static vocabulary_t vocabulary[] = { { 0, "hf seos sim" }, { 1, "hf seos managekeys" }, { 1, "hf st25ta help" }, + { 0, "hf st25ta eload" }, + { 0, "hf st25ta esave" }, + { 0, "hf st25ta eview" }, { 0, "hf st25ta info" }, { 1, "hf st25ta list" }, { 1, "hf st25ta ndefread" }, { 0, "hf st25ta protect" }, { 0, "hf st25ta pwd" }, { 0, "hf st25ta sim" }, - { 0, "hf st25ta eload" }, - { 0, "hf st25ta esave" }, - { 0, "hf st25ta eview" }, { 1, "hf tesla help" }, { 0, "hf tesla info" }, { 1, "hf tesla list" }, diff --git a/doc/commands.json b/doc/commands.json index 034d60691..b7635bd09 100644 --- a/doc/commands.json +++ b/doc/commands.json @@ -10227,13 +10227,58 @@ ], "usage": "hf sniff [-h] [--sp ] [--st ] [--smode [none|drop|min|max|avg]] [--sratio ]" }, + "hf st25ta esave": { + "command": "hf st25ta esave", + "description": "Save ST25TA emulator memory NDEF response to file", + "notes": [ + "hf st25ta esave", + "hf st25ta esave -f hf-st25ta-ndef" + ], + "offline": false, + "options": [ + "-h, --help This help", + "-f, --file Specify a filename for dump file" + ], + "usage": "hf st25ta esave [-h] [-f ]" + }, + "hf st25ta eview": { + "command": "hf st25ta eview", + "description": "Display ST25TA emulator memory", + "notes": [ + "hf st25ta eview", + "hf st25ta eview -v" + ], + "offline": false, + "options": [ + "-h, --help This help", + "-v, --verbose verbose NDEF output" + ], + "usage": "hf st25ta eview [-hv]" + }, "hf st25ta help": { "command": "hf st25ta help", - "description": "help This help list List ISO 14443A/7816 history ndefread read NDEF file on tag --------------------------------------------------------------------------------------- hf st25ta info available offline: no Get info about ST25TA tag", + "description": "help This help list List ISO 14443A/7816 history ndefread read NDEF file on tag --------------------------------------------------------------------------------------- hf st25ta eload available offline: no Load ST25TA NDEF response into emulator memory", + "notes": [ + "hf st25ta eload --ndef 001BD1011754027A68A234CBD0E203C73E620BE8C63C852CC5313131329000", + "hf st25ta eload -f my-ndef.bin", + "hf st25ta eload -u 02E2007D0FCA4C -f my-ndef.bin" + ], + "offline": true, + "options": [ + "-h, --help This help", + "-u, --uid optional 7 byte UID to store for simulation", + "--ndef NDEF data or full READ BINARY response", + "-f, --file load NDEF data or full READ BINARY response from file" + ], + "usage": "hf st25ta eload [-h] [-u ] [--ndef ] [-f ]" + }, + "hf st25ta info": { + "command": "hf st25ta info", + "description": "Get info about ST25TA tag", "notes": [ "hf st25ta info" ], - "offline": true, + "offline": false, "options": [ "-h, --help This help" ], @@ -10313,16 +10358,17 @@ }, "hf st25ta sim": { "command": "hf st25ta sim", - "description": "Emulating ST25TA512B tag with 7 byte UID", + "description": "Emulating ST25TA512B tag. Uses NDEF data from `hf st25ta eload` if loaded.", "notes": [ - "hf st25ta sim -u 02E2007D0FCA4C" + "hf st25ta sim -u 02E2007D0FCA4C", + "hf st25ta sim" ], "offline": false, "options": [ "-h, --help This help", "-u, --uid 7 byte UID" ], - "usage": "hf st25ta sim [-h] -u " + "usage": "hf st25ta sim [-h] [-u ]" }, "hf tesla help": { "command": "hf tesla help", diff --git a/doc/commands.md b/doc/commands.md index a19c0ff3f..7c281657d 100644 --- a/doc/commands.md +++ b/doc/commands.md @@ -896,6 +896,9 @@ Check column "offline" for their availability. |command |offline |description |------- |------- |----------- |`hf st25ta help `|Y |`This help` +|`hf st25ta eload `|N |`Upload NDEF response into emulator memory` +|`hf st25ta esave `|N |`Save emulator memory to file` +|`hf st25ta eview `|N |`View emulator memory` |`hf st25ta info `|N |`Tag information` |`hf st25ta list `|Y |`List ISO 14443A/7816 history` |`hf st25ta ndefread `|Y |`read NDEF file on tag`