beautypg.com

Commands – Baracoda All in One Printer User Manual

Page 29

background image

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 PinCode

0x01

xx xx

(new pin size)

N digits PIN.

(Default “0000”)

0x01 00 01 01 if done

0x01 00 01 00 if not

Max Pin length=16

Command

Header

Length

Payload

Answer

Get PinCode

0x07

00 00

N digits PIN. (Default “0000”)

0x07 {PinCode size} {Pincode}

Command

Header

Length

Payload

Answer

Set Name

0x02

xx xx

(new name size)

New name

0x02 00 01 01 if done

0x02 00 01 00 if not

(Names up to 20 Bytes)

Command

Header

Length

Payload

Answer

Get Name

0x08

00 00

0x08 {name size} {name}

(Name size: 2 Bytes MSB, LSB)

Command

Header

Length

Payload

Answer

Set mode

0x03

00 01

0x01 if MASTER, 0x00 if SLAVE

(default SLAVE)

0x03 00 01 01 if done

0x03 00 01 00 if not

When in Master, the Module connects to the address specified by Set REMOTE BDA or to the last

paired device.