This commit is contained in:
iceman1001 2020-01-01 21:22:01 +01:00
commit 866df86825

View file

@ -643,6 +643,7 @@ static int NxpSysInfo(uint8_t *uid) {
uint8_t *recv; uint8_t *recv;
uint8_t req[PM3_CMD_DATA_SIZE] = {0}; uint8_t req[PM3_CMD_DATA_SIZE] = {0};
uint16_t reqlen; uint16_t reqlen;
uint32_t status;
uint8_t arg1 = 1; uint8_t arg1 = 1;
if (uid != NULL) { if (uid != NULL) {
@ -669,7 +670,7 @@ static int NxpSysInfo(uint8_t *uid) {
DropField(); DropField();
uint32_t status = resp.oldarg[0]; status = resp.oldarg[0];
if (status < 2) { if (status < 2) {
PrintAndLogEx(WARNING, "iso15693 card doesn't answer to NXP systeminfo command"); PrintAndLogEx(WARNING, "iso15693 card doesn't answer to NXP systeminfo command");
@ -736,7 +737,7 @@ static int NxpSysInfo(uint8_t *uid) {
if (!WaitForResponseTimeout(CMD_ACK, &resp, 2000)) { if (!WaitForResponseTimeout(CMD_ACK, &resp, 2000)) {
PrintAndLogEx(WARNING, "iso15693 card select failed"); PrintAndLogEx(WARNING, "iso15693 card select failed");
} else { } else {
uint32_t status = resp.oldarg[0]; status = resp.oldarg[0];
PrintAndLogEx(NORMAL, ""); PrintAndLogEx(NORMAL, "");
@ -778,7 +779,7 @@ static int NxpSysInfo(uint8_t *uid) {
DropField(); DropField();
uint32_t status = resp.oldarg[0]; status = resp.oldarg[0];
if (status < 2) { if (status < 2) {
PrintAndLogEx(WARNING, "iso15693 card doesn't answer to READ SIGNATURE command"); PrintAndLogEx(WARNING, "iso15693 card doesn't answer to READ SIGNATURE command");