CSR BLUELAB pskey翻译资料
时间:2025-04-06
时间:2025-04-06
在CSR提供BLUELAB程序中,经常要用到PSKEY,配置好PSKEY是蓝牙产品功能实现的一个重要环节!翻译颇费时间,而且有些也是不甚理解,由于翻译量大且质量不理想,所以您感兴趣就看看吧,别下载啦!
Key Name
PSKEY_BDADDR Key Number 0x0001 Type bdaddr Default Setting 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:
类型bdaddr可以被视为一个unit16[4]的排列:
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.
LAP的前8位在这一命令的末端8位中。这一命令的后8位必须为0。
2nd uint16: lower 16 bits of the LAP
AP的低16进位。
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.
UAP的第8位在这一命令的末端8位中。这一命令的后8位必须为0。
4th uint16: 16 bit NAP
16位NAP。
For example, the Bluetooth address 123456789abc is encoded as 0078, 9abc, 0056, 1234.
例如,蓝牙地址123456789abc的编码可译为0078, 9abc, 0056, 1234。
The default value of this key is one of CSR's legal addresses: 00025b00a5a5.
该键的省略补充是CSR的合法地址之一: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).
按照蓝牙说明所规定的,从9e8b00一直到9e8b3f(包括9e8b3f在内)的LAP值不能用于这一范围的调查选存取码。
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.
蓝牙模块制造商必须从蓝牙SIG或IEEE那里获得他们自己的自组地址。如果CSR的经验是具有典型性那么这些权威人士所定义的NAP和UAP将允许制造商装置24位的LAP.
Key Name
PSKEY_COUNTRYCODE Key Number 0x0002 Type uint16 Default Setting 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.
北美和大部分欧洲国家常使用一种特殊的79无线电频率码块,但并不是所有的国家都允许使用这一频率。一些国家允许使用不同的频率码块。这些例外的国家用该键选择频率码块。
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
在CSR提供BLUELAB程序中,经常要用到PSKEY,配置好PSKEY是蓝牙产品功能实现的一个重要环节!翻译颇费时间,而且有些也是不甚理解,由于翻译量大且质量不理想,所以您感兴趣就看看吧,别下载啦!
default frequency block by January 2001.
随着时间的过去大部分国家都采用了默认值79频率码块,所以该值的使用率逐渐缩小。在撰写该注释时,我们期望法国,西班牙和日本也将在2001年一月开始使用这一默认频率码块。
0 North America and Europe, except ... 北美和欧洲,除了
1 France 法国
2 Spain 西班牙
3 Japan 日本
Key Name
PSKEY_CLASSOFDEVICE Key Number 0x0003 Type bdcod Default Setting 0
The local device's default Bluetooth "class of Device" or CoD.
本地设备的默认蓝牙“设备驱动程序等级”或简称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.
类型bdcod是真正的unit32.该设备的驱动程序等级是一个存储在unit32中的24位数值;它的最高字节必须为0。
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.
这是该设备驱动程序在启动时所使用的设备驱动程序的默认等级。该设备的驱动程序等级可能会随着HCI命令而改变。HCI命令不会改变存储在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:
最低有效的两位展示了其它22位的排列格式。单独的排列格式通常用于定义在那两位为零的位置。 Bits Content位目录
1 - 0 Format Type (0) 排列格式类型(0)
2 - 7 Minor Dev Class (in the context of the Major Dev Class) 较低的Dev等级
8 - 12 Major Dev Class 13 - 23 Major Service Class较高的Dev等级13—23较高的Service等级 At the time of writing this comment the firmware makes no use of this knowledge.
在撰写该注释时,该硬件并没有使用这一知识。
Key Name
PSKEY_DEVICE_DRIFT Key Number 0x0004 Type uint16 Default Setting 250
This should hold the local device's radio drift in parts per million. The maximum value allowed by the Bluetooth specification is 250.
它控制本地设备在每百万个无线电接收装置的流速。蓝牙说明中所允许的最大值为250。
This value is used in LMP_timing_accuracy_res messages sent to peers, as described in Bluetooth
version 1.1, LMP specification, se …… 此处隐藏:32878字,全部文档内容请下载后查看。喜欢就下载吧 ……
下一篇:医学影像三基题库单选题