background image

 

 
RoadRunners – Communication Protocol 
 

 

 
TF -  

Protocol of communication 

37/46 

January 2007

 

 

 

Example 2.2 – Setting a configuration of all symbologies. 

 
Frame to be sent to the decoder: 
 

‘A’ ‘B’  1 

$13 

 

Header Type  Size 

  Command   

 
Reading this frame, the decoder understands: 
The user wants to set a configuration (Type "B") for all the symbologies (Header "A"). The 
configuration can only contain general options and the Size field must be equal to 1. Then, the 
Command field contains the configuration itself: 
 
 

$013

 

Bit 

Option 

 

0 Symbology 

Enabled 

 

Min. length Enabled (set to 6 as default) 

 

2 Checksum 

calculation 

Disabled 

 

Checksum transmission Disabled 

 

Max. length Enabled (set to 32 as default) 

 

5 - 

 

6 - 

 

7 - 

 

 
 

6.3 Usual command 

Example 3.1 – Modifying a configuration of all symbologies. 

 
We now want disable Min length and Enable start/stop characters (for the symbologies having 
those), regardless of the other options’ settings. 
Frame to be sent to the decoder: 
 

‘A’ 

‘D’ 

‘C’ , ‘I’  

Header Type  Size 

  Command   

 
Reading this frame, the decoder understands: 
The user wants to send a command (Type "D") to all the symbologies (Header "A"). Any 
command can be sent but not all may be effective on all symbologies.  
The command "C" will first be sent to all symbologies, and applied to all of them since they 
all have this option available. 
Then the command "I" will also be sent to all symbologies but only some of them will apply it 
(Code39, Codabar). 

Содержание RoadRunners Laser

Страница 1: ...re own by Baracoda All specifications are subject to change without notice Non contractual pictures Baracoda All rights reserved Baracoda Inc US Office Baracoda SA Europe Office France 45 Main street...

Страница 2: ...etween the REMOTE APLICATION and the SCANNER 7 3 1 Communication messages 7 3 1 1 Generic Code IDs 7 3 1 2 Dock Code IDs 9 3 1 3 Bluetooth Code IDs 9 3 2 Scanner messages 10 3 2 1 Generic Code IDs 10...

Страница 3: ...ss communication based on the Bluetooth protocol Barcode reader thanks to a CMOS technology 1D 2D This document is detailing the protocol of communication between the Baracoda scanner RoadRunners with...

Страница 4: ...1 1 Format of that packet Code ID Size of payload Command parameter s Event parameter s 1 Byte 2 Bytes N Bytes 1 1 2 Explanations Code ID 1 Byte o Bits 7 5 is the logical device o Bits 4 1 is the com...

Страница 5: ...red data from the scanner ACK and NAK have the same meaning but will trigger a different event on the scanner see User Interface issues 1 2 3 Synchronisation packet This message acknowledges the recep...

Страница 6: ...RoadRunners Communication Protocol TF Protocol of communication 6 46 January 2007 2 Between the SCANNER and the REMOTE APPLICATION Code ID Description Payload 0x32 0x33 Barcode data Barcode string...

Страница 7: ...es 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 Retransmission Parameters Payload 2 bytes Max number...

Страница 8: ...2Bytes Charging cycles count since firmware v3 00 Code ID 0x4C 0x4D Description Get Configuration Checksum from firmware v3 00 Payload None Response 4 bytes checksum Code ID 0x4E 0x4F Description Set...

Страница 9: ...nds Code ID Response Else 0 3 1 2 Dock Code IDs Code ID 0x28 Description Set UART parameters Payload 4 bytes Baudrate 300 15 8 Baudrate 300 7 0 The baudrate must be between 300bps and 921600bps Stop b...

Страница 10: ...da ACK Response 1 byte Bit 0 Success Code ID 0x66 0x67 Description Get Shutdown Timers Payload None Response 2 bytes Number of minutes before shutdown when connected 1 to 0xFE 0xFF infinity Number of...

Страница 11: ...rocess only available for BRR L product Payload 1 byte sending delay seconds Response 1 byte Bit 0 Success Code ID 0x72 0x73 Description n c Payload n c Response n c Code ID 0x74 0x75 Description Rest...

Страница 12: ...ocol TF Protocol of communication 12 46 January 2007 Code ID 0x7A 0x7B Description n c Payload n c Response n c Code ID 0x7C 0x7D Description n c Payload n c Response n c Code ID 0x7E 0x7F Description...

Страница 13: ...1 Buzzer Enabled Bit 0 LEDs enabled Code ID 0x84 0x85 Description Set MMI Mode User interface Payload 1 byte Bit 1 Buzzer Enabled Bit 0 LEDs enabled Bit 7 0 Buzzer config select 1 Buzzer config desele...

Страница 14: ...umber of loops 0 0xFE 0xFF infinity Response 1 byte Bit 0 Success Code ID 0x8C 0x8D Description Stop Signal Payload 1 byte Signal number 0 3 Response 1 byte Bit 0 Success The list of MMI signals is 0...

Страница 15: ...ow 1 high Bit 1 Read beep Bit 2 ACK beep Code ID 0x94 0x95 Description 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 b...

Страница 16: ...tring Set 1 byte Success Code ID 0xC4 0xC5 Description Get Set PostSuffix Payload Get None Set 1 33 bytes PostSuffix length PostSuffix string Response Get 1 33 bytes PostSuffix length PostSuffix strin...

Страница 17: ...xC8 0xC9 Description Get Set Barcode length Payload Get None Set 2 bytes authorized barcode length Response Get 2 bytes authorized barcode length Set 1 byte Bit 0 Success Code ID 0xCA 0xCB Description...

Страница 18: ...ng trigger scan mode 0 trigger 1 autoscan 2 disabled 3 true autoscan 4 aiming trigger scan aiming trigger scan mode timeout value in second Response 1 byte Bit 0 Success Code ID 0xE6 0xE7 Description...

Страница 19: ...eset USB Plug and Scan Dongle Payload None Response 1 byte Bit 0 Success Note This command is only available using an USB Plug Scan Dongle Baracoda s product Code ID 0xF4 0xF5 Description Set Timestam...

Страница 20: ...ayload BRR L header type size Parameters BRR F Tag SubTag data SubTag Data Tag SubTag Data Storage Response If the device responds BRR L Code ID length header type response size Response BRR F payload...

Страница 21: ...0x02 00 01 00 if not Names up to 248 Bytes Get Name 0x08 Command Header Length Payload Answer Get Name 0x08 00 00 0x08 name size name Name size 2 Bytes MSB LSB Names up to 248 Bytes Set Mode 0x03 fla...

Страница 22: ...x76 0 18 string of 18 characters Answer Header Length Payload Version 0x76 Version length 2Bytes Version string Restore Factory Settings R s t Bluetooth only Command Answer Restore Factory Settings R...

Страница 23: ...inferior to MaxSniff Possible values for MinSniff and MaxSniff are 0x12 to 0xFF Sniff attempts of 0 is not allowed Warning Setting MaxSniff to 0xFF means a sniff period of 40s You will have very very...

Страница 24: ...ress 0x43 Command Header Length Payload Answer Get local BT address 0x43 00 00 0x43 00 06 6 Bytes BD_address MSB LSB Get Maximum transmit power 0x3a Command Header Length Payload Answer Get Transmit p...

Страница 25: ...mbology to select it is 1 byte long ACSII code Header Selected Symbology A SELECT ALL B Code 93 C Code 128 EAN 128 D EAN 13 UPC A E Code 39 F Codabar G Interleaved 2 of 5 H Standard 2 of 5 industrial...

Страница 26: ...on will be given in the section Command field 2 This type is used for commands requiring non Boolean information Their length will be at least 2 bytes the first one defining the type of command the ot...

Страница 27: ...Enable Disable Symbology 1 Enable Disable Min length 1 2 Enable Disable Checksum calculation 2 3 Enable Disable Checksum transmission 4 Enable Disable Max length 3 5 FREE 6 FREE MSB 7 FREE 1 If Min l...

Страница 28: ...E 1 FREE 2 FREE 3 FREE 4 FREE 5 FREE 6 FREE MSB 7 FREE CODE 128 EAN 128 Header C Bit Option LSB 0 GS transmit EAN128 1 AIM Symb ID transmit EAN128 2 FREE 3 FREE 4 FREE 5 FREE 6 FREE MSB 7 FREE EAN 13...

Страница 29: ...top character 3 Enable Disable as start stop character 4 FREE 5 FREE 6 FREE MSB 7 FREE CODABAR Header F Bit Option LSB 0 Enable Disable start stop transmission 1 FREE 2 FREE 3 FREE 4 FREE 5 FREE 6 FRE...

Страница 30: ...FREE 3 FREE 4 FREE 5 FREE 6 FREE MSB 7 FREE CODE 11 Header J Bit Option LSB 0 FREE 1 FREE 2 FREE 3 FREE 4 FREE 5 FREE 6 FREE MSB 7 FREE MSI Header K Bit Option LSB 0 FREE 1 FREE 2 FREE 3 FREE 4 FREE 5...

Страница 31: ...B 0 FREE 1 2 3 4 EAN 8 transmitted as EAN 13 5 FREE 6 MSB 7 FREE RSS 14 Header N Bit Option LSB 0 LINKAGE FLAG PRINT 1 APPLICATION ID PRINT 2 FREE 3 FREE 4 FREE 5 FREE 6 FREE MSB 7 FREE RSS Limited He...

Страница 32: ...s are not available for some symbologies the corresponding commands will be quite simply ignored for these symbologies This will allow the configuration of several symbologies at the time by sending o...

Страница 33: ...tifier transmission N O l Dissable application identifier transmission N O m Enable Group separator transmission EAN128 C n Dissable Group separator transmission EAN128 C o Enable AIM symbology identi...

Страница 34: ...This type of command allows the sending of multiple commands in one frame The Size field must then specify the total length in bytes of the command field SPECIAL COMMANDS CODE ASCII DESCRIPTION PARAM...

Страница 35: ...1 05 06 20 Header Type Size Command By reading this answer frame we can check that the decoder has well understood the selected symbology header E The command field contains the configuration itself 1...

Страница 36: ...ants to set a configuration Type B for Codabar Header F the configuration will contain general options and others specific to cadabar Size 2 Then the Command field contains the configuration itself 1s...

Страница 37: ...0 3 Checksum transmission Disabled 1 4 Max length Enabled set to 32 as default 0 5 0 6 0 7 6 3 Usual command Example 3 1 Modifying a configuration of all symbologies We now want disable Min length and...

Страница 38: ...rame the decoder understands The user wants to send a special command Type E to Code39 symbology Header E The size must be at least 2 and the first byte of the command field must contain a code ACSII...

Страница 39: ...es the desired menu command group For example all Code39 configuration settings are identified with a Tag of C39 SubTag A 3 character case insensitive field that identifies the desired menu command wi...

Страница 40: ...validate and transmit C39CK22 MIN Min length 0 48 0 C39MIN MAX Max length 0 48 48 C39MAX Append Off C39APP0 APP Append On C39APP1 Code32 Pharmaceutical PARAF Off C39B320 B32 Code32 Pharmaceutical PARA...

Страница 41: ...UPAENA1 UPC A check digit Off UPACKX0 CKX UPC A check digit On UPACKX1 UPC A number system Off UPANSX0 NSX UPC A number system On UPANSX1 UPC A 2 Digit Addenda Off UPAAD20 AD2 UPC A 2 Digit Addenda On...

Страница 42: ...ot required EA8ARQ0 EA8 EAN 8 ARQ EAN 8 Addenda required EA8ARQ1 DFT Default all MSI settings MSIDFT Off MSIENA0 ENA On MSIENA1 Check car validate type 10 but don t transmit MSICHK0 CHK Check car vali...

Страница 43: ...erlands Post ENA On KIXENA1 Off AUSENA0 AUX Australian Post ENA On AUSENA1 Off JAPENA0 JAP Japanese Post ENA On JAPENA1 DFT Default all China post settings CPCDFT Off CPCENA0 ENA On CPCENA1 MIN Min le...

Страница 44: ...able for the particular storage table indicated by the Storage field of the command In this case the SubTag and Data fields should not be used because they are ignored by the device SubTag Field Usage...

Страница 45: ...CK ACK is the ACK ascii character 0x06 Hex FE 00 3F 43 33 39 44 46 54 06 2C 45 4E 41 31 06 2C 53 53 58 30 06 2C 41 53 43 30 06 2C 41 50 50 30 06 2C 43 4B 32 30 06 2C 42 33 32 30 06 2C 4D 49 4E 30 06 2...

Страница 46: ...RoadRunners Communication Protocol TF Protocol of communication 46 46 January 2007...

Отзывы: