#define CLASS 0x00 #define SELECT(size,data,buffer,len) GetCommand(CLASS,0xa4,0,0,size,data,buffer,len) #define READBIN(high,low,size,data,buffer,len) GetCommand(CLASS,0xb0,high,low,size,data,buffer,len) #define WRITEBIN(high,low,size,data,buffer,len) GetCommand(CLASS,0xd0,high,low,size,data,buffer,len) #define ERASEBIN(high,low,size,data,buffer,len) GetCommand(CLASS,0x0e,high,low,size,data,buffer,len) #define VERIFY( keynumber,size,data,buffer,len) GetCommand(CLASS,0x2a,00,keynumber,size,data,buffer,len) #define GETRESPONSE(size,len) GetCommand(CLASS,0xc0,00,00,size,data,buffer,len) #define UPDATEBIN(high,low,size,data,buffer,len) GetCommand(CLASS,0xd6,high,low,size,data,buffer,len) #define DO_TRANSMIT(PROTOCOL,NEG) if( more_details ) { \ myprintf("\n") ; \ for(j=0;j