User's Manual
Datalogic Scanning, Inc
959 Terry Street
Eugene, Oregon 97402
Page 35 10/23/2009
Revision X2
This pskey can hold a maximum of 20 uint16s, limiting the default device name to 40 octets. The behaviour
is undefined in this pskey holds more than 20 uint16s. (This size constraint does not apply to a name
written via the HCI Change_Local_Name command.)
The default name for BlueCore3 chips is "CSR - bc3"; when packed this becomes {0x5343, 0x2052,
0x202d, 0x6362, 0x0033}.
This pskey is used from (HCI) 18.X builds. HCI 17.X and earlier builds use PSKEY_LOCAL_NAME0 ->
PSKEY_LOCAL_NAME17 and PSKEY_LOCAL_NAME_LENGTH.
Key Name Key Number Type Default Setting
PSKEY_AFH_RSSI_THRESHOLD 0x0109 uint16 0x0800
This value controls the threshold of the entire RSSI classification algorithm. If the standard deviation of the
power in the band is below this level then the device assumes that the entire band is clear and adapts its
channel ratings accordingly.
Key Name Key
Number
Type Default Setting
PSKEY_LM_CASUAL_SCAN_INTERVAL 0x010a uint16 none
If this key is set and is none zero, `casual scanning' is enabled. The value then gives a maximum interval in
slots between page and inquiry scans.
In this mode, page and inquiry scans are not necessarily performed with the frequency of the intervals set
via HCI_write_inquiry_scan_activity and HCI_write_page_scan_activity. If the chip is active at any point
after the interval specified over HCI since the previous scan, it will perform the scan of the appropriate
type. If it does not become active within PSKEY_LM_CASUAL_SCAN_INTERVAL
slots after the
previous scan, it will perform the scan at that point.
This is most useful on hardware starting with BlueCore3-ROM. This contains support for waking the chip
from deep sleep if the host provides a clock. In this case, if the host provides a clock at any time after the
normal scan interval, the chip will wake to perform the scan in synchronisation with the host. Otherwise, it
will wait until PSKEY_LM_CASUAL_SCAN_INTERVAL
slots have elapsed and wake anyway.
For this reason this key should only be set when the host provides a clock input which goes low when the
chip enters deep sleep. Otherwise there will be a significant peformance impact as the chip will be woken
unnecessarily. The key is also only useful with host transports which do not use
PSKEY_UART_SLEEP_TIMEOUT
as the chip will stay awake for that period if woken by a host clock.
This is likely to be a considerable inefficiency.
On earlier hardware, the key is still usable, but casual wakeup relies on the chip being woken up for some
other reason, either by the host or due to an internal timer.
Casual scanning is not used in continuous page scan, since in this case the chip never becomes inactive.
If casual scanning is in use, the link manager will report the scan repetition mode based on the larger of the
page scan interval and the casual scan interval.
Key Name Key Number Type Default Setting
PSKEY_AFH_MIN_MAP_CHANGE 0x010b uint16[] 2, 4