Datasheet

CMD Custom Read Command, one hexadecimal byte
Table 5: Read command parameter description
Response, if successful:
Number of lines is equal to the number of read blocks. If “DRT” is not set each line is 16
Bytes (32 ASCII chars, hexadecimal) long.
i.e. for one read block:
00112233445566778899AABBCCDDEEFF<CR>
Examples:
Read all Blocks from sector
RDT<SPACE>ALL<CR>
Read block number 11d
RDT<SPACE>11<CR>
Read 2 Blocks beginning at block 0
RDT<SPACE>CNT<SPACE>0<SPACE>2<CR>
Read 14 Blocks beginning at block 129<CR>
RDT<SPACE>CNT<SPACE>129<SPACE>14<CR>
Possible error codes:
UPA<CR> Unknown parameter
EDX<CR> A decimal parameter includes non decimal characters
BAE<CR> Block no. not readable, i.e. wrong key, see Block– and Access Mode
BNA<CR> Block no. not authenticated (only MiFare classic)
NMA<CR> No MiFare chip 1k or 4k authenticated (only ALL-Mode)
NB0<CR> Number of blocks to Read is 0
4.4. Write Data to Tag (WDT)
The write data command normally stores 16 bytes of data into a block (data or trailer block).
For compatibility to other ISO/IEC 14443-1 to 4 transponder than MiFare classic, the
metraTec MiFare Protocol Guide Page 19 of 38