mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-21 20:52:45 +08:00
fix: 'trace list' - missing break
This commit is contained in:
parent
34a17f842d
commit
2e3694aa3b
1 changed files with 5 additions and 5 deletions
|
@ -165,7 +165,8 @@ uint16_t printTraceLine(uint16_t tracepos, uint16_t traceLen, uint8_t *trace, ui
|
||||||
crcStatus = iso14443B_CRC_check(frame, data_len);
|
crcStatus = iso14443B_CRC_check(frame, data_len);
|
||||||
break;
|
break;
|
||||||
case PROTO_MIFARE:
|
case PROTO_MIFARE:
|
||||||
crcStatus = mifare_CRC_check(isResponse, frame, data_len);
|
crcStatus = mifare_CRC_check(isResponse, frame, data_len);
|
||||||
|
break;
|
||||||
case ISO_14443A:
|
case ISO_14443A:
|
||||||
case MFDES:
|
case MFDES:
|
||||||
crcStatus = iso14443A_CRC_check(isResponse, frame, data_len);
|
crcStatus = iso14443A_CRC_check(isResponse, frame, data_len);
|
||||||
|
@ -288,6 +289,7 @@ uint16_t printTraceLine(uint16_t tracepos, uint16_t traceLen, uint8_t *trace, ui
|
||||||
|
|
||||||
void printFelica(uint16_t traceLen, uint8_t *trace) {
|
void printFelica(uint16_t traceLen, uint8_t *trace) {
|
||||||
|
|
||||||
|
PrintAndLogEx(NORMAL, "ISO18092 / FeliCa - Timings are not as accurate");
|
||||||
PrintAndLogEx(NORMAL, " Gap | Src | Data | CRC | Annotation |");
|
PrintAndLogEx(NORMAL, " Gap | Src | Data | CRC | Annotation |");
|
||||||
PrintAndLogEx(NORMAL, "--------|-----|---------------------------------|----------|-------------------|");
|
PrintAndLogEx(NORMAL, "--------|-----|---------------------------------|----------|-------------------|");
|
||||||
uint16_t tracepos = 0;
|
uint16_t tracepos = 0;
|
||||||
|
@ -511,8 +513,8 @@ int CmdTraceList(const char *Cmd) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
PrintAndLogEx(NORMAL, "Recorded Activity (TraceLen = %d bytes)", traceLen);
|
PrintAndLogEx(SUCCESS, "Recorded Activity (TraceLen = %d bytes)", traceLen);
|
||||||
PrintAndLogEx(NORMAL, "");
|
PrintAndLogEx(INFO, "");
|
||||||
if (protocol == FELICA) {
|
if (protocol == FELICA) {
|
||||||
printFelica(traceLen, trace);
|
printFelica(traceLen, trace);
|
||||||
} else {
|
} else {
|
||||||
|
@ -526,8 +528,6 @@ int CmdTraceList(const char *Cmd) {
|
||||||
" Tag Mode: Timings are in sub carrier periods (1/212 kHz == 4.7us)");
|
" Tag Mode: Timings are in sub carrier periods (1/212 kHz == 4.7us)");
|
||||||
if ( protocol == ISO_15693 )
|
if ( protocol == ISO_15693 )
|
||||||
PrintAndLogEx(NORMAL, "ISO15693 - Timings are not as accurate");
|
PrintAndLogEx(NORMAL, "ISO15693 - Timings are not as accurate");
|
||||||
if ( protocol == FELICA )
|
|
||||||
PrintAndLogEx(NORMAL, "ISO18092 / FeliCa - Timings are not as accurate");
|
|
||||||
if ( protocol == ISO_7816_4 )
|
if ( protocol == ISO_7816_4 )
|
||||||
PrintAndLogEx(NORMAL, "ISO7816-4 / Smartcard - Timings N/A yet");
|
PrintAndLogEx(NORMAL, "ISO7816-4 / Smartcard - Timings N/A yet");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue