Download: | |
Mirror Download [FCC.gov] | |
Document ID | 3532329 |
Application ID | deFnmlTKuE6VLB8dRdrI4w== |
Document Description | user manual |
Short Term Confidential | No |
Permanent Confidential | No |
Supercede | No |
Document Type | User Manual |
Display Format | Adobe Acrobat PDF - pdf |
Filesize | 75.44kB (942997 bits) |
Date Submitted | 2017-08-29 00:00:00 |
Date Available | 2017-08-29 00:00:00 |
Creation Date | 2016-06-22 10:06:12 |
Producing Software | GPL Ghostscript 9.0 |
Document Lastmod | 2016-06-22 10:06:12 |
Document Title | Installation Guide ARE DT1_05 |
Document Creator | FreePDF 4.12 - http://shbox.de |
Document Author: | skoesma |
ARE DT1
Installation Guide
1
INTRODUCTION ............................................................................................................ 5
STARTUP AND TESTING THE READER DT1 .............................................................. 6
AEG ID INSTRUCTION SET .......................................................................................... 6
3.1
General ..................................................................................................................................................... 6
3.1.1
Entering instuctions ........................................................................................................................... 7
3.1.2
Output format .................................................................................................................................... 7
3.1.2.1
Instruction specific output ........................................................................................................... 7
3.1.2.2
Output after changing a parameter .............................................................................................. 7
3.1.2.3
Output at parameter query........................................................................................................... 8
3.1.3
Blank instuction ................................................................................................................................. 8
3.1.4
Incorrect instruction / error codes ....................................................................................................... 8
3.1.5
Upper and lower case ....................................................................................................................... 10
3.1.6
Linefeed ........................................................................................................................................... 10
3.2
Instructions for the hardware settings...................................................................................................... 11
3.2.1
BD – baudrate .................................................................................................................................. 11
3.2.2
HF – radio frequency ........................................................................................................................ 11
3.2.3
HID – human interface device/keyboard ............................................................................................ 11
3.2.4
KL – keyboard language ................................................................................................................... 12
3.2.5
RE – read EEPROM ........................................................................................................................13
3.2.6
LED – LED control ..........................................................................................................................13
3.2.7
RST – reset ...................................................................................................................................... 14
3.2.8
WE – write EEPROM ...................................................................................................................... 15
3.2.9
VER – version .................................................................................................................................. 15
3.3
Instructions for reading settings .............................................................................................................. 16
3.3.1
CE – convert error code .................................................................................................................... 16
3.3.2
CID – suppression of ID Codes .......................................................................................................... 16
3.3.3
CN – suppression of No Reads .......................................................................................................... 17
3.3.4
INIT – initialization ......................................................................................................................... 18
3.3.5
LAA – LED automatic activity .......................................................................................................... 18
3.3.6
MC – mirror code ............................................................................................................................. 18
3.3.7
RA – resend last answer.................................................................................................................... 19
3.3.8
TSC – time show code ...................................................................................................................... 19
3.3.9
TOR – maximum reading time .......................................................................................................... 19
3.3.10 SI – set iso standard ......................................................................................................................... 20
3.3.11 VSAVE – variables save ................................................................................................................... 20
3.3.12 VS – variables show ......................................................................................................................... 20
3.4
General reading instructions .................................................................................................................... 21
3.4.1
GA – get active................................................................................................................................. 21
3.4.2
GT – get tag ..................................................................................................................................... 21
3.4.3
HD – halt detected code.................................................................................................................... 22
3.4.4
MD – mode of operation ................................................................................................................... 22
--------------------------------------------------------------------------------2/45--------------------------------------------------------------------------------
3.4.5
3.4.6
3.4.7
3.4.8
RD – read page ................................................................................................................................23
RDM – read page manual ................................................................................................................. 24
WD – write page .............................................................................................................................. 25
WDM – write page manual ............................................................................................................... 26
3.5
Mifare instructions .................................................................................................................................. 27
3.5.1
AC – anticollision ............................................................................................................................. 27
3.5.2
AC2 – anticollision level 2 ................................................................................................................ 27
3.5.3
KM – key mode ................................................................................................................................ 27
3.5.4
KT – key type ................................................................................................................................... 27
3.5.5
LOG – transponder log in .................................................................................................................. 28
3.5.6
PBU – purse backup ......................................................................................................................... 28
3.5.7
PDC – purse decrement .................................................................................................................... 29
3.5.8
PIC – purse increment ......................................................................................................................30
3.5.9
PIV – purse init value .......................................................................................................................31
3.5.10 PRV – purse read value ....................................................................................................................31
3.5.11 RQ – request ....................................................................................................................................32
3.5.12 SE – select .......................................................................................................................................32
3.5.13 SE2 – select level 2 ..........................................................................................................................32
3.5.14 WK – write key ................................................................................................................................33
3.6
ISO 15693 instructions............................................................................................................................34
3.6.1
AFI – application family identifier ....................................................................................................34
3.6.2
BS – block size.................................................................................................................................34
3.6.3
GMS – get multiple block security ....................................................................................................34
3.6.4
GS – get system information .............................................................................................................35
3.6.5
LA – lock AFI ..................................................................................................................................35
3.6.6
LD – lock data .................................................................................................................................35
3.6.7
LDS – lock DSFID ...........................................................................................................................36
3.6.8
RTR – reset to ready ........................................................................................................................36
3.6.9
SF – set flag ....................................................................................................................................36
3.6.10 WA – write AFI ...............................................................................................................................37
3.6.11 WDS – write DSFID .........................................................................................................................37
4.1
READER EEPROM ORGANISATION ........................................................................... 38
EEPROM overview .................................................................................................................................38
OPERATING MODES OF THE READER ...................................................................... 39
5.1
MD 2 - Triggered by an software command .............................................................................................39
5.2
MD 0 - Continuous Reading ..................................................................................................................... 40
INSTRUCTIONS .......................................................................................................... 41
FCC INFORMATION .................................................................................................... 42
CONVERTING DECIMAL TO HEXADECIMAL ............................................................ 43
HOTLINE ..................................................................................................................... 45
--------------------------------------------------------------------------------3/45--------------------------------------------------------------------------------
10
REVISIONS .............................................................................................................. 45
--------------------------------------------------------------------------------4/45--------------------------------------------------------------------------------
1
Introduction
This document describes the RFID-reading device ARE DT1 and the set-up procedure.
The main features of the reader are listed below:
• integrated USB interface selectable either communications port (similar RS232) or HID
• USB powered (no external supply voltage necessary)
• compact design
--------------------------------------------------------------------------------5/45--------------------------------------------------------------------------------
2
Startup and testing the reader DT1
•
Connect the reader with the USB interface from your notebook or pc
•
In the device manager there will appear a new device (Silicon Labs CP210x USB to UART
Bridge)
•
In the brackets you see the port number of the device (e.g. COM5)
•
Open the “Demo Terminal“ on the CD
•
Open the menu “Settings”
•
You have to set the following settings: baud rate 19200 baud, 8 data bits, no parity, 1 stop bit,
no flow control.
•
Send the command „VER “ to the reader. The reader answers with the actual firmware
version (e.g. AEG ID Multi-ISO V2.034).
•
Send the command „SI 0 “ if you want to read a ISO 14443A transponder. If you
want to read a ISO 15693 transponder you have to send the command „SI 1 “.
•
Send the command “MD 0 ” to the reader. The reader sends No Read messages
(XXXXXXXX), while there is no transponder in the antenna field available. If there is a transponder present in the antenna field the reader sends its serial.
AEG ID instruction set
3.1
General
The command set described below defines the transfer of data on the serial interface.
The commands consist of a command code and optionally of a parameter value. Commands are terminated by the control character (0Dh). The control character serves as command line terminator.
Command codes and parameters,including all letters and numerical values, are principally transmitted as a sequence of ASCII characters (the value 255 (decimal) consequently as 32H, 35H, 35H; the
command RST as 52H, 53H, 54H).
All numbers (e.g. sectors, blocks) are in the hexadecimal format (see chapter 9).
--------------------------------------------------------------------------------6/45--------------------------------------------------------------------------------
With the command CS you can change to the alternative instruction set. If the reader is set to alternative instruction set, you can change back to the AEG ID instruction set via the command AEG (see
chapter 5.3.3).
3.1.1 Entering instuctions
The protocol format is as follows
Command parameter
The space character separates commands from parameters and the character acts as
command line terminator.
For commands without parameter values (e.g. GT ) the character and parameter values are
omitted. The command line is as short as this:
Command
3.1.2 Output format
Generally, every input terminated by is acknowledged by the reader. The following response
protocols are different:
3.1.2.1 Instruction specific output
After entering a valid command without a parameter value, the system answers by sending the parameter value and . Example:
Command:
GT
Output: Transponder number or No Read
3.1.2.2
Output after changing a parameter
After entering a valid command together with a parameter value, the system answers by sending the
parameter value and . Example:
Command:
MD 2
Output:
2
--------------------------------------------------------------------------------7/45--------------------------------------------------------------------------------
After entering an invalid parameter value, the system answers with the corresponding error code. Error
message:
Command:
MD 4
Output:
NAK #02
3.1.2.3
Output at parameter query
Parameter settings can be queried by sending the command without adding a parameter value. Example:
Command:
MD
Output:
2
3.1.3 Blank instuction
If a single is input, the reader answers with a single . Example:
Command:
Output:
3.1.4 Incorrect instruction / error codes
If a command is not entered correctly, the reader sends one of the following error codes:
ERROR CODE
MEANING
NAK #00
unknown command
NAK #02
wrong parameter
NAK #03
EEPROM error
NAK #04
wrong transponder type
NAK #05
buffer overflow
NAK #06
not logged in
--------------------------------------------------------------------------------8/45--------------------------------------------------------------------------------
NAK #08
wrong password
NAK #10
antenna failure
NAK #11
anticollision error level 1
NAK #12
anticollision error level 2
NAK #13
select error level 1
NAK #14
select error level 2
NAK #15
transceiver IC error
NAK #16
not acknowlegde
NAK #17
no valid value block
NAK #18
EEPROM full
NAK #19
code already saved in EEPROM
NAK #20
code not in EEPROM
NAK #21
wrong standard
NAK #22
wrong transpondercode length
NAK #23
transpondercode length and transponder don’t match
NAK #24
data is not multiple of the block size
NAK #25
data length shorter than block size
NAK #26
no communication to AMP
NAK #27
select error level 3
NAK #28
anticollision error level 3
NAK #40
ISO 15693 error 01h: command not supported
NAK #41
ISO 15693 error 02h: command not recognized
NAK #42
ISO 15693 error 03h: option not supported
NAK #43
ISO 15693 error 0Fh: unknown error (default)
NAK #44
ISO 15693 error 10h: block does not exist
NAK #45
ISO 15693 error 11h: block already locked
NAK #46
ISO 15693 error 12h: block cannot be changed (locked)
NAK #47
ISO 15693 error 13h: not successfully programmed
NAK #48
ISO 15693 error 14h: not successfully locked
NAK #49
ISO 15693 error A0h-DFh: custom error codes
NAK #50
all other ISO 15693 errors: RFU
XXXXXXXX
no read
ACK
no error/acknowledge
--------------------------------------------------------------------------------9/45--------------------------------------------------------------------------------
3.1.5 Upper and lower case
The instruction set isn’t case-sensitiv.
3.1.6 Linefeed
The reader does never send a linefeed. If you use a terminal program it can add the linefeed. You have to
choose the option “displace CR with CR LF”.
--------------------------------------------------------------------------------10/45--------------------------------------------------------------------------------
3.2
Instructions for the hardware settings
3.2.1 BD – baudrate
The command BD enables the change of the baud rate. The settings are directly effective.
Input format:
BD parameter
Output (example):
2
Parameter:
PARAMETER
FUNCTION
4800 baud
9600 baud
19200 baud
38400 baud
57600 baud
115200 baud
3.2.2 HF – radio frequency
With the command HF you can switch the antenna field on and off.
Input format:
HF parameter
Output (example):
1
Parameter:
PARAMETER
FUNCTION
off
on
3.2.3 HID – human interface device/keyboard
The command switches the interface ether to HID or RS232 emulation.
Input format:
HID parameter
--------------------------------------------------------------------------------11/45--------------------------------------------------------------------------------
Output (example):
0
Parameter:
PARAMETER
FUNCTION
RS232 emulation
HID interface, keyboard
You have to unplug the device and plug the device in again to use the new setting. Don’t forget to use the
command VSAVE to save the new setting.
If the reader is in HID mode, you can not send any commands to the device. Because of that you have to
use the Set-Up card – interface to switch the reader back from HID mode to serial interface mode.
1. Plug out the reader
2. Place card no reader
3. Plug in reader into USB-port
4. Wait for the beep tone from reader
5. Plug out reader
6. Remove card from reader
3.2.4 KL – keyboard language
With the command KL you can configure the language of the keyboard in HID mode.
Input format:
KL parameter
Output (example):
07
Parameter:
PARAMETER
FUNCTION
07
german
--------------------------------------------------------------------------------12/45--------------------------------------------------------------------------------
09
englisch
0A
spanish
0C
french
10
italien
13
dutch
16
portuguese
4B
canadian
3.2.5 RE – read EEPROM
You can read out the internal EEPROM with the RE command.
Input format:
RE parameter
Output (example):
FF
Parameter:
PARAMETER
FUNCTION
0000h..079Fh
address
3.2.6 LED – LED control
With the command LED you can control the LED ring of the ARE DT1.
Input format:
LED parameter
Output (example):
1
Parameter:
PARAMETER
FUNCTION
off
on
Buzzer beeps,
LEDs flash
final state =initial
state
--------------------------------------------------------------------------------13/45--------------------------------------------------------------------------------
3.2.7 RST – reset
With the command RST the reader does a warmstart and loads the saved settings from the internal
EEPROM. The antenna field is off after the reset.
Input format:
RST
Output (example):
ACK
--------------------------------------------------------------------------------14/45--------------------------------------------------------------------------------
3.2.8 WE – write EEPROM
Using the command WE you can write one byte to the internal EEPROM.
Input format:
WE parameter 1 parameter 2
Output (example):
FF
Parameter:
PARAMETER 1
FUNCTION
0005h..079Fh
address
PARAMETER 2
FUNCTION
00h..FFh
data
3.2.9 VER – version
With the command VER the reader sends the actual firmware version.
Input format:
VER
Output (example):
AEG ID V1.22
--------------------------------------------------------------------------------15/45--------------------------------------------------------------------------------
3.3
Instructions for reading settings
3.3.1 CE – convert error code
With CE=1 the reader sends no error codes, except the no read error, during the md0 mode or the
commands Get Tag.
With CE=2 the reader sends the normal no read error (XXXXXXXX) if there is an error with the select or anticollision.
This command has only effect in the ISO 14443A standard.
Input format:
CE parameter
Output (example):
0
Parameter:
PARAMETER
FUNCTION
No suppression
Suppression of error codes
Replacement with XXXXXXXX
3.3.2 CID – suppression of ID Codes
In the MD0 mode with CID=1 only the first of in succession identical transponder numbers is output
on the serial interface. The possibly following identical transponder numbers are suppressed, as long
as no new valid transponder number is received, processed and output. The get tag command is not
influenced by this command. NoReads do not influence the data filtering.
Input format:
CID parameter
Output (example):
0
Parameter:
PARAMETER
FUNCTION
No suppression
Suppression of equal transponder numbers
Example: A, B, C are different transponder codes, N is NoRead error code:
--------------------------------------------------------------------------------16/45--------------------------------------------------------------------------------
Sequence of reading cycles
Output sequence
after filtering with
CN=0 und CID=1
Output sequence
after filtering with
CN=1 und CID=1
N, N, ......,N, A, A, A, ....A, N,N,
.........
N, N, ......,N, A, N,
N, .......
N. N, N, A, A, A, N, A, A, B, A,
C, C, C, .......
N. N, N, A, N, B,
A, C, .....
A, B, A, C
The settings are directly effective.
Note: The internal reference number is deleted in the following conditions:
•
after a cold start
•
after a warm start (command line RST )
•
after entering the command line CID 1
This causes that the next transponder code is output definitely.
Note: The filter function CID picks up the results of the complete reading cycles! The filter function
CID has effect on the serial interface only.
3.3.3 CN – suppression of No Reads
Through the setting CN=1 the NoRead results after a get tag command or in MD0 mode are suppressed on the serial interface.
Input format:
CN parameter
Output (example):
0
Parameter:
PARAMETER
FUNCTION
No suppression
Suppression of equal transponder numbers
--------------------------------------------------------------------------------17/45--------------------------------------------------------------------------------
3.3.4 INIT – initialization
With the command INIT all paramters of this command set are set to the default values. After that
you can save the settings with the command VSAVE.
Input format:
INIT
Output (example):
ACK
3.3.5 LAA – LED automatic activity
The leds can be controlled by the reader or over the interface. You can set it up with the command LAA.
If the LEDs are controlled by the reader, the reader beeps and flashes after successful reading and writing.
Input format:
LAA parameter
Output (example):
0
Parameter:
PARAMETER
FUNCTION
manual controlling
controlled by reader
3.3.6 MC – mirror code
With this command you can change the output order of the bytes from a transpondercode.
Input format:
MC parameter
Output (example):
0
Parameter:
PARAMETER
FUNCTION
normal sequence
mirrored sequence
--------------------------------------------------------------------------------18/45--------------------------------------------------------------------------------
3.3.7 RA – resend last answer
The command RA resends the last answer sent by the reader.
Input format:
RA
Output (example):
0
3.3.8 TSC – time show code
With the command TSC you can define the time in ms, after that the transpondercode is shown again,
when the CID parameter is set to 1. If TSC is 00, the code is not shown a second time.
Input format:
TSC parameter
Output (example):
00
PARAMETER
FUNCTION
00
TSC is not active
01..FF
TSC time in ms
3.3.9 TOR – maximum reading time
TOR is the timeout time for the reader. TOR is used in operation mode 2 as maximum gating time for
a reading process. The length of the maximum gating time results from the equation gating_time =
TOR * TB.
The time constant TB (time base) has always the default value 100ms.
Input format:
TOR parameter
Output (example):
05
Parameter:
PARAMETER
FUNCTION
--------------------------------------------------------------------------------19/45--------------------------------------------------------------------------------
00h
limits the reading process duration of exactly one reading cycle
01h..FFh
limits the reading process duration to maximum 1..256 times
TB
3.3.10 SI – set iso standard
With this command you can switch the iso standard of the reader.
Input format:
SI parameter
Output (example):
0
Parameter:
PARAMETER
FUNCTION
ISO 14443A
ISO 15693
3.3.11 VSAVE – variables save
With the command VSAVE the following parameters are saved to the internal EEPROM:
AFI2, BD, BS, CE1, CID, CN, HID, KL, KM1, KT1, LAA, LED, MC, MD, SF, SI, TOR, TSC
Input format:
VSAVE
Output (example):
ACK
just available in the ISO 14443A standard
just available in the ISO 15693 standard
3.3.12 VS – variables show
With the command VS the reader shows the settings of the following parameters:
AFI2, BD, BS, CE1, CID, CN, HID, KL, KM1, KT1, LAA, LED, MC, MD, SF, SI, TOR, TSC
Input format:
VS
Output (example):
BD 0
--------------------------------------------------------------------------------20/45--------------------------------------------------------------------------------
…
Note: The function VS shows just the settings that are used in the actual ISO standard.
just available in the ISO 14443A standard
just available in the ISO 15693 standard
3.4
General reading instructions
3.4.1 GA – get active
The command GA causes one reading cycle. There are different cycles for different transpondertypes.
This command is only available in the ISO 14443A standard.
Mifare 4 byte UID:
request (REQA)
anticollision
select
Mifare 7 byte UID:
request (REQA)
anticollision level 1
select 1
anticollision level 2
select 2
The reader answers the UID of an active (non halt) transponder.
Input format:
GA
Output (example):
625E562A
3.4.2 GT – get tag
With the command GT you select a transponder. The command GT causes one reading cycle. There
are different cycles for different transpondertypes.
Mifare 4 byte UID:
request (WUPA)
anticollision
select
--------------------------------------------------------------------------------21/45--------------------------------------------------------------------------------
Mifare 7 byte UID:
request (WUPA)
anticollision level 1
select 1
anticollision level 2
select 2
ISO 15693:
inventory
The reader answers the UID of a transponder.
Input format:
GT
Output (example):
625E562A
3.4.3 HD – halt detected code
The command HD mutes the last selected transponder.
Input format:
HD
Output (example):
ACK
3.4.4 MD – mode of operation
There a two modes of operation available. It is possible, that the reader reads constantly or triggered by
an instruction.
Input format:
MD parameter
Output (example):
2
Parameter:
PARAMETER
FUNCTION
constant reading mode
single reading mode
--------------------------------------------------------------------------------22/45--------------------------------------------------------------------------------
3.4.5 RD – read page
With the command RD you can read out a page of the transponder. The command executes internally the
commands get tag, if using mifare 1K/4K log in (with the key attuned to KM) and the reading command.
Input format mifare 1K/4K:
RD parameter 1 parameter 2
Input format ultralight:
RD parameter 2
Input format ISO 15693 one block:
RD parameter 2
Input format ISO 15693 multiple blocks:
RD parameter 2 parameter 3
Output:
parameter 4
Parameters:
PARAMETER 1
FUNCTION
1 or 2 characters
sector
PARAMETER 2
FUNCTION
1 or 2 characters
block/start block
PARAMETER 3
FUNCTION
1 or 2 characters
end block
PARAMETER 4
FUNCTION
32 characters
data (mifare 1K/4K)
8 characters
data (ultralight)
up to 64 characters
data (ISO 15693)
Note: The ISO 15693 regulates just the maximum length of one block. If there is no information
about the block size available in the ISO 15693 transponder, you can set this value with the command
“BS - block size” (chapter 3.6.2).
--------------------------------------------------------------------------------23/45--------------------------------------------------------------------------------
3.4.6 RDM – read page manual
With the command RDM you can read out a page of the transponder. The reading command is executed
single. You have to do a get tag first. If you are using a mifare standard 1K/4K you have to log in, too.
Input format mifare 1K/4K:
RD parameter 1 parameter 2
Input format ultralight:
RD parameter 2
Input format ISO 15693:
RD parameter 2
Input format ISO 15693 multiple blocks:
RD parameter 2 parameter 3
Output:
parameter 4
Parameters:
PARAMETER 1
FUNCTION
1 or 2 characters
sector
PARAMETER 2
FUNCTION
1 or 2 characters
block/start block
PARAMETER 3
FUNCTION
1 or 2 characters
end block
PARAMETER 4
FUNCTION
32 characters
data (mifare 1K/4K)
8 characters
data (ultralight)
up to 64 characters
data (ISO 15693)
Note: The ISO 15693 regulates just the maximum length of one block. If there is no information
about the block size available in the ISO 15693 transponder, you can set this value with the command
“BS - block size” (chapter 3.6.2).
--------------------------------------------------------------------------------24/45--------------------------------------------------------------------------------
3.4.7 WD – write page
With the command WD you write one page to the transponder. The command executes internally the
commands get tag, log in (with the key attuned to KM) and the writing command.
Input format mifare 1K/4K:
WD parameter 1 parameter 2 parameter 3
Input format ultralight:
WD parameter 2 parameter 3
Input format ISO 15693:
WD parameter 2 parameter 3
Output (example):
ACK
Parameters:
PARAMETER 1
FUNCTION
1 or 2 characters
sector
PARAMETER 2
FUNCTION
1 or 2 character
block
PARAMETER 3
FUNCTION
32 characters
mifare 1K/4K
8 characters
ultralight
up to 32 characters
ISO 15693
Note: The ISO 15693 regulates just the maximum length of one block. With the write instruction you
can write multiple blocks at once. The datalenght has to be at least the block size or a multiple of the
block size. If there is no information about the block size available in the ISO 15693 transponder,
you can set this value with the command “BS - block size” (chapter 3.6.2).
--------------------------------------------------------------------------------25/45--------------------------------------------------------------------------------
3.4.8 WDM – write page manual
With the command WDM you write one page to the transponder. The writing command is executed
alone. You have to select the transponder first. If you are using a mifare standard 1K/4K you have to log
in, too.
Input format mifare 1K/4K:
WD parameter 1 parameter 2 parameter 3
Input format ultralight:
WD parameter 2 parameter 3
Input format ISO 15693:
WD parameter 2 parameter 3
Output (example):
ACK
Parameters:
PARAMETER 1
FUNCTION
1 or 2 characters
sector
PARAMETER 2
FUNCTION
1 or 2 characters
block
PARAMETER 3
FUNCTION
32 characters
mifare 1K/4K
8 characters
ultralight
up to 32 characters
ISO 15693
Note: The ISO 15693 regulates just the maximum length of one block. With the write instruction you
can write multiple blocks at once. The datalenght has to be at least the block size or a multiple of the
block size. If there is no information about the block size available in the ISO 15693 transponder,
you can set this value with the command “BS - block size” (chapter 3.6.2).
--------------------------------------------------------------------------------26/45--------------------------------------------------------------------------------
3.5
Mifare instructions
3.5.1 AC – anticollision
With the command AC the reader executes the anticollision level 1 command.
Input format:
AC
Output (example):
595B1B80
3.5.2 AC2 – anticollision level 2
With the command AC2 the reader executes the anticollision level 2 command.
Input format:
AC2
Output (example):
595B1B80
3.5.3 KM – key mode
With the command KM you switch the key that is used by the commands RD and WD. It is possible to
use the default key or one of the keys saved with the command WK.
Input format:
KM parameter
Output (example):
parameter
PARAMETER
FUNCTION
use default key
(FFFFFFFFFFFF)
1..8
use saved key 1 to 8
3.5.4 KT – key type
With this command you switch if the key that is used with the commands RD and WD is type A or B.
Input format:
KT parameter
Output (example):
parameter
--------------------------------------------------------------------------------27/45--------------------------------------------------------------------------------
PARAMETER
FUNCTION
key type A
key type B
3.5.5 LOG – transponder log in
The command LOG is only valid with mifare standard 1K/4K transponders. The log in is necessary to
read or write a page:
Input format:
LOG parameter 1 parameter 2 parameter 3
Input (example):
LOG A 1 FFFFFFFFFFFF
Output (example):
ACK
Parameters:
PARAMETER 1
FUNCTION
A or B
type of the key
PARAMETER 2
FUNCTION
1 or 2 characters
sector
PARAMETER 3
FUNCTION
12 characters
key
3.5.6 PBU – purse backup
With this command it is possible to copy a purse value to an other block of the same sector. This command is only valid with mifare standard 1K/4K. You have to log in first.
Input format:
PBU parameter 1 parameter 2 parameter 3
Output:
parameter 4 parameter 5
Parameters:
PARAMETER 1
FUNCTION
1 or 2 characters
sector
--------------------------------------------------------------------------------28/45--------------------------------------------------------------------------------
PARAMETER 2
FUNCTION
1 character
source block
PARAMETER 3
FUNCTION
1 character
target block
PARAMETER 4
FUNCTION
8 characters
new purse value
PARAMETER 5
FUNCTION
2 character
optional address
3.5.7 PDC – purse decrement
With this command you can decrement a value. This command is only valid with mifare standard 1K/4K.
You have to log in first.
Input format:
PDC parameter 1 parameter 2 parameter 3
Output:
parameter 4 parameter 5
Parameters:
PARAMETER 1
FUNCTION
1 or 2 characters
sector
PARAMETER 2
FUNCTION
1 character
block
PARAMETER 3
FUNCTION
8 characters
value change
--------------------------------------------------------------------------------29/45--------------------------------------------------------------------------------
PARAMETER 4
FUNCTION
8 characters
new purse value
PARAMETER 5
FUNCTION
2 character
optional address
3.5.8 PIC – purse increment
With this command you can increment a value. This command is only valid with mifare standard 1K/4K.
You have to log in first.
Input format:
PDC parameter 1 parameter 2 parameter 3
Output:
parameter 4 parameter 5
Parameters:
PARAMETER 1
FUNCTION
1 or 2 characters
sector
PARAMETER 2
FUNCTION
1 character
block
PARAMETER 3
FUNCTION
8 characters
value change
PARAMETER 4
FUNCTION
8 characters
new purse value
PARAMETER 5
FUNCTION
2 character
optional address
--------------------------------------------------------------------------------30/45--------------------------------------------------------------------------------
3.5.9 PIV – purse init value
With this command you can initialize a value. This command is only valid with mifare standard 1K/4K.
You have to log in first.
Input format:
PIV parameter 1 parameter 2 parameter 3 parameter 4
Output:
parameter 3 parameter 4
Parameters:
PARAMETER 1
FUNCTION
1 or 2 characters
sector
PARAMETER 2
FUNCTION
1 character
block
PARAMETER 3
FUNCTION
8 characters
value
PARAMETER 4
FUNCTION
2 characters
optional address
3.5.10 PRV – purse read value
With this command you can read out a value. This command is only valid with mifare standard 1K/4K.
You have to log in first.
Input format:
PRV parameter 1 parameter 2
Output:
parameter 3 parameter 4
Parameters:
PARAMETER 1
FUNCTION
1 or 2 characters
sector
--------------------------------------------------------------------------------31/45--------------------------------------------------------------------------------
PARAMETER 2
FUNCTION
1 character
block
PARAMETER 3
FUNCTION
8 characters
value
PARAMETER 4
FUNCTION
2 characters
optional address
3.5.11 RQ – request
The RQ command answers with the ATQA answer of the transponder.
Input format:
RQ parameter
Output (example):
4400
Parameters:
PARAMETER
FUNCTION
non halt transponders
all transponders
3.5.12 SE – select
The command SE selects that transponder that answered at the anticollision. For ultralight and DESFire
transponders it is select level 1 command.
Input format:
SE
Output (example):
ACK
3.5.13 SE2 – select level 2
The command SE2 selects that transponder that answered at the anticollision level 2. For ultralight and
DESFire transponders it is select level 2 command.
Input format:
SE2
--------------------------------------------------------------------------------32/45--------------------------------------------------------------------------------
Output (example):
ACK
3.5.14 WK – write key
With the command WK you save a key to the EEPROM. You can save 8 different keys. It is not possible
to read out the saved keys.
Input:
WK parameter 1 parameter 2
Output (example):
ACK
Parameters:
PARAMETER 1
FUNCTION
1..8
key number
PARAMETER 2
FUNCTION
12 characters
6 byte key
--------------------------------------------------------------------------------33/45--------------------------------------------------------------------------------
3.6
ISO 15693 instructions
3.6.1 AFI – application family identifier
With this command you can change the application family identifier of the reader. The reader reads only
transponders, with the same application family identifier as the reader. If the application family identifier is set to 00h the reader reads each transponder.
Input format:
AFI parameter
Output (example):
00
Parameter:
PARAMETER
FUNCTION
00
every transponder is read
01h..FFh
just transponders with the
same application identifier are
read
3.6.2 BS – block size
With the command BS you can choose the block size of the used transponder. If the ISO 15693 transponders support the “get system information” command, the parameter BS is not used. Only if there is
no information of the block size of the transponder available, the parameter regulates the reading process. The block size is defined in the ISO 15693, e.g. parameter 00H means the blocksize is 1 byte.
Input format:
BS parameter
Output (example):
00
PARAMETER
FUNCTION
00h..1Fh
1 byte..32bytes
3.6.3 GMS – get multiple block security
This commands shows if one/multiple blocks of a transponder are locked or not. You have to do a get tag
first.
Input format one block:
GMS