iso15 - add some annotation for write mulit

This commit is contained in:
iceman1001 2019-12-20 11:23:27 +01:00
parent 85170f914e
commit 3ddf7a0ce5
2 changed files with 5 additions and 0 deletions

View file

@ -404,6 +404,9 @@ void annotateIso15693(char *exp, size_t size, uint8_t *cmd, uint8_t cmdsize) {
case ISO15693_READ_MULTI_BLOCK:
snprintf(exp, size, "READ_MULTI_BLOCK");
return;
case ISO15693_WRITE_MULTI_BLOCK:
snprintf(exp, size, "WRITE_MULTI_BLOCK");
return;
case ISO15693_SELECT:
snprintf(exp, size, "SELECT");
return;

View file

@ -56,6 +56,7 @@ ISO15693
21 = Write Block (usage: 0221+1byte block number+4bytes data+2bytes ISO15693-CRC - answer: 4bytes)
22 = Lock Block
23 = Read Multiple Blocks (usage: 0223+1byte 1st block to read+1byte last block to read+2bytes ISO15693-CRC)
24 = Write Multiple Blocks
25 = Select
26 = Reset to Ready
27 = Write AFI
@ -243,6 +244,7 @@ ISO 7816-4 Basic interindustry commands. For command APDU's.
#define ISO15693_WRITEBLOCK 0x21
#define ISO15693_LOCKBLOCK 0x22
#define ISO15693_READ_MULTI_BLOCK 0x23
#define ISO15693_WRITE_MULTI_BLOCK 0x24
#define ISO15693_SELECT 0x25
#define ISO15693_RESET_TO_READY 0x26
#define ISO15693_WRITE_AFI 0x27