]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhflegic.c
CHG: "hf legic write" with these I managed to get one byte written. Its a start.
[proxmark3-svn] / client / cmdhflegic.c
index 50c2976f394bc536d1c97eb72d64b55ba100fc36..1b323796f97fa8b23b4840a35a729e0b35781219 100644 (file)
@@ -732,7 +732,7 @@ int CmdLegicRfWrite(const char *Cmd) {
        clearCommandBuffer();
     SendCommand(&c);
        UsbCommand resp;
-       if (!WaitForResponseTimeout(CMD_ACK, &resp, 2000)) {
+       if (!WaitForResponseTimeout(CMD_ACK, &resp, 4000)) {
                PrintAndLog("command execution time out");
                return 1;
        }
@@ -1158,7 +1158,7 @@ static command_t CommandTable[] =  {
        {"save",        CmdLegicSave,           0, "<filename> [<length>] -- Store samples"},
        {"load",        CmdLegicLoad,           0, "<filename> -- Restore samples"},
        {"sim",         CmdLegicRfSim,          0, "[phase drift [frame drift [req/resp drift]]] Start tag simulator (use after load or read)"},
-       {"write",       CmdLegicRfWrite,        0, "<offset> <length> <iv> -- Write sample buffer (user after load or read)"},
+       {"write",       CmdLegicRfWrite,        0, "Write data to tag"},
        {"crc",         CmdLegicCalcCrc,        1, "Calculate Legic CRC over given hexbytes"},  
        {"eload",       CmdLegicELoad,          1, "Load binary dump to emulator memory"},
        {"esave",       CmdLegicESave,          1, "Save emulator memory to binary file"},
Impressum, Datenschutz