Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hopeland rs232&TCPIP protocol instance
#1
RS232 / TCP

Configure antenna output power process
Send    AA020100020115762D   // configure the output power of antenna 1 to 21dbm
Data analysis:
AA // Data frame start identification
0201 //Protocol control word,0x02 represents RFID operation message,  0x01 represents MID
0002 // The length of the following data, does not include checksum
0115 // 0x01 represents antenna 1,0x15 represents output power value , equal to decimal value 21
762D // checksum
 
Receive     AA020100010092F3  //Reader return response: Configure successfully.
Data analysis:
AA // Data frame start identification
0201 //Protocol control word,0x02 represents RFID operation message,  0x01 represents MID
0001 // The length of the following data, does not include checksum
00 // Configuration successful
92F3 //checksum
 
Send    AA020200002828   //query the reader’s antenna output power
Receive     AA02020002011576A5 // antenna 1 output power is 0x15, equal to 21

Reading EPC process
Send    aa 02 ff 00 00 a4 0f   // Send Stop command to reader
Receive     aa 02 ff 00 01 00 0a d8  //Reader return response: Stop successful
 
Send    aa 02 10 00 02 01 01 71 ad    //configure antenna 1 reading continuously
Receive     aa 02 10 00 01 00 46 f6    //Configure successfully.
Send    AA021000020100F1A8     //configure antenna 1 read single
Receive     aa 02 10 00 01 00 46 f6    //Configure successfully.
Difference between inventory and single read is that single read automatically stops reading after one time read, but inventory read requires a stop function to stop reading.
 
 Receive     aa 12 00 00 11 00 0a aa aa bb bb cc cc 20 18 04 11 28 00 01 01 00 73 7a
Data analysis:
aa //Data frame start identification
12 00  //Protocol control word,1 represents the reader's active upload data and 2 represents the RFID operation message, 00 represents MID
00 11 //The length of the following data, does not include checksum
00 0a //EPC data length
aa aa bb bb cc cc 20 18 04 11 //EPC value
28 00 //PC value
01 //antenna number which detected tag
01 00 //0x01 represents RSSI PID No. , 0x00 represents RSSI value
73 7a // checksum
 
Send    aa 02 ff 00 00 a4 0f  // Stop command
Receive     aa 02 ff 00 01 00 0a d8    //Stop successful
 
Receive     aa 12 01 00 01 00 15 70 //End of card reading notification
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)