Baracoda 2 manual Appendix 1 Bluetooth Protocol

Page 34

Data Capture for Workforce in Motion

APPENDIX 1: Bluetooth Protocol

The configuration frames are as follows:

Header: 1 Byte

Length: 2 Bytes (MSB, LSB)

Payload: 0 to 65535 Bytes.

Commands

 

Command

Set Pin Code

 

 

 

 

 

Header

0x01

(flash only)

 

 

 

 

Length

xx xx (new pin size)

 

 

 

 

Payload

N digits PIN. (Defaut “0000”)

 

 

 

 

 

Response

0x01

00 01 01 if done

 

 

0x01

00 01 00 if not

 

 

 

 

Remark

Max Pin length=16

 

 

 

 

 

 

 

Command

Get Pin Code

 

 

 

 

 

Header

0x07

 

 

 

 

 

Length

00 00

 

 

 

 

Payload

N digits PIN. (Défaut “0000”)

 

 

 

 

 

Response

0x07

{PinCode size} {Pincode}

 

 

 

 

 

Remark

 

 

 

 

 

 

 

 

 

Command

Set Name

 

 

 

 

 

Header

0x02

(flash only)

 

 

 

 

 

Length

xx xx

 

 

 

 

 

Payload

(new name size)

 

 

 

 

Response

New name 0x02 00 01 01 if done

 

 

0x02

00 01 00 if not

 

 

 

 

Remark

(Names up to 248 Bytes)

 

 

 

 

 

 

 

Command

Get Name

 

 

 

 

 

Header

0x08

 

 

 

 

 

Length

00 00

 

 

 

 

 

Payload

 

 

 

 

 

 

 

Response

0x08

{name size} {name}

 

 

 

 

Remark

Name size: 2 Bytes MSB, LSB Names up to 248 Bytes

 

 

 

 

 

 

 

Command

Set Mode

 

 

 

 

 

Header

0x03

(flash only)

 

 

 

 

Length

00 01

 

 

 

 

Payload

0x01 if MASTER, 0x00 if SLAVE

 

 

 

 

 

Response

0x03

00 01 01 if done

 

 

0x03

00 01 00 if not

 

 

 

 

BaracodaPencil 2 – Communication Protocol v1.3

- 34 -

Image 34
Contents BaracodaPencil Communication Protocol Summary Revision History Introduction Generalities Nack Control messagesACK 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 Header Frame formatSelect ALL Type CommandSet Config Type B SizeFree LSBLSB Free Code 128 / EAN 128 Header C Interleaved 2 of 5 Header G MSI Header K Usual Commands Type D Get configType aMSB 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 DUN SPPFAX