Add annotation for AirDrop ECP frame
This commit is contained in:
1 parent
c7af716942
commit
1bd389bdd0
1 file changed
+4
-1
@@ -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) {
|
||||
snprintf(exp, size, "ECP1");
|
||||
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
|
||||
switch (cmd[3]) {
|
||||
case 0x01:
|
||||
@@ -201,6 +201,9 @@ int applyIso14443a(char *exp, size_t size, uint8_t *cmd, uint8_t cmdsize, bool i
|
||||
case 0x03:
|
||||
snprintf(exp, size, "ECP2 (Identity)");
|
||||
break;
|
||||
case 0x05:
|
||||
snprintf(exp, size, "ECP2 (AirDrop)");
|
||||
break;
|
||||
default:
|
||||
snprintf(exp, size, "ECP2");
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user