User's Guide

2166 UHF Reader User Guide V1.09Copyright © 2019 Technology Solutions (UK) Ltd
24
EMBEDDED SD CARD
The 2166 Rugged Bluetooth® UHF RFID Reader is factory fitted with an embedded 2GB internal NAND storage SD
card, allowing millions of tags to be stored with time and date stamping.
By default the SD card is presented as a mass storage device when the 2166 is docked into a cradle connected
over USB to a host computer. This allows rapid download of log data and editing of the Auto Run File. The standard
ASCII 2 SD card commands can still be used, but only when the SD card is not in mass storage mode.
SUMMARY
Once an SD card is installed and logging is enabled a log file is created on the SD card. The file is located at the
root of the card and called “LOG.TXT”. All the lines from every response to every command that is executed by the
reader (including those performed from trigger actions) are appended to the end of the file. Events such as Power
up are also appended to the file.
The ASCII 2 Read Log File command (‘.rl’) is provided to enable or disable logging, to read the log file from the
card or to delete the log file from the card.
Please note that the log file can quickly become large relative to the speed at which it can be downloaded using
the Read Log File Command.
Start of a sample log output:
LOG FILE (LOG.TXT)
DT: 2013-11-15T16:46:58
EV: Log File created
CS: .ws -sa4 -sbepc -sd300833B2DDD9014000000000 -sl06 -so0002 -sts2 -dbepc -da330DE29525C0210005F5F88A
-dl06 -do0002
WW: 0
ME: No Transponder found
ER:005
DT: 2013-11-15T17:58:28
EV: Disconnected
DT: 2013-11-15T17:59:28
EV: Sleep
DT: 2013-11-18T09:18:21
Once an SD card is installed an Auto Run file can be created on the SD card. The Auto Run file contains a list of
ASCII 2 commands that are executed as the 2166 powers up. The file should be located at the root of the card
and called “AUTO.TXT”. Although the file can contain any valid ASCII 2 commands, one per line, it is intended that
these have the take no action ‘-n’ flag specified to allow the default parameters for any command to be changed
from the firmware defaults as the unit boots without actually executing the command.
For example to change the carrier power of the inventory command from 29dBm to 20dBm
‘.iv -o20 -n’ would be appended to the Auto Run file. As is the behaviour with command parameters this will set
the output power for the inventory command until a new value is sent with this command. Therefore the inventories
executed by the trigger, which executes ‘.iv’ will use the modified output power.
The Auto Run file can be manually created on the card before it is inserted into the 2166 or the ASCII 2 command
Write Command to Auto Run File ‘.wa’ can be used. The Read Auto Run File ‘.ra’ can be used to read back the
contents of the Auto Run file or delete the file from the card.
AUTO RUN FILE (AUTO.TXT)
www.tsl.com