Baracoda All in One Printer User Manual

Page 35

Advertising
background image

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 : 0x21 00 05 00 30 30 30 30 to disable security

Command

Header

Length

Payload

Answer

Get security

mode

0x20

00 00

-

0x20 00 01 01 if secured

0x20 00 01 00 if non secured

Command

Header

Length

Payload

Answer

Get Bluetooth class

of device

0x30

00 00

-

0x30 00 04 [Class of Device]

See the Bluetooth spec. for more details.

Typical Bluetooth class of device:

Peripheral

0x000500 (default)

Undefined

0x001F00

Phone

0x502204

Computer

0x120104

PDA

0x100114

Access Point

0x120320

Command

Header

Length

Payload

Answer

Set BT class of device

0x31

00 04

[Class of Device (4 bytes, MSB->LSB)]

(default 0x500)

0x31 00 01 01 if done

0x31 00 01 00 if not

Command

Header

Length

Payload

Answer

Get BT class of device

0x30

00 00

-

0x30 00 04 [CoD (4 bytes, MSB->LSB)]

Advertising