News:

Welcome on our forum!

Main Menu

SNIFF RFID reader output

Started by mohan, December 23, 2014, 04:35:16 AM

Previous topic - Next topic

mohan

Hi All,

I want to send the TCP output of an RFID reader to SQL database.  Initially I want to analyze the data received from the RFID reader.  I directed the TCP output of the RFID reader to a TCP port in the PC and analyzed through PORT PEEKER, it displays the TAG id sent by the RFID reader. While trying with Advanced TCP logger the output is junk characters?? 

output of PORT PEEKER

192.168.0.199 : 10020 TCP Data In Length 8 bytes
MD5 = 983742DE68ADDAFED24FD0830EA38B39
---- 22/12/2014 20:46:38.640
0000   07 00 EE 00 15 60 46 86                           .....`F.       

192.168.0.199 : 10020 TCP Data In Length 8 bytes
MD5 = 04174099DBBABC9295E30C80BC4B9E27
---- 22/12/2014 20:46:59.812
0000   07 00 EE 00 10 01 71 8A                           ......q.       





Arthur Grasin

Your reader sends the Tag ID in the binary format. It is necessary to know a data exchange protocol do decode this binary data. Do you have the corresponding document?
If you like my work, please take a few seconds and add feedback about our site or our software [here]

mohan

Communication Protocol

Len   Adr   reCmd   Status   Data[]   LSB-CRC16   MSB-CRC16

Len   1   Byte
Response data block length 1 byte (not including itself). The number of Len equals the length of Data [] plus 5.

Adr   1   Byte
Reader address, 1 byte. Value rang is 0~254.

reCmd   1   Byte
Response command symbol, 1 byte. If the command is unrecognized, the reCmd is 0x00.

Status   1   Byte
Result status value, 1byte. Refer to following table for details.

Data[]   Variable   Response data. There is no this item if Len equals 5.

LSB-CRC16   1   Byte
CRC16 LSB .CRC-16 checksum, 2 bytes with least significant byte first.

MSB-CRC16   1   Byte
CRC16 MSB

Arthur Grasin

Please, send the full document and RFID reader name to support _at_ aggsoft.com and we'll develop a parser for you. Is it necessary to send requests to the reader?
If you like my work, please take a few seconds and add feedback about our site or our software [here]

mohan

I have mailed u the protocol document, expecting ur response.