Baracoda 2 manual Header Length Payload Response Command

Page 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.

 

 

 

BaracodaPencil 2 – Communication Protocol v1.3

- 36 -

Image 36
Contents BaracodaPencil Communication Protocol Summary Revision History Introduction Generalities Control messages ACKNack SYNScanner to host messages Host to scanner messages Communication messagesRemarks Scanner messages 0x6A-0x6B User Interface messages Payload Response Byte Bit 0 Success BaracodaPencil 2 Communication Protocol Miscellaneous messages 0xC8-0xC9 Reserved = upload data after retrieving Capture messages Remark Stored barcodes count Frame format HeaderSelect ALL Command Set Config Type BType SizeLSB FreeLSB Free Code 128 / EAN 128 Header C Interleaved 2 of 5 Header G MSI Header K Get configType a Usual Commands Type DMSB Free Commands Table CodeSpecial Commands Type E Special CommandsExamples Nd byte $01 Example 2.2 Setting a configuration of all symbologies Data Capture for Workforce in Motion Appendix 1 Bluetooth Protocol 0x01 if MASTER, 0x00 if SLAVE, Role switch Header Length Payload Response Command Set page scan timeout Set sniff Data Capture for Workforce in Motion Get Security Mode PDA SPP DUNFAX