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
commands
commands
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: {0}
Bluetooth specific commands from the Bluetooth communication protocol are to be framed within
the payload of this message. See Appendix A for more details.
The default Bluetooth settings are the BT module’s default settings, excepted the BT name which
default value must be handled by the firmware:
ToughRunners : “ToughRunners xx xx”
Scanwear : “ScanWear xx xx”
xx xx being the 4 last readable characters of the BDA written in hexadecimal (two last
bytes of BDA).
Example : “Get PIN Code”
Command :
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
) 0x03 : Data length
B
d3
)
: Data
B
d31
) 0x07
: Get PIN Code
B
d32
) 0x00
: Length MSB
B
d33
) 0x00
: Length LSB
B
e
) 0x69 : CheckSum = (
∑
=
e
b
i
i
B
) mod 256
B
f
) 0x03 : ETX