Baracoda ScanWear Supplementary Manual

Manual is about: Communication protocol

Summary of ScanWear

  • Page 1

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

  • Page 2

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

  • Page 3

    Toughrunners / scanwear – communication protocol v1.1 - 3 - data capture for workforce in motion revision history revision history revision history revision history changes to the original manual are listed below. Document date description 1.0 25 sept. 07 initial release 1.1 16 dec. 08 graphic prese...

  • Page 4

    Toughrunners / scanwear – communication protocol v1.1 - 4 - data capture for workforce in motion 1. 1. 1. 1. Introduction introduction introduction introduction: generic packet format : generic packet format : generic packet format : generic packet format all the frames described in this document ar...

  • Page 5

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

  • Page 6

    Toughrunners / scanwear – communication protocol v1.1 - 6 - data capture for workforce in motion 0x3? Reserved 0x4? Mmi commands 0x40 get vibrator 0x41 set vibrator 0x5? Bluetooth commands 0x5e bluetooth module commands 0x6? Reading and triggering commands 0x60 get reading mode 0x61 set reading mode...

  • Page 7

    Toughrunners / scanwear – communication protocol v1.1 - 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.1 - 8 - data capture for workforce in motion 3. 3. 3. 3. Command details command details command details command details 3.1. 3.1. 3.1. 3.1. Setting m setting m setting m setting mode ode ode ode command id 0x01 description enter setting mode lengt...

  • Page 9

    Toughrunners / scanwear – communication protocol v1.1 - 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.1 - 10 - data capture for workforce in motion 3.4. 3.4. 3.4. 3.4. Restore default settings restore default settings restore default settings restore default settings command id 0x0f description restore factory default settings (reboots scanner) len...

  • Page 11

    Toughrunners / scanwear – communication protocol v1.1 - 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) 3.6. 3.6. 3.6. 3.6. Bluetooth bluetooth bluetooth bluetooth commands comman...

  • Page 12

    Toughrunners / scanwear – communication protocol v1.1 - 12 - data capture for workforce in motion response: b a ) 0x02 : stx b b ) 0x00 : frame number b c ) 0x01 : number of commands (or number of commands responses) b d ) : command b d1 ) 0x5e : command id b d2 ) 0x07 : data length b d3 ) : data b ...

  • Page 13

    Toughrunners / scanwear – communication protocol v1.1 - 13 - data capture for workforce in motion ------10 : start multiscan session ---1---- : stop multiscan session c = wrist motion action : ------00 : disabled ------01 : simple scan ------10 : start multiscan session ---1---- : stop multiscan ses...

  • Page 14

    Toughrunners / scanwear – communication protocol v1.1 - 14 - 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 15

    Toughrunners / scanwear – communication protocol v1.1 - 15 - data capture for workforce in motion f = inter-scan interval x100ms 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...

  • Page 16

    Toughrunners / scanwear – communication protocol v1.1 - 16 - 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 17

    Toughrunners / scanwear – communication protocol v1.1 - 17 - data capture for workforce in motion command id 0x81 description set symbology settings length 17 payload cf. Appendix b for details response 0 (1 = error) command id 0x82 description get voting value length 0 payload none response v = num...

  • Page 18

    Toughrunners / scanwear – communication protocol v1.1 - 18 - data capture for workforce in motion length 1 payload t = timeout in seconds (255 = autoscan mode) response 0 (1 = error) 3.9. 3.9. 3.9. 3.9. Data format commands data format commands data format commands data format commands command id 0x...

  • Page 19

    Toughrunners / scanwear – communication protocol v1.1 - 19 - data capture for workforce in motion command id 0xa3 description set symbology prefix length 22 payload aabbccddeeffgghhiijjkk where: aa = code39 bb = interleaved 2 of 5 cc = standard 2 of 5 dd = codabar ee = ean/upc ff = code128 gg = msi ...

  • Page 20

    Toughrunners / scanwear – communication protocol v1.1 - 20 - data capture for workforce in motion command id 0xa5 description set data suffix length 0-32 payload suffix response 0 (1 = error) command id 0xa6 description get data prefix length 0 payload none response 0-32 bytes: prefix default settin...

  • Page 21

    Toughrunners / scanwear – communication protocol v1.1 - 21 - data capture for workforce in motion default settings : a = 0 command id 0xa9 description set aim symbology id transmission length 1 payload a : 0 = disabled 1 = enabled response 0 (1 = error) command id 0xaa description get symbology suff...

  • Page 22

    Toughrunners / scanwear – communication protocol v1.1 - 22 - data capture for workforce in motion kk = codabloc f 0x00 means disabled. 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 0xab description set symb...

  • Page 23

    Toughrunners / scanwear – communication protocol v1.1 - 23 - data capture for workforce in motion 3.10. 3.10. 3.10. 3.10. Communication commands communication commands communication commands communication commands command id 0xd5 description get radio behavior when in charge length 0 payload none re...

  • Page 24

    Toughrunners / scanwear – communication protocol v1.1 - 24 - data capture for workforce in motion bb = radio shutdown timer when in master mode (sec.) cc = radio shutdown timer when in slave mode (sec.) u = 0 (unused) default settings : 0x04 0xb0 0x04 0xb0 0x04 0xb0 0x00 command id 0xf1 description ...

  • Page 25

    Toughrunners / scanwear – communication protocol v1.1 - 25 - data capture for workforce in motion 4. 4. 4. 4. Special packets special packets special packets special packets these packets do not follow the above frame format. 4.1. 4.1. 4.1. 4.1. Deprecated deprecated deprecated deprecated packets pa...

  • Page 26

    Toughrunners / scanwear – communication protocol v1.1 - 26 - data capture for workforce in motion 4.3. 4.3. 4.3. 4.3. Special scanner to host messages special scanner to host messages special scanner to host messages special scanner to host messages code id description payload 0x32–0x33 barcode data...

  • Page 27

    Toughrunners / scanwear – communication protocol v1.1 - 27 - data capture for workforce in motion 5. 5. 5. 5. Appendix a: bluetooth appendix a: bluetooth appendix a: bluetooth appendix a: bluetooth protocol. Protocol. Protocol. Protocol. 5.1. 5.1. 5.1. 5.1. The configuration frames are as follow the...

  • Page 28

    Toughrunners / scanwear – communication protocol v1.1 - 28 - 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 29

    Toughrunners / scanwear – communication protocol v1.1 - 29 - 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 31

    Toughrunners / scanwear – communication protocol v1.1 - 31 - 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 32

    Toughrunners / scanwear – communication protocol v1.1 - 32 - 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 33

    Toughrunners / scanwear – communication protocol v1.1 - 33 - 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 34

    Toughrunners / scanwear – communication protocol v1.1 - 34 - 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 35

    Toughrunners / scanwear – communication protocol v1.1 - 35 - 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 36

    Toughrunners / scanwear – communication protocol v1.1 - 36 - data capture for workforce in motion 6. 6. 6. 6. Appendix b: decoder protocol. Appendix b: decoder protocol. Appendix b: decoder protocol. Appendix b: decoder protocol. This section describes in detail the 17 bytes of the response/payload ...

  • Page 37

    Toughrunners / scanwear – communication protocol v1.1 - 37 - data capture for workforce in motion code39 parameters: opc39 description default b0 standard 43 characters (1) / full ascii (0) 1 b1 start/stop characters not transmitted 1 b2 (0,0): mod43 checksum calculation enabled (0,1): cip checksum ...

  • Page 38

    Toughrunners / scanwear – communication protocol v1.1 - 38 - 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 39

    Toughrunners / scanwear – communication protocol v1.1 - 39 - 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...