mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-07 05:31:17 -07:00
Add basic communication shell for Legic RF in reader mode. Needs the new receive function of hi_read_tx.
This commit is contained in:
parent
24fe4dffb4
commit
dcc10e5e31
5 changed files with 152 additions and 0 deletions
|
@ -214,6 +214,13 @@ static void CmdLegicRfSim(char *str)
|
|||
SendCommand(&c, FALSE);
|
||||
}
|
||||
|
||||
static void CmdLegicRfRead(char *str)
|
||||
{
|
||||
UsbCommand c;
|
||||
c.cmd = CMD_READER_LEGIC_RF;
|
||||
SendCommand(&c, FALSE);
|
||||
}
|
||||
|
||||
static void CmdFPGAOff(char *str) // ## FPGA Control
|
||||
{
|
||||
UsbCommand c;
|
||||
|
@ -2908,6 +2915,7 @@ static struct {
|
|||
{"lcd", CmdLcd, 0, "<HEX command> <count> -- Send command/data to LCD"},
|
||||
{"lcdreset", CmdLcdReset, 0, "Hardware reset LCD"},
|
||||
{"legicrfsim", CmdLegicRfSim, 0, "Start the LEGIC RF tag simulator"},
|
||||
{"legicrfread", CmdLegicRfRead, 0, "Start the LEGIC RF reader"},
|
||||
{"load", CmdLoad, 1, "<filename> -- Load trace (to graph window"},
|
||||
{"locomread", CmdLoCommandRead, 0, "<off period> <'0' period> <'1' period> <command> ['h'] -- Modulate LF reader field to send command before read (all periods in microseconds) (option 'h' for 134)"},
|
||||
{"loread", CmdLoread, 0, "['h'] -- Read 125/134 kHz LF ID-only tag (option 'h' for 134)"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue