mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-13 18:17:25 -07:00
use PrintAndLogEx() instead of PrintAndLog()
This commit is contained in:
parent
f0314562f7
commit
668b44ba26
4 changed files with 13 additions and 14 deletions
|
@ -955,7 +955,7 @@ int CmdDetectClockRate(const char *Cmd)
|
|||
clock = GetPskClock("", true);
|
||||
break;
|
||||
default :
|
||||
PrintAndLog ("Please specify a valid modulation to detect the clock of - see option h for help");
|
||||
PrintAndLogEx(NORMAL, "Please specify a valid modulation to detect the clock of - see option h for help");
|
||||
break;
|
||||
}
|
||||
RepaintGraphWindow();
|
||||
|
|
|
@ -553,9 +553,9 @@ bool HF14B_Other_Reader(){
|
|||
// WaitForResponse(CMD_ACK,&resp);
|
||||
|
||||
// if (datalen > 2 ) {
|
||||
// printandlog ("\n14443-3b tag found:");
|
||||
// printandlog ("unknown tag type answered to a 0x000b3f80 command ans:");
|
||||
// //printandlog ("%s", sprint_hex(data, datalen));
|
||||
// PrintAndLogEx(NORMAL, "\n"); PrintAndLogEx(NORMAL, "14443-3b tag found:");
|
||||
// PrintAndLogEx(NORMAL, "unknown tag type answered to a 0x000b3f80 command ans:");
|
||||
// //PrintAndLogEx(NORMAL, "%s", sprint_hex(data, datalen));
|
||||
// rawclose();
|
||||
// return true;
|
||||
// }
|
||||
|
@ -568,9 +568,9 @@ bool HF14B_Other_Reader(){
|
|||
// WaitForResponse(CMD_ACK, &resp);
|
||||
|
||||
// if (datalen > 0) {
|
||||
// PrintAndLog ("\n14443-3b tag found:");
|
||||
// PrintAndLog ("Unknown tag type answered to a 0x0A command ans:");
|
||||
// // PrintAndLog ("%s", sprint_hex(data, datalen));
|
||||
// PrintAndLogEx(NORMAL, "\n"); PrintAndLogEx(NORMAL, "14443-3b tag found:");
|
||||
// PrintAndLogEx(NORMAL, "Unknown tag type answered to a 0x0A command ans:");
|
||||
// // PrintAndLogEx(NORMAL, "%s", sprint_hex(data, datalen));
|
||||
// rawClose();
|
||||
// return true;
|
||||
// }
|
||||
|
@ -583,9 +583,9 @@ bool HF14B_Other_Reader(){
|
|||
// WaitForResponse(CMD_ACK, &resp);
|
||||
|
||||
// if (datalen > 0) {
|
||||
// PrintAndLog ("\n14443-3b tag found:");
|
||||
// PrintAndLog ("Unknown tag type answered to a 0x0C command ans:");
|
||||
// PrintAndLog ("%s", sprint_hex(data, datalen));
|
||||
// PrintAndLogEx(NORMAL, "\n"); PrintAndLogEx(NORMAL, "14443-3b tag found:");
|
||||
// PrintAndLogEx(NORMAL, "Unknown tag type answered to a 0x0C command ans:");
|
||||
// PrintAndLogEx(NORMAL, "%s", sprint_hex(data, datalen));
|
||||
// rawClose();
|
||||
// return true;
|
||||
// }
|
||||
|
|
|
@ -376,7 +376,6 @@ void annotateMfDesfire(char *exp, size_t size, uint8_t* cmd, uint8_t cmdsize){
|
|||
pos = pos + 1;
|
||||
if ( (cmd[0] & 0x04) == 0x04) // nad byte following
|
||||
pos = pos + 1;
|
||||
|
||||
switch ( cmd[pos] ){
|
||||
case MFDES_CREATE_APPLICATION :snprintf(exp, size, "CREATE APPLICATION");break;
|
||||
case MFDES_DELETE_APPLICATION :snprintf(exp, size, "DELETE APPLICATION");break;
|
||||
|
|
|
@ -472,7 +472,7 @@ int CmdLFfskSim(const char *Cmd) {
|
|||
dataLen = hextobinarray((char *)data, hexData);
|
||||
|
||||
if (dataLen == 0) errors = true;
|
||||
if (errors) PrintAndLog ("Error getting hex data");
|
||||
if (errors) PrintAndLogEx(WARNING, "Error getting hex data");
|
||||
cmdp+=2;
|
||||
break;
|
||||
default:
|
||||
|
@ -573,7 +573,7 @@ int CmdLFaskSim(const char *Cmd) {
|
|||
dataLen = hextobinarray((char *)data, hexData);
|
||||
|
||||
if (dataLen == 0) errors = true;
|
||||
if (errors) PrintAndLog ("Error getting hex data, datalen: %d", dataLen);
|
||||
if (errors) PrintAndLogEx(WARNING, "Error getting hex data, datalen: %d", dataLen);
|
||||
cmdp += 2;
|
||||
break;
|
||||
default:
|
||||
|
@ -668,7 +668,7 @@ int CmdLFpskSim(const char *Cmd) {
|
|||
dataLen = hextobinarray((char *)data, hexData);
|
||||
|
||||
if (dataLen == 0) errors = true;
|
||||
if (errors) PrintAndLog ("Error getting hex data");
|
||||
if (errors) PrintAndLogEx(WARNING, "Error getting hex data");
|
||||
cmdp+=2;
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue