trace list 15 annotation

This commit is contained in:
iceman1001 2020-08-14 14:57:30 +02:00
parent ede0059b10
commit eaf0ecfe6e

View file

@ -392,9 +392,15 @@ void annotateIso15693(char *exp, size_t size, uint8_t *cmd, uint8_t cmdsize) {
case ISO15693_STAYQUIET:
snprintf(exp, size, "STAY_QUIET");
return;
case ISO15693_READBLOCK:
snprintf(exp, size, "READBLOCK");
case ISO15693_READBLOCK: {
uint8_t block = 0;
if (cmdsize == 13)
block = cmd[10];
snprintf(exp, size, "READBLOCK(%d)", block);
return;
}
case ISO15693_WRITEBLOCK:
snprintf(exp, size, "WRITEBLOCK");
return;