Baracoda 2 manual Spp, Dun, Fax

Page 42

Data Capture for Workforce in Motion

 

Payload

 

 

 

 

 

 

 

 

 

Response

0x39

00 02 [UUID]

 

 

 

 

 

Remark

Try to connect to this remote service.

 

 

 

 

 

Here are some service UUID:

 

 

 

 

 

SPP

0x1101

 

 

 

 

 

 

DUN

0x1103

 

 

 

 

 

 

FAX

0x1102

 

 

 

 

 

 

You can get more UUIDs by reading the Bluetooth spec.

 

 

 

 

Command

Get Encryption Mode

 

 

 

 

 

 

Header

0x40

 

 

 

 

 

 

 

Length

00 00

 

 

Payload

 

 

 

 

 

 

 

 

 

 

 

 

Response

0x40

00 01 [encryption]

 

 

 

 

 

 

Remark

 

 

 

 

 

 

 

 

 

 

Command

Set Encryption Mode

 

 

 

 

Header

0x41 ( flash only)

 

 

 

 

 

Length

00 01

 

 

 

 

 

Payload

[Encryption (1 byte)]

 

 

 

 

 

Response

0x41

00 01 01 if done

 

 

0x41

00 01 00 if not

 

 

 

 

Remark

Argument is: 0x01 to enable encryption, 0x00 to disable.

 

 

 

 

 

 

 

Command

Get local Bluetooth Address

 

 

 

 

 

 

Header

0x43

 

 

 

 

 

 

 

Length

00 00

 

 

Payload

 

 

 

 

 

 

 

 

 

 

 

 

Response

0x43

00 06 {6 Bytes (BD_address MSB, ..., LSB)}

 

 

 

 

 

 

Remark

 

 

 

 

 

 

 

 

BaracodaPencil 2 – Communication Protocol v1.3

- 42 -

Image 42
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 Frame format HeaderSelect ALL Type CommandSet Config Type B 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