Baracoda All in One Printer All in One Printer User Manual


 
ToughRunners / ScanWear – Communication Protocol v1.2 - 34 -
Data Capture
for Workforce
in Motion
MinSniff = 0x0050
MaxSniff = 0x00F0
Attempt = 0x0008
Timeout = 0x0030
MaxSniff and MinSniff are only used for sniff negociation between the Smartodule 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.
Attempt Negociated Sniff
For further details on Sniff values, see the Bluetooth spec 1.1, chapter 10.8.2
Command
Header
Length
Payload
Answer
Set link
timeout
0x19
00 02
[MSB of link Tmo, LSB of link Tmo]
0x19
00 01 01 if done
0x19 00 01 00 if not
The link Time Out is a multiple of 625µsec (625µs = 1 Bluetooth slot) (default 0x7D00 (=20s))
This Timeout is used 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.
Command
Header
Length
Payload
Answer
Get link timeout
0x18
00 00
-
0x18 00 02 [MSB of link Tmo, LSB of link Tmo]