AGG Software Forums
November 10, 2024, 09:35:45 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome on our forum!
 
   Home   Help Search Login Register  

Pages: [1]
  Print  
Author Topic: SNIFF RFID reader output  (Read 21031 times)
mohan
Newbie
*

Karma: +0/-0
Posts: 4


View Profile
« on: December 23, 2014, 07:35:16 AM »

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.       




Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #1 on: December 23, 2014, 11:39:06 AM »

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?
Logged
mohan
Newbie
*

Karma: +0/-0
Posts: 4


View Profile
« Reply #2 on: December 23, 2014, 02:17:14 PM »

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
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #3 on: December 23, 2014, 03:08:23 PM »

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?
Logged
mohan
Newbie
*

Karma: +0/-0
Posts: 4


View Profile
« Reply #4 on: December 26, 2014, 08:12:05 AM »

I have mailed u the protocol document, expecting ur response.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines