User's Manual
Datalogic Scanning, Inc
959 Terry Street
Eugene, Oregon 97402
Page 3 10/23/2009
Revision X2
2. µP Interface
This design will be HCI only using the H4 protocol for serial communications. The
baud rate will be set at 115.2K.
3. Persistence Storage Keys
The following is a table covering the PS Key addresses and settings for each
location. Please refer to the latest CSR document for updated PS Key settings.
Key Name Key Number Type Default Setting
PSKEY_BDADDR 0x0001 bdaddr 0x00A5A5, 0x5b, 0x0002
The local device's Bluetooth address. This should be unique to this device - allocated during manufacturing.
The type bdaddr can be viewed as a uint16[4] array:
1st uint16: The top 8 bits of the LAP are in the bottom 8
bits of this word. The top 8 bits of this word
must be zero.
2nd uint16: lower 16 bits of the LAP
3rd uint16: The 8 bit UAP is in the bottom 8 bits of this
word. The top 8 bits of this word must be
zero.
4th uint16: 16 bit NAP
For example, the Bluetooth address 123456789abc is encoded as 0078, 9abc, 0056, 1234.
The default value of this key is one of CSR's legal addresses: 00025b00a5a5.
As stated in the Bluetooth specification, LAP values from 9e8b00 up to, and including, 9e8b3f must not be
used as this range is reserved for inquiry access codes (IACs).
Bluetooth module manufacturers must obtain their own block of addresses from the Bluetooth SIG/IEEE. If
CSR's experience is typical, these authorities define the NAP and UAP, allowing manufacturers to set the
24 bit LAP.
Key Name Key Number Type Default Setting
PSKEY_COUNTRYCODE 0x0002 uint16 0
North America and most of Europe use a particular block of 79 radio frequencies for Bluetooth, but not all
countries allow use of these frequencies. Some countries allow the use of different blocks of frequencies.
This key selects the frequency blocks used by these exceptional countries.
Over time most countries are adopting the default 79 frequency block, so the need for this value is
diminishing. At the time of writing this comment it is expected that France, Spain and Japan will use the