Add basic LEGIC RF communication in tag simulation mode

This commit is contained in:
henryk@ploetzli.ch 2009-10-12 11:47:39 +00:00
parent bb4d2cca76
commit a7247d858b
6 changed files with 200 additions and 1 deletions

View file

@ -207,6 +207,13 @@ static void CmdHi14asnoop(char *str)
SendCommand(&c, FALSE);
}
static void CmdLegicRfSim(char *str)
{
UsbCommand c;
c.cmd = CMD_SIMULATE_TAG_LEGIC_RF;
SendCommand(&c, FALSE);
}
static void CmdFPGAOff(char *str) // ## FPGA Control
{
UsbCommand c;
@ -2900,6 +2907,7 @@ static struct {
{"indalademod", CmdIndalademod, 0, "['224'] -- Demodulate samples for Indala 64 bit UID (option '224' for 224 bit)"},
{"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"},
{"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)"},