mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-07 16:48:15 +08:00
textual
This commit is contained in:
parent
76e6683ac4
commit
ff598db839
1 changed files with 6 additions and 6 deletions
|
@ -66,7 +66,7 @@ int usage_hf_felica_raw(void){
|
||||||
|
|
||||||
int CmdHFFelicaList(const char *Cmd) {
|
int CmdHFFelicaList(const char *Cmd) {
|
||||||
//PrintAndLog("Deprecated command, use 'hf list felica' instead");
|
//PrintAndLog("Deprecated command, use 'hf list felica' instead");
|
||||||
CmdHFList("felica");
|
CmdHFList("raw");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ int CmdHFFelicaReader(const char *Cmd) {
|
||||||
SendCommand(&c);
|
SendCommand(&c);
|
||||||
UsbCommand resp;
|
UsbCommand resp;
|
||||||
if (!WaitForResponseTimeout(CMD_ACK, &resp, 2500)) {
|
if (!WaitForResponseTimeout(CMD_ACK, &resp, 2500)) {
|
||||||
if (!silent) PrintAndLog("FeliCa card select failed");
|
if (!silent) PrintAndLog("[!] FeliCa card select failed");
|
||||||
//SendCommand(&cDisconnect);
|
//SendCommand(&cDisconnect);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -90,21 +90,21 @@ int CmdHFFelicaReader(const char *Cmd) {
|
||||||
switch(status) {
|
switch(status) {
|
||||||
case 1: {
|
case 1: {
|
||||||
if (!silent)
|
if (!silent)
|
||||||
PrintAndLog("Card timeout");
|
PrintAndLog("[!] card timeout");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 2: {
|
case 2: {
|
||||||
if (!silent)
|
if (!silent)
|
||||||
PrintAndLog("Card answered wrong");
|
PrintAndLog("[!] card answered wrong");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 3: {
|
case 3: {
|
||||||
if (!silent)
|
if (!silent)
|
||||||
PrintAndLog("CRC check failed");
|
PrintAndLog("[!] CRC check failed");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 0: {
|
case 0: {
|
||||||
PrintAndLog("FeliCa Card");
|
PrintAndLog("[+] FeliCa tag info");
|
||||||
|
|
||||||
PrintAndLog("IDm %s", sprint_hex(card.IDm, sizeof(card.IDm)));
|
PrintAndLog("IDm %s", sprint_hex(card.IDm, sizeof(card.IDm)));
|
||||||
PrintAndLog(" - CODE %s", sprint_hex(card.code, sizeof(card.code)));
|
PrintAndLog(" - CODE %s", sprint_hex(card.code, sizeof(card.code)));
|
||||||
|
|
Loading…
Reference in a new issue