Baracoda 2 manual Data Capture for Workforce in Motion

Page 39

Data Capture for Workforce in Motion

Low Power (medium speed):

MinSniff = 0x0050

MaxSniff = 0x00F0

Attempt = 0x0008

Timeout = 0x0030

MaxSniff and MinSniff are only used for sniff negotiation between the Smart Module and the other BT device. If both sides allow sniff value MaxSniff, then MaxSniff will be used. If the other side does not accept Sniff values MinSniff to MaxSniff, no sniff will be used.

Values are in number of Bluetooth slots (1 slot = 625µs) Set MinSniff and MaxSniff to 0 to disable Sniff. MinSniff must be inferior to MaxSniff.

Possible values for MinSniff and MaxSniff are 0x12 to 0xFFFF. Sniff attempts of 0 is not allowed.

Warning: Setting MaxSniff to 0xFF means a sniff period of 40s! You will have very very low data rate.

Note: This setting takes effect immediately.

For further details on Sniff values, see the Bluetooth spec 1.1, chapter 10.8.2

 

Command

Get link timeout

 

 

 

 

Header

0x18

 

 

 

 

Length

00 00

 

 

 

 

Payload

 

 

 

 

 

Response

0x18 00 02 [MSB of link Tmo, LSB of link Tmo]

 

 

 

 

Remark

 

 

 

 

 

 

 

 

Command

Set link timeout

 

 

 

 

Header

0x19

 

 

 

 

Length

00 02

 

 

 

 

Payload

[MSB of link Tmo, LSB of link Tmo]

 

 

 

 

Response

0x19 00 01 01 if done

 

 

 

 

Remark

The link Time Out is a multiple of 625µsec (625µs = 1 Bluetooth

 

 

slot) (default 0x7D00 (=20s))

 

 

 

This Timeout is use by the Link Manager to monitor the Bluetooth Link. If there is no answer from the other device after this timeout, the Link Manager assumes that we are disconnected. By default, this value is set to 20 seconds. You can go down to 1s, but then you can have disconnection even if it’s only a temporary perturbation.

This value will take effect at the next connection.

BaracodaPencil 2 – Communication Protocol v1.3

- 39 -

Image 39
Contents BaracodaPencil Communication Protocol Summary Revision History Introduction Generalities SYN Control messagesACK NackScanner 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 Frame format HeaderSelect ALL Size CommandSet Config Type B TypeLSB 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 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 SPP DUNFAX