![Baracoda ScanWear Скачать руководство пользователя страница 12](http://html.mh-extra.com/html/baracoda/scanwear/scanwear_supplementary-manual_472624012.webp)
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
d31
) 0x07
: Get PIN Code
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 256
= 0x01+0x5E+x007+0x07+0x04+0x00
+0x30+0x30+0x30+0x30 mod 0x100
= 0x131 mod 0x100
= 0x31
B
f
) 0x03 : ETX
3.7.
3.7.
3.7.
3.7.
Reading and triggering commands
Reading and triggering commands
Reading and triggering commands
Reading and triggering commands
Command ID
0x60
Description
Get reading mode
Length
0
payload
none
Response
ABCDEFGHI
where :
A = long press action (1 sec.):
------00 : Disabled
------01 : Hold laser beam
------10 : Shut down scanner
------11 : Start Multiscan Session
B = simple press action :
------00 : Disabled
------01 : Simple scan