Datasheet
Length Field
The Length Field (or L Field) contains the size (in bytes) of the value field. The Length Field can be organised in two
different ways, using either one or three bytes.
The one byte format simple contains a single byte value from 0x00..0xFF.
The three byte format consists of the following format:
Both the one byte and three byte format must be supported for NFC Forum and NDEF compatability.
Value Field
The Value Field (or V Field) is only present if the Length Field (described above) is present and not equal to 0x00. If
the Length Field is not equal to 0, the Value Fields will contain N bytes of data in the format indicated by the T Field
above.
The value field is where the payload (an NDEF Message, for example) is stored.
Terminator TLV
The Terminator TLV is the last TLV block in the data area, and consist of a single byte: 0x0FE (see the TLV Block Type
table above). This TLV Block in mandatory.
Memory Dump of a Mifare Classic 1K Card with an NDEF Record
TLV Block Types
Block Type Value Description
------------- ----- --------------------------------------
NULL 0x00 These blocks should be ignored
NDEF Message 0x03 Block contains an NDEF message
Proprietary 0xFD Block contains proprietary information
Terminator 0xFE Last TLV block in the data area
Byte 0: Always 0xFF to indicate that we are using the three byte format
Byte 1..2: Can be a value between 0x00FF and 0xFFFE
[ Start of Memory Dump ]
------------------------Sector 0-------------------------
Block 0 3E 39 AB 7F D3 88 04 00 47 41 16 57 4D 10 34 08 >9«Ó?..GA.WM.4.
Block 1 14 01 03 E1 03 E1 03 E1 03 E1 03 E1 03 E1 03 E1 ...á.á.á.á.á.á.á
Block 2 03 E1 03 E1 03 E1 03 E1 03 E1 03 E1 03 E1 03 E1 .á.á.á.á.á.á.á.á
Block 3 00 00 00 00 00 00 78 77 88 C1 00 00 00 00 00 00 ......xw?Á......
------------------------Sector 1-------------------------
Block 4 00 00 03 11 D1 01 0D 55 01 61 64 61 66 72 75 69 ....Ñ..U.adafrui
Block 5 74 2E 63 6F 6D FE 00 00 00 00 00 00 00 00 00 00 t.comþ..........
Block 6 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Block 7 00 00 00 00 00 00 7F 07 88 40 00 00 00 00 00 00 .......?@......
------------------------Sector 2-------------------------
Block 8 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Block 9 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Block 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Block 11 00 00 00 00 00 00 7F 07 88 40 00 00 00 00 00 00 .......?@......
------------------------Sector 3-------------------------
Block 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Block 13 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
© Adafruit Industries https://learn.adafruit.com/adafruit-pn532-rfid-nfc Page 29 of 42










