TSC Auto ID Technology 2009001 User Manual

TSC-RF013
Protocol Manual
Module
Version 1.01
2009.12.14
TSC-RF013 Module Protocol Manual
Contents
I、De
II、Function S
III、Description of t
scriptions
................................................................................................
Command Format ........................................................................................................................... 2
ummary
..................................................................................3
Flags List .............................................................................................................................................. 3
Command List ................................................................................................................................... 3
Response Code List ......................................................................................................................... 3
Select Tag
Read Tag
he Transmi
............................................................................................................................................ 4
.............................................................................................................................................. 5
ssion
.......................................................4
Write Tag ............................................................................................................................................. 6
- 1 -
2
TSC-RF013 Module Protocol Manual
I、Descriptions
M
andatory
O
ptional Fields
Fields
Command
Format
STX LENS
0x02 8
Response:
STX LENS R
0x02 8
STX
:
LENS
the
[STX]
FLAGS
COMMAND
Response Code
DATA1, DATA2, ... , DATA
CRC
Requ
bits 8
is the
is a two-byte field calcula
est:
FLAGS COMMAND DATA
bits
8
bits
8bits
DATA
1
8bits
...
2
...
DATA
n*8bits
n
esponse Code DATA
bits
ASCII
specifies how many bytes are in the request or the response, not
and not incl
specify command options.
8
bits
8bits
code for a Start of
uding the [LENS].
Transmi
specifies the command type of
specifies the response message from the module.
are optional for the command type data.
n
ted by the host controller.
DATA
1
...
2
8bits
ssion.
...
( STX = 0x02 )
the host request.
DATA
n*8bits
n
CRC
16bits
CRC
16bits
including
The CRC is calculated over all the the initiator
The CRC polynomial,
calculation
and terminator bytes.
x
with a preset value of 0x0000.
16
fields in the request or res
ponse not incl
uding
12
5
+
x
+
x
+ 1 = 0x8408, is used in a forward CRC
- 2 -
Loading...
+ 5 hidden pages