Baracoda 2 manual Pda

Page 41

Data Capture for Workforce in Motion

Typical Bluetooth class of device:

 

Peripheral

 

0x000500 (default)

 

 

 

 

 

 

 

 

 

 

Undefined

 

0x001F00

 

 

 

 

 

 

 

 

 

 

Phone

 

0x502204

 

 

 

 

 

 

 

 

 

 

Computer

 

0x120104

 

 

 

 

 

 

 

 

 

 

PDA

 

0x100114

 

 

 

 

 

 

 

 

 

 

Access Point

 

0x120320

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Command

 

Set Remote rfcomm channel

 

 

 

 

 

 

 

 

Header

 

0x36

 

 

 

 

 

 

 

 

 

 

Length

 

00 01

 

 

 

 

 

 

 

 

Payload

 

[channel (1byte)]

 

 

 

 

 

 

 

Response

 

0x36

00 01 01 if done

 

 

 

0x36

00 01 00 if not

 

Remark

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Command

 

Get Remote rfcomm channel

 

 

 

 

 

 

 

 

 

Header

 

0x37

 

 

 

 

 

 

 

 

 

 

Length

 

00 00

 

 

 

 

 

 

 

 

 

 

 

Payload

 

 

 

 

 

 

 

 

 

 

 

 

 

Response

 

0x37

00 01 [channel]

 

 

 

 

 

 

 

 

 

 

Remark

 

 

 

 

 

 

 

 

 

 

 

 

 

 

If “channel” is not zero, the Module will directly try to connect (if in master mode) to the specified rfcomm channel.

Setting the channel to zero will force the Module to connect (if in master mode) to the first specified Remote Service UUID (by default SPP).

The services in the Module are all set to channel 1.

Command

Set Target Service UUID

 

 

 

Header

0x38

 

 

 

Length

00 02

 

 

Payload

[UUID (2 Bytes)]

 

(default 0x1101)

 

 

 

Response

0x38

00 01 01 if done

 

0x38

00 01 00 if not

 

 

Remark

Try to connect to this remote service.

 

 

 

 

 

Command

Get Target Service UUID

 

 

 

Header

0x39

 

 

 

Length

00 00

 

 

 

BaracodaPencil 2 – Communication Protocol v1.3

- 41 -

Image 41
Contents BaracodaPencil Communication Protocol Summary Revision History Introduction Generalities ACK Control messagesNack SYNScanner to host messages Communication messages Host to scanner 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 Select ALL Frame formatHeader Set Config Type B CommandType SizeLSB Free LSBFree Code 128 / EAN 128 Header C Interleaved 2 of 5 Header G MSI Header K MSB Free Get configType aUsual Commands Type D Code Commands TableSpecial Commands Special Commands Type EExamples 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 FAX SPPDUN