Add first and last block for READ_MULTI_BLOCK

This commit is contained in:
nemanjan00 2022-03-07 02:09:36 +01:00
commit e4c641b708

View file

@ -553,7 +553,7 @@ void annotateIso15693(char *exp, size_t size, uint8_t *cmd, uint8_t cmdsize) {
snprintf(exp, size, "LOCKBLOCK"); snprintf(exp, size, "LOCKBLOCK");
return; return;
case ISO15693_READ_MULTI_BLOCK: case ISO15693_READ_MULTI_BLOCK:
snprintf(exp, size, "READ_MULTI_BLOCK"); snprintf(exp, size, "READ_MULTI_BLOCK(%d-%d)", cmd[2], (cmd[2] + cmd[3]));
return; return;
case ISO15693_WRITE_MULTI_BLOCK: case ISO15693_WRITE_MULTI_BLOCK:
snprintf(exp, size, "WRITE_MULTI_BLOCK"); snprintf(exp, size, "WRITE_MULTI_BLOCK");