background image

 

TagRunners – Communication Protocol v1.4 

- 4 - 

Data Capture 

for Workforce 

in Motion 

1.

1.

1.

1.

 

Introduction 

1.1.

1.1.

1.1.

1.1.

 

Generalities

Generalities

Generalities

Generalities 

 

 

 

 

TagRunners is a wireless RFID data capture product (13.56MHz). 

This document is detailing the protocol of communication between the Baracoda TagRunners and its 

foreign environment through Radio Frequency link (ie: Bluetooth). 

 

Wireless  communication  is  based  on  the  Bluetooth  protocol,  thanks  to  the  embedded  Baracoda 

Equinox Bluetooth Stack.  

HF Tag reading / encoding capabilities are enabled thanks to a RFID antenna & decoder. 

 

The messages described in this document can be: 

-

 

Host to scanner messages: the packet is sent only by the host to the scanner 

-

 

Scanner to host messages: the packet is sent only by the scanner to the host 

-

 

Bidirectional messages: the packet format is the same whether it is sent by the host or 

the scanner 

 

http://www.baracoda.com

 

 

1.2.

1.2.

1.2.

1.2.

 

Generic packet

Generic packet

Generic packet

Generic packet 

 

 

 

All the frames described in this document are formatted as shown: 

Code ID  Length 

Payload 

1 Byte 

2 Bytes  N Bytes 

- 1 byte for code ID 

Bits 7:5 is the logical device 

Bits 4:1 is the command 

Bit 0: when set, the message must be acknowledged 

- 2 bytes for the size of the payload (big-endian), including the sequence number byte which is 

considered as part of the payload 

- Payload (including 1 byte for sequence number when applicable). 

The response will have the same code ID as the command. 

 

 

 

 

Summary of Contents for TagRunners

Page 1: ...Data Capture for Workforce in Motion TagRunners Communication Protocol Baracoda TM December 2008...

Page 2: ...UNICATION PROTOCOL 5 2 1 BIDIRECTIONAL PACKETS 5 2 1 1 CONTROL MESSAGES 5 2 2 SCANNER TO HOST MESSAGES 6 2 2 1 ENCAPSULATION SCHEME 6 2 2 2 DATA STRING FORMAT 6 2 3 HOST TO SCANNER MESSAGES 7 2 3 1 CO...

Page 3: ...istory Revision History Revision History Changes to the original manual are listed below Document Date Description 1 0 23 Dec 08 Initial release 1 2 23 Dec 08 Modified 2 2 1 2 2 2 Updated command 0x76...

Page 4: ...be Host to scanner messages the packet is sent only by the host to the scanner Scanner to host messages the packet is sent only by the scanner to the host Bidirectional messages the packet format is t...

Page 5: ...2 Acknowledgment packets Code ID Description Frame 0x06 ACK 0x06 0x01 0xYY 0x15 NACK 0x15 0x01 0xYY These messages acknowledge the reception of a valid message with the expected sequence number 0xYY...

Page 6: ...os Scanner to host t t t messages messages messages messages 2 2 1 Encapsulation scheme Code ID Description Payload 0x34 0x35 RFID data TagID DATA string 2 2 2 Data string format Timestamp Data Prefix...

Page 7: ...n Parameters Payload None Response 2 bytes Max number of retransmission 1 to 0xFE 0xFF infinity Delay between transmission 1 to 0xFF in tenth of seconds Code ID 0x44 0x45 Description Set Retransmissio...

Page 8: ...e 0 Disable communication via RS232 dock 1 Enable Response Get 1 byte 0 Disable communication via RS232 dock 1 Enable Set 1 byte Bit 0 Success Code ID 0x56 0x57 Description Get Set In charge behavior...

Page 9: ...OPTIONAL 1 disconnect the scanner if connected Response Get 1 byte 1 enabled 0 disabled Set 1 byte Bit 0 Success Code ID 0x5E 0x5F Description Bluetooth Commands Payload Code ID Parameters Response I...

Page 10: ...ption Set Operating Mode Payload 1 byte Bit 0 0 real time Bit 0 1 batch If real time mode is set Bit 7 limited Bit 6 ACK beep Bit 5 no ACK beep NOTE the ACK beep enable disable is only effective when...

Page 11: ...YY MM DD HH MM SS Response 1 byte Bit 0 Success Code ID 0x74 0x75 Description Restore defaults settings Payload None Response 1 byte Bit 0 Success Remarks External Flash memory is also erased Code ID...

Page 12: ...e Bit 1 Buzzer Enabled Bit 0 LEDs enabled Code ID 0x84 0x85 Description Set MMI Mode Payload 1 byte Bit 1 Buzzer Enabled Bit 0 LEDs enabled Bit 7 0 Buzzer config select 1 Buzzer config deselect Bit 6...

Page 13: ...econds Response 1 byte Bit 0 Success Code ID 0x8A 0x8B Description Play Signal Payload 2 bytes Signal number 0 3 Number of loops 0 0xFE 0xFF infinity Response 1 byte Bit 0 Success Code ID 0x8C 0x8D De...

Page 14: ...ion Set Beeps mode Payload 1 byte Bit 0 Beep level 0 low 1 high Bit 1 Read beep Bit 2 ACK beep Bit 7 0 ACK beep config select 1 ACK beep config deselect Bit 6 0 Read beep config select 1 Read beep con...

Page 15: ...taSuffix Payload Get None Set 1 33 bytes DataSuffix length DataSuffix String Response Get 1 33 bytes DataSuffix length DataSuffix String Set 1 byte Success Code ID 0xC6 0xC7 Description Get Set Data F...

Page 16: ...r 1byte 0 restore defaults keep link keys reboot scanner 1 switch off scanner no restoring defaults 2 reboot scanner no restoring defaults Response 1 byte Bit 0 Success Code ID 0xCE 0xCF Description B...

Page 17: ...uccess Code ID 0xD2 0xD3 Description Get Set Anti duplicate scans Payload Get None Set 1 byte 0 disabled 1 no consecutive duplicate scans error signal 2 no consecutive duplicate scans no decoding Resp...

Page 18: ...remote trigger Payload None use default 5s timeout 1 byte timeout s Response 1 byte Bit 0 Success Code ID 0xDE 0xDF Description RFID commands Payload Code ID Parameters Response Code ID Response RFID...

Page 19: ...ponse 1 byte Bit 0 Success Code ID 0xE6 0xE7 Description Get Data Format Payload None Response 1 byte Bit 2 Timestamp Bit 1 Capture Prefix Bit 0 Capture Suffix Code ID 0xE8 0xE9 Description Set Data F...

Page 20: ...Suffix length Capture Suffix String Code ID 0xF0 0xF1 Description Set Capture Suffix Payload 1 33 bytes Capture Suffix length Capture Suffix String Response 1 byte Bit 0 Success Code ID 0xF4 0xF5 Desc...

Page 21: ...y Length xx xx new pin size Payload N digits PIN Defaut 0000 Response 0x01 00 01 01 if done 0x01 00 01 00 if not Remark Max Pin length 16 Command Get Pin Code Header 0x07 Length 00 00 Payload N digits...

Page 22: ...f more than one SmartModule needs to connect to the same other device PC Access Point you will need to switch the clock role to allow the slave to be connected to more than one master Note that most o...

Page 23: ...Inquiry Interval MSB Inquiry Interval LSB Inquiry Window MSB Inquiry Window LSB Remark Inquiry Interval and Inquiry Window are in number of Bluetooth slots 1 slot 0 625 ms Command Set inquiry scan tim...

Page 24: ...Connectable Command Get page scan timeout Header 0x25 Length 00 00 Payload Response 0x25 00 04 Page Interval MSB Page Interval LSB Page Window MSB Page Window LSB Remark Page Scan Interval and Page S...

Page 25: ...t Sniff Header 0x10 Length 00 00 Payload Response 0x10 00 08 MSB of MinSniff interval LSB of MinSniff interval MSB of MaxSniff interval LSB of MaxSnif interval Sniff Attempts MSB Sniff attempts LSB Sn...

Page 26: ...means a sniff period of 40s You will have very very low data rate Note This setting takes effect immediately For further details on Sniff values see the Bluetooth spec 1 1 chapter 10 8 2 Command Get...

Page 27: ...cured PIN CODE default 01 Response 0x21 00 01 01 if done 0x21 00 01 00 if not Remark Size PINCODE size 1 For example 0x21 00 05 00 30 30 30 30 to disable security Command Get Bluetooth class device He...

Page 28: ...0x37 Length 00 00 Payload Response 0x37 00 01 channel Remark If channel is not zero the Module will directly try to connect if in master mode to the specified rfcomm channel Setting the channel to zer...

Page 29: ...ing the Bluetooth spec Command Get Encryption Mode Header 0x40 Length 00 00 Payload Response 0x40 00 01 encryption Remark Command Set Encryption Mode Header 0x41 flash only Length 00 01 Payload Encryp...

Page 30: ...s between 0x00 and 0x7F are configuration commands Commands with codeIDs between 0x80 and 0xFF are communication commands Communication protocol Communication protocol Communication protocol Communica...

Page 31: ...0x00 0x04 The new active protocols mask value is 0xFFF4 Code ID 0x03 Description Get Set protocol ID transmission Tagrunners only Payload Get None Set 1 byte 1 enable 0 disable Response Get 1 byte 1 e...

Page 32: ...each of the 2 key sets A and B defined in Mifare spec for each key set the 4 first keys are reserved for default keys Code ID 0x05 Description Load Mifare key s Tagrunners only Payload Restore defaul...

Page 33: ...any supported card 01 only try to read mifare ultralight cards 02 only try to read mifare 1K cards 03 only try to read mifare 4K cards ETC the complete list of card types codes is shown below 2B star...

Page 34: ...7 bytes 2B protocol mask the mask format is the same as the one used in command 0x02 if 00 00 is given then the default mask will be used the one defined with command 0x02 1B timeout Timeout for the...

Page 35: ...Texas Instruments Tag it HF I Standard chip inlay YES 0x0e ISO 15693 Texas Instruments Tag it HF I Pro chip inlay YES 0x0f ISO 15693 Texas Instruments Others NO 0x10 ISO 15693 STMicroelectronics LRI64...

Page 36: ...36 Data Capture for Workforce in Motion blocks 8 9 UID block 10 AFI Tag it HF I Pro chip inlay 48 Bytes 12 4 byte blocks blocks 8 9 UID block 10 AFI block 11 password LRI64 14 Bytes 14 1 byte blocks b...

Reviews: