ID Only Template

Description

The ID Only Template is the basic Template to read a card or tag’s protocol-level IDentifier.

Pay attention that such IDs may easily be cloned or spoofed, and that NFC mobile phones as well as modern, privacy-concerned card solutions, use random protocol-level IDentifiers, that would change all the time.

Lookup List

This Template supports 16 protocol selectors:

LKL Value Selected protocol(s)
FF All supported protocols
01 NFC-A - ISO/IEC 14443 type A
02 NFC-B - ISO/IEC 14443 type B
03 NFC-A and NFC-B - ISO/IEC 14443 types A and B
04 NFC-V - ISO/IEC 15693
07 NFC-A, NFC-B and NFC-V - ISO/IEC 14443 types A and B and ISO/IEC 15693
08 NFC-F
0F All NFC and ISO/IEC protocols
20 ThinFilm / Kovio RF Barcodes
21 Innovision Topaz/Jewel - NFC T1T
22 ST MicroElectronics ST Family
23 ASK CTS 256B and CTS 512B
24 Inside Secure PicoTag (including HID iClass), protocol B
28 FeliCa
2A Inside Secure PicoTag (including HID iClass), protocol V
2C Innovatron Radio Protocol (legacy Calypso cards)

Registers

This Template uses 5 configuration registers:

Alias Offset Name Description
LKL 0 Lookup List See the Lookup List table above
TOF 1 Output Size and Format See details below
LOC 3 Location of Data See details below
OPT 4 Options Template-specific options
PFX 2 Prefix Template-specific Prefix

TOF - Output Size and Format

Offset : 1

Size : 2

Bit    Role Values
7-6 Invert the ID before transmitting? 0 : Do not invert ID bytes (the ID is transmitted “as is”)
1 : RFU
2 : Invert ID bytes for short (4-byte) ISO/IEC 14443 type A IDs
3 : Invert ID bytes for all kind of IDs
5 Padding if ID is shorted than specified length 0 : Padd with 00 on the left
1 : Padd with FF on the right
4 ID-only or all protocol bytes? 0 : Read only the ID (UID-A, PUPI, etc)
1 : Read all the protocol bytes (ATQ-A, ATQ-B, etc)
3-0 Length and Format 0 : Decimal, 10 digits (truncation on 4-B)
1 : Raw (hex), 4 bytes (32 bits)
2 : Raw (hex), 8 bytes (64 bits)
3 : Raw (hex), 5 bytes (40 bits)
4 : Raw (hex), 10 bytes (80 bits)
5 : Raw (hex), 7 bytes (56 bits)
6 : Raw (hex), 11 bytes (88 bits)
7 : RFU
8 : Raw (hex), 16 bytes (128 bits)
9 : Raw (hex), 20 bytes (160 bits)
10 : Raw (hex), 24 bytes (196 bits)
11 : Raw (hex), 32 bytes (256 bits)
12 : Decimal, 12 digits (truncation on 5-B)
13 : Decimal, 13 digits (truncation on 5-B)
14 : Decimal, variable length
15 : Raw (hex), variable length

LOC - Location of Data

Offset : 3

Size : 2

Byte 0 : Shift Bytes

Leading bytes to suppress.

Byte 1 : Shift Bits

Leading bits to suppress; valid range is 0 to 7.

OPT - Options

Offset : 4

Size : 1

If this register is set, the Reader adds a token to its output to tell the receiver what kind of credential has been read.

Bit    Role Values
7-4 RFU
3-2 Position of the Card Type Token 0 : Before the Prefix
1 : After the Prefix, before the Data
2 : After the Data (before the Suffix)
3 : RFU
1-0 Add a Card Type Token to the output stream? 0 : Do not add a Card Type Token
1 : Add Card Type Token in hex
2 : Add Card Type Token as char
3 : RFU

PFX - Prefix

Offset : 2

Size : 8

A Template-specific Prefix, that is added after the Reader’s global Prefix.

Remark : Use \t for a Tab, \n for Enter, \b for Back space, \v for Vertical space.