SendCommand(&c);\r
}\r
\r
-static void CmdLegicRfSim(char *str)\r
-{\r
- UsbCommand c={CMD_SIMULATE_TAG_LEGIC_RF};\r
- SendCommand(&c);\r
-}\r
-\r
static void CmdLegicRfRead(char *str)\r
{\r
UsbCommand c={CMD_READER_LEGIC_RF};\r
{"indalademod", CmdIndalademod, 0, "['224'] -- Demodulate samples for Indala 64 bit UID (option '224' for 224 bit)"},\r
{"lcd", CmdLcd, 0, "<HEX command> <count> -- Send command/data to LCD"},\r
{"lcdreset", CmdLcdReset, 0, "Hardware reset LCD"},\r
- {"legicrfsim", CmdLegicRfSim, 0, "Start the LEGIC RF tag simulator"},\r
{"legicrfread", CmdLegicRfRead, 0, "Start the LEGIC RF reader"},\r
{"load", CmdLoad, 1, "<filename> -- Load trace (to graph window"},\r
{"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)"},\r
if (c->cmd != CMD_DOWNLOADED_RAW_ADC_SAMPLES_125K) goto unexpected_response;\r
int i;\r
for(i=0; i<48; i++) sample_buf[i] = c->d.asBytes[i];\r
- printf("stored 48 samples\n");\r
received_command = c->cmd;\r
return;\r
default:\r