User's Manual
Datalogic Scanning, Inc
959 Terry Street
Eugene, Oregon 97402
Page 50 10/23/2009
Revision X2
described in bc01-s-010g.
The new protocol only differs significantly from the old one in that:
- The "choke" is turned off when moving from "curious" to
"garrulous".
- The "cnf_cnt_limit" logic is removed; "conf" messages are
continuously emitted in the "curious" state.
It may be necessary to set this pskey to TRUE if the host has an old implementation of bcsp-le
See the comment for PSKEY_BCSP_LM_CNF_CNT_LIMIT
.
Key Name Key Number Type Default Setting
PSKEY_PCM_CVSD_USE_NEW_FILTER 0x01b5 bool FALSE
Versions of BlueCore2 starting with the first ROM version have a new version of the CVSD filter. This is
on by default but may be disabled by setting this key to FALSE. The value is irrelevant for previous chip
revisions, up to and including 0x89.
On BlueCore3 with internal flash, setting this to FALSE enables an even newer version of the CVSD filter.
(Type bool is fundamentally a uint16 with values 0 and 1 mapping to FALSE and TRUE.)
Key Name Key Number Type Default Setting
PSKEY_PCM_FORMAT 0x01b6 uint16 0x006c
The data format used to send SCO data over the PCM port. The format is the same as for
HCI_Write_Voice_Setting. The bottom two bits of this key (air format) are always ignored and should be
set to zero. The air format specified with HCI_Write_Voice_Setting will be used instead.
The Bluetooth HCI spec mandates that devices boot up with 16 bit linear data format, unfortunately many
PCM codecs do not expect this format so this key allows the HCI format to be overridden so that
manufacturers can set it correctly for the hardware and application authors do not need to know the correct
format.
If this key is set to the magic value 0xffff then the format specified with HCI_Write_Voice_Settings will be
used and hence the PCM format can be changed dynamically (this is almost never what you want).
On BlueCore2 all PCM streams get the same format.
On devices with an internal codec, if SCO data is routed to the internal codec then this key will be ignored
and the correct value for the internal codec will be used.
Key Name Key Number Type Default Setting
PSKEY_CODEC_OUT_GAIN 0x01b7 uint16 0x0005
Sets the audio output gain when using the built-in codec.