User's Manual
Datalogic Scanning, Inc
959 Terry Street
Eugene, Oregon 97402
Page 71 10/23/2009
Revision X2
link is removed.
Most of the buffer resources can be freed as soon as the handle is redirected. The buffer page table address
however is cached by the CSR chip hardware during the reception of a hci data packet payload. The page
table thus cannot be destroyed for a period equal to the duration of the largest packet that the host can send.
(Type TIME is fundamentally a uint32. Value SECOND is 1000000.)
Key Name Key Number Type Default Setting
PSKEY_USE_EXTERNAL_CLOCK 0x023b bool FALSE
On BlueCore2, if set, the chip accepts a clock from an external source.
For BlueCore3 and onward, the external clock works if this is not set, but some power is saved if it is
TRUE.
For BlueCore5 and onward, if a crystal is used, this key MUST be set to FALSE; otherwise the chip will
not run.
(Type bool is fundamentally a uint16 with values 0 and 1 mapping to FALSE and TRUE.)
Key Name Key Number Type Default Setting
PSKEY_DEEP_SLEEP_WAKE_CTS 0x023c uint16 0
Deep sleep is allowed with some (but not all) host interfaces that use the UART. This key determines
whether the chip will wake from deep sleep due to activity on the CTS line from the host, and also due to
activity on the data RX line. Three values are allowed.
0: The chip wakes due to activity on the data RX line,
but does not wake due to activity on the CTS line. This is
the default.
1: The chip wakes due to activity on either the data RX line
or the CTS line.
2: The chip wakes due to activity on the CTS line, but does
not wake due to activity on the data RX line.
Note that the chip is sensitive to the level on both lines: if the line is held low, and wake-up on the line has
been enabled, the chip will be kept out of deep sleep. Note also that the chip is sensitive to the lines
themselves; it is not actually required that there is a host using the UART for data communication.
If the host interface is set to `none', i.e. the firmware has been informed that no host communication is in
use, it is still possible to use the CTS line to wake the chip. However the data RX line is ignored. This is
because this line is floating in many hardware configurations with no host interface.
The key is ignored if the host interface is USB.
Key Name Key Number Type Default Setting
PSKEY_FC_HC2H_FLUSH_DELAY 0x023d TIME 10 * SECOND
The default delay in microseconds from destroying a connection until any outstanding host controller to