User's Manual
Datalogic Scanning, Inc
959 Terry Street
Eugene, Oregon 97402
Page 4 10/23/2009
Revision X2
default frequency block by January 2001.
0 North America and Europe, except ...
1 France
2 Spain
3 Japan
Key Name Key Number Type Default Setting
PSKEY_CLASSOFDEVICE 0x0003 bdcod 0
The local device's default Bluetooth "class of Device" or CoD.
Type bdcod is really a uint32. The class of device is a 24 bit value stored in a uint32; the highest byte must
be zero.
This is the device's default class of device, used when the device boots. The device's class of device may
subsequently be changed by an HCI command. The HCI command does not change the value stored under
this pskey.
The least significant two bits reveal the format of the other 22 bits. The only format currently defined is for
where the two bits are zero:
Bits Content
1 - 0 Format Type (0)
2 - 7 Minor Dev Class (in the context of the Major Dev Class)
8 - 12 Major Dev Class 13 - 23 Major Service Class
At the time of writing this comment the firmware makes no use of this knowledge.
Key Name Key Number Type Default Setting
PSKEY_DEVICE_DRIFT 0x0004 uint16 250
This should hold the local device's radio drift in parts per million. The maximum value allowed by the
Bluetooth specification is 250.
This value is used in LMP_timing_accuracy_res messages sent to peers, as described in Bluetooth version
1.1, LMP specification, section 5.2. It is also used in calculations in low power modes to decide for how
long the radio on a slave device must be turned on in order to resynchronise with a remote master: reducing
the value therefore allows power saving.
The default value is appropriate when BlueCore's internal low power oscillator is in use to maintain timing
during low power modes i.e. for the default setting of PSKEY_DEEP_SLEEP_STATE
(DEEP_SLEEP_ALWAYS, value 1) and PSKEY_DEEP_SLEEP_USE_EXTERNAL_CLOCK (FALSE).
The appropriate values for the various settings of these PSKEYs are given below.
PSKEY_DEEP_SLEEP_STATE
= NEVER or INACTIVE (0 or 2): set device drift to 20 ppm to reflect full
Bluetooth clock accuracy.
PSKEY_DEEP_SLEEP_STATE
= ALWAYS (1): if PSKEY_DEEP_SLEEP_USE_EXTERNAL_CLOCK
is FALSE, set device drift to 250 ppm (this is the default case). If an external clock is in use, set device drift