Changes between Version 5 and Version 6 of KyoshoICserialcom


Ignore:
Timestamp:
10/27/09 10:31:32 (15 years ago)
Author:
pinwc4
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • KyoshoICserialcom

    v5 v6  
    55 
    66 
    7 == Automatic polling mode == 
     7== Automatic Polling Mode == 
    88 
    9 The Kyosho IC lap counter hardware is capable of automatically polling for RFID's and returning the results without sending repeated inventory commands.  Unfortunately this mode does not return the UID, instead it returns the data written to block 1 (data begins at block 0) of the RFID.  Block 0 and block 2 must also be populated with information for this mode to work.  The following is an example of data that could be stored to the first 3 blocks for this mode to work: 
     9The Kyosho IC lap counter hardware is capable of automatically polling for RFID's and returning the results without sending repeated inventory commands.  Unfortunately this mode does not return the UID, instead it returns the data written to block 1 (data begins at block 0) of the RFID.  Block 0 and block 2 must also be populated with information for this mode to work.  Each tag must have unique data in block 1 for this mode to work correctly.  When [wiki:KyoshoICserialcom#Taginitialization initializing] the tag you can ensure that it has unique data in block 1 by using the last 4 bytes of the UID as the data.  The following is an example of data that could be stored to the first 3 blocks for this mode to work: 
    1010{{{ 
    1111Block  00  ACAE53E0 
     
    2424{{{ 
    2525Byte 1 is the start of the frame, always A3 for the polling method 
    26 Byte 2 is the length of the frame including [wiki:KyoshoICserialcom#Checksum checksum] 
     26Byte 2 is the length of the frame including checksum 
    2727Bytes 3-6 are the data from block 2 of the tag in reverse byte order 
    2828Byte 7 is the number of times the tag was detected 
    2929Bytes 8-10 are unknown 
    30 Byte 11 is the [wiki:KyoshoICserialcom#Checksum checksum] 
     30Byte 11 is the checksum 
    3131}}} 
     32 
     33An example response packet for a RFID tag that uses the example data listed above for blocks 1-3 would look like this: 
     34{{{ 
     35A3 0B DD CC BB AA E1 01 00 00 48 
     36}}} 
     37In this case the data from block 2 is in reverse byte order, showing up as DD CC BB AA.   
    3238 
    3339 
     
    3844 
    3945The checksum for the Kyosho IC lap counter is just a simple XOR operation on all the bytes of the packet.  
     46 
     47== Tag Initialization == 
     48 
     49Remember to initialize the tag if using automatic polling mode.