Baracoda All in One Printer Communication Protocol Manual - Revision History

Manual is about: ToughRunners / ScanWear

Summary of All in One Printer

  • Page 1

    Data capture for workforce in motion toughrunners / scanwear communication protocol ©baracoda tm – may 2009.

  • Page 2: Summary

    Toughrunners / scanwear – communication protocol v1.2 - 2 - data capture for workforce in motion summary summary ................................................................... 2 revision history .......................................................... 3 1. Introduction: generic packet format ...

  • Page 3: Revision History

    Toughrunners / scanwear – communication protocol v1.2 - 3 - data capture for workforce in motion revision history changes to the original manual are listed below. Document date description 1.0 25th sep. 07 initial release 1.1 16th dec. 08 graphic presentation updated 1.2 15th may 09 updated for firm...

  • Page 4

    Toughrunners / scanwear – communication protocol v1.2 - 4 - data capture for workforce in motion 1. Introduction: generic packet format all the frames described in this document are formatted as shown (*): stx frame # nbr of cmds command 1 … command x checksum etx 1 byte 1 byte 1 byte 3 n bytes … 3 ...

  • Page 5

    Toughrunners / scanwear – communication protocol v1.2 - 5 - data capture for workforce in motion 2. Command id summary the commands are sorted by category (4 msb of command id): 0x0? Scanner control commands 0x01 enter "setting mode" 0x02 exit "setting mode" 0x03 launch autotest // reserved 0x04 end...

  • Page 6

    Toughrunners / scanwear – communication protocol v1.2 - 6 - data capture for workforce in motion 0x3? Reserved 0x4? Mmi commands 0x40 get vibrator 0x41 set vibrator 0x42 get beeps (since version 3.01.00) 0x43 set beeps (since version 3.01.00) 0x5? Bluetooth commands 0x5e bluetooth module commands 0x...

  • Page 7

    Toughrunners / scanwear – communication protocol v1.2 - 7 - data capture for workforce in motion 0xa? Data format commands 0xa2 get symbology prefix 0xa3 set symbology prefix 0xa4 get data suffix 0xa5 set data suffix 0xa6 get data prefix 0xa7 set data prefix 0xa8 get aim symbology id transmission 0x...

  • Page 8

    Toughrunners / scanwear – communication protocol v1.2 - 8 - data capture for workforce in motion 3. Command details 3.1. Setting mode command id 0x01 description enter setting mode length 0 payload none response 0 (1 = error) command id 0x02 description exit setting mode length 0 payload none respon...

  • Page 9

    Toughrunners / scanwear – communication protocol v1.2 - 9 - data capture for workforce in motion command id 0x06 description reset operational statistics length 10 payload 10 bytes : aaaabbbbcc where : aaaa = number of scans done bbbb = operating time (minutes) cc = number of charge cycles done (msb...

  • Page 10

    Toughrunners / scanwear – communication protocol v1.2 - 10 - data capture for workforce in motion 3.4. Restore default settings command id 0x0f description restore factory default settings (reboots scanner) length 1 payload a = 0 response none 3.5. Mmi settings command id 0x40 description get vibrat...

  • Page 11

    Toughrunners / scanwear – communication protocol v1.2 - 11 - data capture for workforce in motion b = vibration duration on barcode lost event c = vibration duration on nack event durations in 1/10 sec response 0 (1 = error) command id 0x42 (since version 3.01.00) description get beeps length 0 payl...

  • Page 12

    Toughrunners / scanwear – communication protocol v1.2 - 12 - data capture for workforce in motion 3.6. Bluetooth commands command id 0x5e description bluetooth commands length variable (1-255) payload {code id} {length} “parameters” response if the device responds: {code id} {length} “response” else...

  • Page 13

    Toughrunners / scanwear – communication protocol v1.2 - 13 - data capture for workforce in motion b d32 ) 0x00 : length msb b d33 ) 0x04 : length lsb b d34 ) 0x30 : pin code 0 b d35 ) 0x30 : pin code 1 b d36 ) 0x30 : pin code 2 b d37 ) 0x30 : pin code 3 b e ) 0x31 : checksum = ( ∑ = x b i i b ) mod ...

  • Page 14

    Toughrunners / scanwear – communication protocol v1.2 - 14 - data capture for workforce in motion ------01 : simple scan ------10 : start multiscan session ---1---- : stop multiscan session d = long press duration x 100ms e = maximum scans in session: -0000000 : unlimited -xxxxxxx : number of scans ...

  • Page 15

    Toughrunners / scanwear – communication protocol v1.2 - 15 - data capture for workforce in motion command id 0x61 description set reading mode length 9 payload abcdefghi where : a = long press action (1 sec.): ------00 : disabled ------01 : hold laser beam ------10 : shut down scanner ------11 : sta...

  • Page 16

    Toughrunners / scanwear – communication protocol v1.2 - 16 - data capture for workforce in motion g = 0 h = 0 i = 0 response 0 (1 = error) command id 0x62 description get remote triggering settings length 0 payload none response abcdefg where : a = character to trigger a good read signal b = charact...

  • Page 17

    Toughrunners / scanwear – communication protocol v1.2 - 17 - data capture for workforce in motion command id 0x63 description set remote triggering settings length 7 payload abcdefg where : a = character to trigger a good read signal b = character to trigger a good read signal c = character to trigg...

  • Page 18

    Toughrunners / scanwear – communication protocol v1.2 - 18 - data capture for workforce in motion command id 0x81 description set symbology settings length 20 (since version 3.02.03) payload cf. Appendix b for details response 0 (1 = error) command id 0x82 description get voting value length 0 paylo...

  • Page 19

    Toughrunners / scanwear – communication protocol v1.2 - 19 - data capture for workforce in motion length 1 payload t = timeout in seconds (255 = autoscan mode) response 0 (1 = error) 3.9. Data format commands command id 0xa2 description get symbology prefix length 0 or 1 payload none response 22 or ...

  • Page 20

    Toughrunners / scanwear – communication protocol v1.2 - 20 - data capture for workforce in motion default settings : 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 command id 0xa3 description set symbology prefix length 28 (since version...

  • Page 21

    Toughrunners / scanwear – communication protocol v1.2 - 21 - data capture for workforce in motion command id 0xa4 description get data suffix length 0 payload none response 0-32 bytes: suffix default settings : no suffix command id 0xa5 description set data suffix length 0-32 payload suffix response...

  • Page 22

    Toughrunners / scanwear – communication protocol v1.2 - 22 - data capture for workforce in motion command id 0xa8 description get aim symbology id transmission length 0 payload none response a : 0 = disabled 1 = enabled default settings : a = 0 command id 0xa9 description set aim symbology id transm...

  • Page 23

    Toughrunners / scanwear – communication protocol v1.2 - 23 - data capture for workforce in motion cc = standard 2 of 5 dd = codabar ee = ean/upc ff = code128 gg = msi hh = plessey ii = code93 jj = ean128 kk = codablock f ll = rss 14 (gs1 databar) mm = rss ltd (gs1 databar ltd) nn = rss expanded (gs1...

  • Page 24

    Toughrunners / scanwear – communication protocol v1.2 - 24 - data capture for workforce in motion ee = ean/upc ff = code128 gg = msi hh = plessey ii = code93 jj = ean128 kk = codabloc f ll = rss 14 (gs1 databar) mm = rss ltd (gs1 databar ltd) nn = rss expanded (gs1 databar ltd) 0x00 means disabled. ...

  • Page 25

    Toughrunners / scanwear – communication protocol v1.2 - 25 - data capture for workforce in motion length 1 payload bit a.0 = 1 if switch to slave when charging bit a.1 = 1 if switch radio off when charging response 0 (1 = error) 3.11. Power saving commands command id 0xf0 description get shutdown ti...

  • Page 26

    Toughrunners / scanwear – communication protocol v1.2 - 26 - data capture for workforce in motion cc = radio shutdown timer when in slave mode (sec.) u = 0 (unused) response 0 (1 = error) command id 0xf2 description get battery status length 0 payload none response 1 byte: bits a.0-6 = battery level...

  • Page 27

    Toughrunners / scanwear – communication protocol v1.2 - 27 - data capture for workforce in motion 4. Special packets these packets do not follow the above frame format. 4.1. Deprecated packets code id description frame 0x01 legacy 1 1 1 or 1 2 1 these 2 sequences will be recognized and purged for ba...

  • Page 28

    Toughrunners / scanwear – communication protocol v1.2 - 28 - data capture for workforce in motion 4.3. Special scanner to host messages code id description payload 0x32–0x33 barcode data barcode string 4.4. Special host to scanner messages code id 0x46-0x47 description get capture frame format paylo...

  • Page 29

    Toughrunners / scanwear – communication protocol v1.2 - 29 - data capture for workforce in motion 5. Appendix a: bluetooth protocol. 5.1. The configuration frames are as follows: header length payload 1 byte 2 bytes(msb, lsb) 0 to 65535 bytes 5.2. Commands: command header length payload answer set p...

  • Page 30

    Toughrunners / scanwear – communication protocol v1.2 - 30 - data capture for workforce in motion command header length payload answer set mode 0x03 00 02 [0x01 if master, 0x00 if slave], [bt clock role switch] (default slave) 0x03 00 01 01 if done 0x03 00 01 00 if not you can set the size to 2. In ...

  • Page 31

    Toughrunners / scanwear – communication protocol v1.2 - 31 - data capture for workforce in motion command header length payload answer get bluetooth version 0x76 00 00 - 0x76, x, x, {version string} command frame answer restore factory settings 'r', 's', 't' - restore default settings: pin code “000...

  • Page 33

    Toughrunners / scanwear – communication protocol v1.2 - 33 - data capture for workforce in motion command header length payload answer set sniff 0x09 00 04 [msb of minsniff interval, lsb of minsniff interval, msb of maxsniff interval, lsb of maxsnif interval] 0x09 00 01 01 if done 0x09 00 01 00 if n...

  • Page 34

    Toughrunners / scanwear – communication protocol v1.2 - 34 - data capture for workforce in motion minsniff = 0x0050 maxsniff = 0x00f0 attempt = 0x0008 timeout = 0x0030 maxsniff and minsniff are only used for sniff negociation between the smartodule and the other bt device. If both sides allow sniff ...

  • Page 35

    Toughrunners / scanwear – communication protocol v1.2 - 35 - data capture for workforce in motion command header length payload answer set security mode 0x21 00 {size} {00 non secured, 01 secured} {pin code (default 01) 0x21 00 01 01 if done, 0x21 00 01 00 if not size=pincode size + 1 for example : ...

  • Page 36

    Toughrunners / scanwear – communication protocol v1.2 - 36 - data capture for workforce in motion command header length payload answer get local bt address 0x43 00 00 - 0x43 00 06 {6 bytes (bd_address msb, ..., lsb)} command header length payload answer set target service uuid 0x38 00 02 [uuid (2 by...

  • Page 37

    Toughrunners / scanwear – communication protocol v1.2 - 37 - data capture for workforce in motion command header length payload answer set remote rfcomm channel 0x36 00 01 [channel (1 byte)] 0x36 00 01 01 if done 0x36 00 01 00 if not command header length payload answer get remote rfcomm channel 0x3...

  • Page 38

    Toughrunners / scanwear – communication protocol v1.2 - 38 - data capture for workforce in motion 6. Appendix b: decoder protocol. This section describes in detail the 20 bytes of the response/payload of the 0x80/0x81. Byte # byte name default value 1 cod1 0xb4 2 cod2 0x90 3 opc39 0xef 4 opmul 0x20 ...

  • Page 39

    Toughrunners / scanwear – communication protocol v1.2 - 39 - data capture for workforce in motion when both code128 and ean128 are enabled, both are decoded but have a different symbology id. When only ean128 is enabled, only ean128 codes are decoded. Code39 parameters: opc39 description default b0 ...

  • Page 40

    Toughrunners / scanwear – communication protocol v1.2 - 40 - data capture for workforce in motion standard 2 of 5 and msi parameters: op25s description default b0 reserved (do not modify) 1 b1 (0,0) : 1 fixed allowed length (specified in les1) (1,0) : 2 fixed allowed lengths (specified in les1 and l...

  • Page 41

    Toughrunners / scanwear – communication protocol v1.2 - 41 - data capture for workforce in motion opean2 description default b0 upce check digit not transmitted 0 b1 upce conversion enabled 0 b2 0: transmit upce as upca 1: transmit upce as ean13 0 b3 0: transmit upca as ean13 1: transmit upca as upc...

  • Page 42

    Toughrunners / scanwear – communication protocol v1.2 - 42 - data capture for workforce in motion rss expanded (gs1 databar expanded) parameters : rss expanded description default b0 rss expanded validation 1 b1 aim prefix « ]e0 » validation 1 b2 aim prefix « ]c1 » validation (prioritary over b1) 0 ...