Smart Reader Operation Template engine
April 13, 2023 at 2:39 AMTemplate engine registers
Register mapping in NVM
Every template has 1 to 16 configuration registers. This block of registers is stored in the Page 3 of the NVM starting at address 0300
for template 0, 0310
for template 1, 0320
for template 2, etc.
For the ease of reading, notation 03tn
will often be used for the address of “register n within template t”.
Registers for the NFC/RFID HF templates
This paragraph covers only SpringCore devices featuring a NFC/RFID HF interface.
The NFC/RFID HF templates are numbered 1 to 4.
Template 1 stores its configuration in non-volatile memory over addresses 0310
to 031F
, template 2 over addresses 0320
to 032F
, template 3 over addresses 0330
to 033F
and template 4 over addresses 0340
to 034F
.
Registers for the Bluetooth template
This paragraph covers only SpringCore devices featuring a BLE interface.
There is a single Bluetooth template, numbered 0.
Its configuration in non-volatile memory over addresses 0300
to 030F
.
Registers for the RFID UHF template
This paragraph covers only SpringCore devices featuring a RFID UHF interface.
There is a single RFID UHF template, numbered 7.
Its configuration in non-volatile memory over addresses 0370
to 037F
.
List of registers in every template
Address | Nickname | Title | Description |
---|---|---|---|
03t0 |
LKL | Technology Selector | Tells the Template engine which technology or technologies it shall look for and which transaction it shall runs other the found card/tag/peer |
03t1 |
TOF | Output Format | Controls how the data is understood (text or binary namely) and formatted (decimal, hexadecimal, as is…) before being sent to the host |
03t2 |
PFX | Output Prefix | Defines a template-specific prefix to be sent before the data (this allows to discriminate if many templates may get the same data from different technologies) |
03t3 |
LOC | Location | This register is used in some Templates to define an offset or a few advanced transaction parameters (AID, File ID, …) |
03t4 |
OPT | Options | Misc. option register |
03t5 |
AUT | Authentication | This register is used in some Templates to define an authentication key and/or secure communication parameters |