Baracoda All in One Printer User Manual

Page 31

Advertising
background image

ToughRunners / ScanWear – Communication Protocol v1.2

- 31 -

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 “0000”

Mode : Slave

Link Timeout : 5s

Security mode : ON

Sniff

Uart settings.

Class of Device : 0x500 (peripheral)

Encryption Mode

Page And Inquiry Scan.

Remote Channel (0) and Target Service (SPP)

Bluetooth Name (Smart Module)

Local Services (SPP only)

All other settings are not changed.

Command

Header

Length

Payload

Answer

Get inquiry scan timeout

0x27

00 00

-

0x27 00 04 [Inquiry Interval (MSB) | Inquiry

Interval (LSB) | Inquiry Window (MSB) | Inquiry

Window (LSB)]

Inquiry Interval and Inquiry Window are in number of Bluetooth slots) (1 slot = 0.625 ms)

Command

Header

Length

Payload

Answer

Set inquiry

scan

timeout

0x26

00 04

[Inquiry Interval (MSB) | Inquiry Interval (LSB) |

Inquiry Window (MSB) | Inquiry Window (LSB)]

(default 0xC80, 0x18)

0x26 00 01 01 if

done

0x26 00 01 00 if not

Inquiry Scan TimeOuts are used by the Module to answer to Inquiries. So, if you set both values to 0,

the Module will not be discoverable.

Advertising