Format of the Tag Data from the Reader
This document will give you idea about Time Synchronization Response or the format of the tag data received from the reader.
When you fire Time Synchronization command on the Serial Port you will get the tag data along with date time.
Ex. Following is the response received from the reader
Response: 2F 50 10 00 02 00 00 0B A8 38 17 14 10 18 07 07 D2 2E
In this response 7th and 8th position is the Tag ID in hex.
So the Tag ID= 0B A8= 2984.
Separated Attributes:
Header : 2F
Command ID : 50
Position Of CRC : 10
Reader Id : <Reader ID>=02
Server Id : <Server ID>=00
<Data> : <2 Byte TAG DATA>= 2984
<1 Byte TAG STATUS>= Tag Status
<6 Byte Date and Time>= Date: 18/07/07 Time: 10:14:17*
CRC : <CRC>= D2
Trailer : 2E
*actual format: seconds minutes hrs date month year
17 14 10 18 07 07
Note: The Tag ID is nothing but the serial no. printed on the tag.
Ex. Following is the response received from the reader
Response: 2F 50 10 00 02 00 00 0B A8 38 17 14 10 18 07 07 D2 2E
| Response: | 2F |
50 |
10 |
00 |
02 |
00 |
00 |
0B |
A8 |
38 |
17 |
14 |
10 |
18 |
07 |
07 |
D2 |
2E |
||
| Position |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
In this response 7th and 8th position is the Tag ID in hex.
So the Tag ID= 0B A8= 2984.
Separated Attributes:
Header : 2F
Command ID : 50
Position Of CRC : 10
Reader Id : <Reader ID>=02
Server Id : <Server ID>=00
<Data> : <2 Byte TAG DATA>= 2984
<1 Byte TAG STATUS>= Tag Status
<6 Byte Date and Time>= Date: 18/07/07 Time: 10:14:17*
CRC : <CRC>= D2
Trailer : 2E
*actual format: seconds minutes hrs date month year
17 14 10 18 07 07
Note: The Tag ID is nothing but the serial no. printed on the tag.
Created by
zopeuser
Last modified 2008-01-17 18:18
Last modified 2008-01-17 18:18