]>
cvs.zerfleddert.de Git - proxmark3-svn/blob - client/cmdlfcotag.c
11be2db8024e83d92f030406040b5a373d642f86
   1 //----------------------------------------------------------------------------- 
   4 // This code is licensed to you under the terms of the GNU GPL, version 2 or, 
   5 // at your option, any later version. See the LICENSE.txt file for the text of 
   7 //----------------------------------------------------------------------------- 
   8 // Low frequency COTAG commands 
   9 //----------------------------------------------------------------------------- 
  10 #include "cmdlfcotag.h"  // COTAG function declarations 
  12 static int CmdHelp(const char *Cmd
); 
  14 int CmdCOTAGRead(const char *Cmd
) { 
  16 //      if (Cmd[0] == 'h' || Cmd[0] == 'H') return usage_lf_cotag_read(); 
  18         UsbCommand c 
= {CMD_COTAG
, {0, 0, 0}}; 
  21         if ( !WaitForResponseTimeout(CMD_ACK
, NULL
, 2500) ) { 
  22                 //PrintAndLog("command execution time out"); 
  26         //return CmdFSKdemodAWID(Cmd); 
  30 static command_t CommandTable
[] = { 
  31         {"help",      CmdHelp
,         1, "This help"}, 
  32         {"read",      CmdCOTAGRead
,     0, "Attempt to read and extract tag data"}, 
  36 int CmdLFCOTAG(const char *Cmd
) { 
  38         CmdsParse(CommandTable
, Cmd
); 
  42 int CmdHelp(const char *Cmd
) { 
  43         CmdsHelp(CommandTable
);