mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
Add annotation for AirDrop ECP frame
This commit is contained in:
parent
c7af716942
commit
1bd389bdd0
1 changed files with 4 additions and 1 deletions
|
@ -189,7 +189,7 @@ int applyIso14443a(char *exp, size_t size, uint8_t *cmd, uint8_t cmdsize, bool i
|
||||||
if (cmd[1] == 0x01 && cmdsize == 7) {
|
if (cmd[1] == 0x01 && cmdsize == 7) {
|
||||||
snprintf(exp, size, "ECP1");
|
snprintf(exp, size, "ECP1");
|
||||||
return PM3_SUCCESS;
|
return PM3_SUCCESS;
|
||||||
} else if (cmd[1] == 0x02 && cmdsize == (cmd[2] & 0x0f) + 7) {
|
} else if (cmd[1] == 0x02 && cmdsize == (cmd[2] & 0x0F) + 7) {
|
||||||
// Byte 3 is the reader type
|
// Byte 3 is the reader type
|
||||||
switch (cmd[3]) {
|
switch (cmd[3]) {
|
||||||
case 0x01:
|
case 0x01:
|
||||||
|
@ -201,6 +201,9 @@ int applyIso14443a(char *exp, size_t size, uint8_t *cmd, uint8_t cmdsize, bool i
|
||||||
case 0x03:
|
case 0x03:
|
||||||
snprintf(exp, size, "ECP2 (Identity)");
|
snprintf(exp, size, "ECP2 (Identity)");
|
||||||
break;
|
break;
|
||||||
|
case 0x05:
|
||||||
|
snprintf(exp, size, "ECP2 (AirDrop)");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
snprintf(exp, size, "ECP2");
|
snprintf(exp, size, "ECP2");
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue