chg: 'hf 15 read' - nice output and with lock info

chg: 'hf 15 readmulti' - nicer output and with lock info

You can still break the client if you ask to read too many blocks at one time.
I suggest 'hf 15 dump' instead for that purpose
This commit is contained in:
iceman1001 2017-09-06 22:04:00 +02:00
commit 6d98779ff8
3 changed files with 48 additions and 29 deletions

View file

@ -37,7 +37,7 @@ uint16_t Iso15693Crc(uint8_t *v, int n)
// n length without crc
// returns the new length of the dataframe.
int Iso15693AddCrc(uint8_t *req, int n) {
uint16_t crc=Iso15693Crc(req,n);
uint16_t crc = Iso15693Crc(req, n);
req[n] = crc & 0xff;
req[n+1] = crc >> 8;
return n+2;