Baracoda 2 User Manual

Page 36

Advertising
background image

BaracodaPencil 2 – Communication Protocol v1.3

- 36 -

Data Capture

for Workforce

in Motion

Command

Get Bluetooth Version

Header

0x76

Length

00 00

Payload

Response

0x76, x, x, {version string }

Command

Restore Factory Settings

Header

Length

Payload

('R', 's', 't')

Response

Command

Get inquiry scan timeout

Header

0x27

Length

00 00

Payload

Response

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

Window (MSB) | Inquiry Window (LSB)]

Remark

Inquiry Interval and Inquiry Window are in number of Bluetooth

slots) (1 slot = 0.625 ms)

Command

Set inquiry scan timeout

Header

0x26

Length

00 04

Payload

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

(MSB) | Inquiry Window (LSB)]

(default 0xC80, 0x18)

Response

0x26 00 01 01 if done

0x26 00 01 00 if not

Remarks

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