CSR BLUELAB pskey翻译资料

发布时间:2024-11-08

在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, section 5.2. It is also used in calculations in low power modes to decide for how long the radio on a slave device must be turned on in order to resynchronise with a remote master: reducing the value therefore allows power saving.

这一数值如蓝牙译文1.1LMP说明5.2节中所描述的,是用于LMP_timing_accuracy_res信息的同等级传递。它也被用于在低功耗模式计算,以决定无线电接收装置必须多久打开,以便与远程主机resynchronise

在CSR提供BLUELAB程序中,经常要用到PSKEY,配置好PSKEY是蓝牙产品功能实现的一个重要环节!翻译颇费时间,而且有些也是不甚理解,由于翻译量大且质量不理想,所以您感兴趣就看看吧,别下载啦!

由减少的价值获得能量的节约。

The default value is appropriate when BlueCore's internal low power oscillator is in use to maintain timing during low power modes. This is true for the default PS settings. There are two occasions on which this key might usefully be decreased.

默认值在BlueCore的内部低功率振荡器使用过程中应保持适当的低功率模式。这是正确的PS设置默认有两个原因导致这一键值可能有效地减少。

- If is not set to its default value 1

(use deep sleep whenever possible), the low power oscillator will

not be used and the value of this PS key can be set to 20 to reflect

normal Bluetooth connection accuracy in low power modes.

如果PSKEY_DEEP_SLEEP_STATE设置为默认值1(尽可能的使用深睡眠),低功率振荡器将不再被使用这一PS键值可以设置为20,从而反映正常的蓝牙在低功率模式时连接的准确性。

- If is set to TRUE, then the

value of this PS key may be set to the worst-case accuracy of

the external clock in use, in parts per million.

- 如果PSKEY_DEEP_SLEEP_USE_EXTERNAL_CLOCK设置为TURE,则这一键值可能被设置为百

分之一的在使用中的外部时钟的最坏情况下的准确性。

Key Name

PSKEY_DEVICE_JITTER Key Number 0x0005 Type uint16 Default Setting 10

This should hold the local device's radio jitter in microseconds. (LMP v1.1, section 5.2.)

这一数值可控制本地设备的无线电流速在每微妙内的速度偏差(LMP v1.1, section 5.2)

This value is used in LMP_timing_accuracy_res messages sent to peers. This is the only use made of this pskey.

这一数值是用于LMP_timing_accuracy_res信息的同等级传递。这是只用于解释这个pskey的

Key Name

PSKEY_MAX_ACLS Key Number 0x000d Type uint16 Default Setting 7

The maximum number of concurrent ACL connections to other devices.

这是并存的ACI与其他设备连接的最大数量。

Links to remote devices use substantial amounts of RAM to maintain connection state, so this value should be kept modest. It is advisable to trim this value to match the application, allowing any liberated RAM to be used elsewhere. The value must be reduced if the chip is running any of the higher layers of the Bluetooth stack as these take from the common supply of RAM.

使用大量的RAM链接到远程设备保持连接状态,所以这个值应保持适中。最好是调整这个值,使它符合应用程序,从而允许任何释放的RAM在任何地方都可以使用。如果这个芯片是运行在任何更高的蓝牙堆积层次,并作为RAM的共有的供给,那么这个值必须要减少。

Key Name

PSKEY_MAX_SCOS Key Number 0x000e Type uint16 Default Setting 3

The maximum number of SCO links to (all) other devices.

SCO与其他(所有)设备连接的最大数量。

在CSR提供BLUELAB程序中,经常要用到PSKEY,配置好PSKEY是蓝牙产品功能实现的一个重要环节!翻译颇费时间,而且有些也是不甚理解,由于翻译量大且质量不理想,所以您感兴趣就看看吧,别下载啦!

The firmware may use a value lower than 3, e.g., because SCO data can only flow over the BlueCore01b's single PCM interface.

该韧件可能使用一个低于3的数值,如,因为SCO数值可能只对BlueCore01b的单一PCM界面没有影响。

Key Name

PSKEY_MAX_REMOTE_MASTERS Key Number 0x000f Type uint16 Default Setting 2

The local device's maximum number of remote piconet masters.

远程piconet主设备的本地设备最大数量。

Connecting to multiple remote masters implies the use of scatternets. The current firmware supports one permanent remote master, plus a second remote master in a temporary state either for performing a remote name request or in order to connect by a role switch to become a slave.

连接多重远端住设备意味着使用scatternets。目前,固件支持一个永久的远端主设备,和一个暂时性的第二个远端主设备,要么为了履行一个远端名称请求,要么为了转换为一个从设备去连接。

See the description of .

Key Name Key

Number

PSKEY_ENABLE_MASTERY_WITH_SLAVERY 0x0010 bool TRUE Type Default Setting

If set TRUE (value 1) then the firmware is configured to support being a master of its own piconet at the same time as being a slave in one or more other piconets. This implies the use of scatternets.

如果设置为TURE,那么硬件被设计为支持变成一个主设备同时变成一个从设备在1个或更多piconet。它指示了scatternets的作用。

This value is constrained by the value of the pskey .

这一值被PSKEY_MAX_REMOTE_MASTERS.所控制

该值受pskey PSKEY_MAX_REMOTE_MASTERS值的控制。

The "barge-in" connection sequence (an existing master page-scans, it is paged by new a device, then the new device's link performs a master/slave switch) implies a temporary scatternet. This pskey does not affect this behaviour.

"Barge-in"链接序列(一个现有的主页扫描,它由一个新的设备标明页数,该新的设备的链接完成一个主次开关的切换)意指一个临时的scatternet。这个pskey不影响习性。

See the description of PSKEY_MAX_REMOTE_MASTERS.

参见PSKEY_MAX_REMOTE_MASTERS的说明。

(Type bool is fundamentally a uint16 with values 0 and 1 mapping to FALSE and TRUE.)

(类型bool是一个基本地以0和1为值的unit16,它映射出了FALSE 和TRUE)

Key Name

PSKEY_H_HC_FC_MAX_ACL_PKT_LEN Key Number 0x0011 Type uint16 Default Setting 310

The maximum acceptable length, in bytes, of the data portion of HCI ACL data packets received from the host. This supports the Host_Buffer_Size HCI command.

在字节中,它是HCI ACL数据包从主机那里接收到的部分数据中可接受的最大限度长度。它支持

Host_Buffer_Size HCI命令。

在CSR提供BLUELAB程序中,经常要用到PSKEY,配置好PSKEY是蓝牙产品功能实现的一个重要环节!翻译颇费时间,而且有些也是不甚理解,由于翻译量大且质量不理想,所以您感兴趣就看看吧,别下载啦!

It sometimes makes sense to tune this value to obtain better device throughput, but the product of the reserves a block of the device's precious RAM for use by the host.

Key Name

PSKEY_H_HC_FC_MAX_SCO_PKT_LEN Key Number 0x0012 Type uint8 Default Setting 64

The maximum acceptable length, in bytes, of the data portion of HCI SCO data packets received from the host. This supports the Host_Buffer_Size HCI command.

在字节中,它是HCI SCO数据包从主机那里接收到的部分数据中可接受的最大限度长度。它支持

Host_Buffer_Size HCI命令。

It sometimes makes sense to tune this value to obtain better device throughput, but the product of the reserves a block of the device's precious RAM for use by the host.

有时这个值特意调整这个值去获得更好的设备吞吐量。但是这一键值和

PSKEY_H_HC_FC_MAX_SCO_PKTS键值的结果必需始终如一,用于主机有效的存储设备的宝贵RAM始终。

This value should be changed only with great care: small values will heavily load the (host and) chip processor(s), whereas large values will normally increase audio latency.

这个值在改变时应谨慎小心:小的数值将给芯片处理器该来沉重的负担,反之,庞大的数据通常会增加音频的等待时间。

Key Name

PSKEY_H_HC_FC_MAX_ACL_PKTS Key Number 0x0013 Type uint16 Default Setting 10

The maximum number of HCI ACL data packets being sent to air that can be held within the chip at any time.

HCI ACL数据包的最大数值将被发送到空间,它任何时候都控制在芯片内部。

This supports the Host_Buffer_Size HCI command.

它支持Host_Buffer_Size HCI命令。

See the description of .

参见PSKEY_H_HC_FC_MAX_ACL_PKT_LEN的说明。

Key Name

PSKEY_H_HC_FC_MAX_SCO_PKTS Key Number 0x0014 Type uint16 Default Setting 8

The maximum number of HCI SCO data packets being sent to air that can be held within the chip at any time.

HCI SCO数据包的最大数值将被发送到空间,它任何时候都控制在芯片内部。

This supports the Host_Buffer_Size HCI command.

它支持Host_Buffer_Size HCI命令。

See the description of .

参见PSKEY_H_HC_FC_MAX_SCO_PKT_LEN说明。

在CSR提供BLUELAB程序中,经常要用到PSKEY,配置好PSKEY是蓝牙产品功能实现的一个重要环节!翻译颇费时间,而且有些也是不甚理解,由于翻译量大且质量不理想,所以您感兴趣就看看吧,别下载啦!

Key Name Key

Number Type Default Setting

PSKEY_LC_FC_BUFFER_LOW_WATER_MARK 0x0015 lc_fc_lwm 0x0600, 0x0700, 0x0800

A set of values that control the assertion of flow control for data received from air.

一组控制流控制的assertion用于空间数据接收。

The LC determines how much buffer memory has been promised to the host for host to air traffic, then it adds the safety margins set by this key and compares the result with the available free buffer memory. The result determines when and how the LC applies flow control for data received from air.

LC决定了有多少缓冲存储器被允许到主机用于主机到空间的传输。 这一键值增加了安全范围的设置,并于可用的空闲缓冲器做比较。

The key holds an array of three values. Each value sets a behaviour threshold, measured in a number of bytes:

这一键值保持3组值,每一个值设置一个行为,详述每节:

0) Received data is discarded and a NAK is returned. 丢弃被接收的数据,一个NAK返回。

1) ACL flow control is asserted. ACL流数据有待证实

2) L2CAP flow control is asserted. L2CAP流数据有待证实

Buffalo water mark?

Key Name

PSKEY_LC_MAX_TX_POWER Key Number 0x0017 Type int16 Default Setting 4

The device's maximum transmit power in dBm.

设备的发射功率最大值。

The firmware ensures the device never speaks more loudly that this value.

硬件确保设备发射功率绝不大于这个值。

The firmware uses the highest value in the power table that is less than or equal to the requested default power.

硬件使用功率表中的最高值少于或者胜于请求的默认功率。

Correct operation depends having a valid power table - see PSKEY_LC_POWER_TABLE.

正确的操作依赖于拥有一个恰当的功率表。见PSKEY_LC_POWER_TABLE

The maximum value depends on the Bluetooth module class:

最大值随蓝牙单元而定:

Class 1: 0 to +20 dBm.

Class 2: -6 to +4 dBm.

Class 3: up to 0 dBm.

Unlike most pskey values, this is a *signed* 16 bit integer.

与大部分PSKEY值不同,这是一个“单一”的16位整数。

Key Name

PSKEY_TX_GAIN_RAMP Key Number 0x001d Type uint16 Default Setting 0x1810

The device's transmitter gain ramp rate. This controls the power ramp-up at the start of a packet and ramp-down at end of a packet.

在CSR提供BLUELAB程序中,经常要用到PSKEY,配置好PSKEY是蓝牙产品功能实现的一个重要环节!翻译颇费时间,而且有些也是不甚理解,由于翻译量大且质量不理想,所以您感兴趣就看看吧,别下载啦!

设备发送者增加斜率。这控制一个数据包的初始上升斜率和末尾下降斜率。

For BlueCore01b, the key's range is normally 0x04 to 0x3f. 0x04 gives the slowest ramp rate.

对于BlueCore01b,键值的范围通常在0x04到 0x3f。0x04给出了最慢斜率。

Although the hardware supports values below 0x04, using them will put the software timings so far out that the module may not work.

虽然硬件支持值低于0x04,使用它们将使软件时速超出模块不工作的值。

The key's value has different effects according to whether the module uses the chip's internal power amplifier or an external amplifier. (See .)

这一键依照是否模块使用芯片的内在功率放大器或一个外部放大器而具有不同的结果(见

If the internal power amplifier is ramped then the microseconds taken to complete the ramp is

(4*final_value)/ramp_rate.

如果内置功率放大器设置斜率那么斜率为(4*final_value)/ramp_rat

If an external power amplifier is ramped then the microseconds taken to complete the ramp is

(final_value)/ramp_rate.

如果一个外部功率放大器被设置斜率,那么斜率为(final_value)/ramp_rate.

In both cases the final_value is taken from PSKEY_LC_POWER_TABLE.

基于所有的原因,最终值源于PSKEY_LC_POWER_TABLE.

Key value zero has a special behaviour - power is applied without a ramp.

0值具有一个特别的行为,功率在没有斜率的情况下被使用。

Key Name

PSKEY_LC_PEER_POWER_PERIOD Key Number 0x001f Type TIME Default Setting 1 * SECOND

The period, measured in microseconds, between attempts to change a peer's transmit power. The same interval is used for measurements of channel quality to support LMP channel quality driven data rate messages.

尝试改变一个同等传输功率微秒校准周期。同样的间隔用于测量信道品质以支持LMP信道品质驱动数据比率信息。

Setting this to zero disables the periodic checks. This means the local device will not send messages concerning power management or channel quality driven data rate to the remote device. It will, however, continue to respond correctly to such messages sent by the remote device.

设置这一值为0取消定期检查。这以为着本地设备将不发送关于功率管理或信道品质驱动数据比率信息到远端设备子。它将,无论如何,为远端设备发来的同类信息做出连续恰当的反映。

(Type TIME is fundamentally a uint32. Value SECOND is 1000000. Value MILLISECOND is 1000.) Key Name Key

Number

PSKEY_LC_FC_POOLS_LOW_WATER_MARK 0x0020 lc_fc_lwm 0x0014, 0x0018, 0x001a Type Default Setting As , but describing numbers of available pool memory blocks.

描述一些可利用的联合存储区域。

Key Name Key Number Type Default Setting

在CSR提供BLUELAB程序中,经常要用到PSKEY,配置好PSKEY是蓝牙产品功能实现的一个重要环节!翻译颇费时间,而且有些也是不甚理解,由于翻译量大且质量不理想,所以您感兴趣就看看吧,别下载啦!

PSKEY_LC_DEFAULT_TX_POWER 0x0021 int16 4

The radio's default transmit power, measured in dBm. The chip uses this for page, inquiry and their scan responses. This is also the power used for new connections.

无线传输默认传输功率,dBm标准。芯片将它用于寻呼,查询,和它们的扫描响应。这也是用于新的连接的功率。

In 12.X builds the firmware uses the entry in the power table that is closest to this pskey's value. (If the two closest power tables are equidistant from this key's value then it is indeterminate which power table entry is used.)

在12.x结构,固件使用接近这一键值的功率表中的条目入口。(如果两个最接近的功率表等距那么,那么将不确定哪个功率表条目被使用)

In 13.X and later builds the firmware uses the highest value in the power table that is less than or equal to the requested default power.

在13.x及之后的结构,固件只用功率表中小于或等于被请求的默认功率的最高值。

Correct operation depends on the the device having a valid power table - see

PSKEY_LC_POWER_TABLE.

正确的操作依赖于一个有效的功率表-见PSKEY_LC_POWER_TABLE

Key Name

PSKEY_LC_RSSI_GOLDEN_RANGE Key Number 0x0022 Type uint8 Default Setting 80

The RSSI signal used to measure the signal strength relative to the golden receive range as defined in section 4.7 of part A of the Bluetooth spec.

RSSI信号用于测量相对于重要接收范围的信号强度。在蓝牙详述4.7部分定义。

Pre 19.x builds:

19.x结构:

With the attenuator setting specified in PSKEY_LC_ATTEN_GOLDEN_RANGE_MINIMUM you should get this RSSI reading for a signal at the bottom of the golden receive range. With the attenuator setting specified in PSKEY_LC_ATTEN_GOLDEN_RANGE_MAXIMUM you should get this RSSI reading for a signal at the top of the golden receive range.

PSKEY_LC_ATTEN_GOLDEN_RANGE_MINIMUM指定的衰减设置,你需要在重要接收范围底部获得一个信号的RSSI解释。PSKEY_LC_ATTEN_GOLDEN_RANGE_MAXIMUM指定衰减设置,你需要在重要接收范围的顶部获得一个信号的RSSI解释。

Taking this signal above 90 can lead to faulty behaviour. If a -60 dBm signal with an attenuation of 1 gives an RSSI above 90 then leave this setting at 90 as you have a module with good sensitivity. By leaving this setting at 90 devices you're talking to will be able to lower their transmit power and thus reduce

interference between units.

设置这一信号在90以上可能导致错误行为。如果一个60dBm信号伴随一个1衰变提供一个高于90的RSSI,那么当你拥有一个高灵敏度模块时请不要设置为90.当你命令设备这一设置离开90,将可以降低它们的传输功率并因此见效单位冲突。

19.x builds and some 20.x builds:

19.x结构和一些20.x结构:

In builds where PSKEY_LC_ATTEN_GOLDEN_RANGE_MINIMUM and

PSKEY_LC_ATTEN_GOLDEN_RANGE_MAXIMUM have been removed, this should be the RSSI

在CSR提供BLUELAB程序中,经常要用到PSKEY,配置好PSKEY是蓝牙产品功能实现的一个重要环节!翻译颇费时间,而且有些也是不甚理解,由于翻译量大且质量不理想,所以您感兴趣就看看吧,别下载啦!

reading at zero attenuator setting when the received power is at the bottom of the golden range. The top of the golden range is placed 20 dBm above this.

在 与PSKEY_LC_ATTEN_GOLDEN_RANGE_MINIMUM和

PSKEY_LC_ATTEN_GOLDEN_RANGE_MAXIMUM无关的结构中,它需要是RSSI读取衰减置零,当被接收功率在黄金范围的底部。黄金范围的顶部比这一值高20 dBm

21.x builds and some 20.x builds:

2.1x结构和一些2.0x结构:

In builds where exists, with the attenuator setting specified in , you should get an RSSI value of

for a signal at the bottom of the golden receive range. The top of the golden range is placed 20 dBm above this.

在PSKEY_PREFERRED_MIN_ATTENUATION存在的结构中,

内的衰减器设置描述,需要为在黄金万为底部的信号设置一个PSKEY_LC_RSSI_GOLDEN_RANGERSSI值。黄金范围的顶部比这一值高20 dBm

Key Name

PSKEY_LC_COMBO_DISABLE_PIO_MASK Key Number 0x0028 Type uint16[] Default Setting none

A three-element array of uint16s specifying the use of PIO lines to disable non-priority Bluetooth

transmissions:

16位无符号整数三维数组制定使用PIO口使得非优先权的蓝牙传送无能力

{ uint16 pio_mask, uint16 pio_invert, uint16 pio_logic }

Bits 0 to 15 of "pio_mask" and "pio_invert" map to PIO0 to PIO15 respectively.

Pio_mask和pio_invert的0到15分别映射到PIO0到PIO15

A bit of "pio_mask" set to high enables use of the corresponding PIO pin to disable Bluetooth transmit. 一位“pio_mask”引脚设置为高可以使相应的PIO引脚禁止蓝牙传输。

A bit of "pio_invert" set to high indicates that the corresponding PIO pin is active low instead of active high. 一位“pio_invert”设置为高表明相应的PIO引脚为活动的低电平而非活动的高电平。

If the "pio_logic" value is zero then any combination of the PIO lines being asserted will disable Bluetooth transmissions (logical OR), otherwise all of the specified PIO lines must be asserted to disable transmissions (logical AND).

如果pio_logic的值是0,那么所有PIO线路的组合将被维持将使得蓝牙无法传输(逻辑或),否则,所有被制定的PIO线路必须被维持无法传输(逻辑与)。

This PS key is primarily intended for use by IEEE 802.11b combo designs. The signalling is used to disable Bluetooth transmissions that may degrade 802.11b throughput.

这一PS key主要为使用IEEE 802.11b而设计。该信号是用来禁用蓝牙传输从而降解的802.11b吞吐量。 Summary: Non-priority Bluetooth transmissions are disabled in accordance with the following logic: 综述:非优先蓝牙传输将参照以下逻辑丧失能力:

masked = (PIO ^ pio_invert) & pio_mask

disable = pio_logic ? masked != 0 : masked == pio_mask

Key Name Key

Number Type Default Setting

在CSR提供BLUELAB程序中,经常要用到PSKEY,配置好PSKEY是蓝牙产品功能实现的一个重要环节!翻译颇费时间,而且有些也是不甚理解,由于翻译量大且质量不理想,所以您感兴趣就看看吧,别下载啦!

PSKEY_LC_COMBO_PRIORITY_PIO_MASK 0x0029 uint16[] none

A two-element array of uint16s specifying the use of PIO lines to indicate the occurrence of priority Bluetooth activity (transmit or receive):

{ uint16 pio_mask, uint16 pio_invert }

二维uint16s数组指定使用的PIO线表明发生优先蓝牙活动(传送或接收)

Bits 0 to 15 of "pio_mask" and "pio_invert" map to PIO0 to PIO15 respectively. A bit of "pio_mask" set to high enables driving of the corresponding PIO pin to indicate priority activity. A bit of "pio_invert" set to high indicates that the corresponding PIO pin is active low instead of active high.

"pio_mask" 和 "pio_invert"的0到15位分别指向PIO0 到 PIO15。一位"pio_mask"设置为高使能表明相应的PIO引脚优先活动。一位"pio_invert"设置为高表明相应的PIO引脚为低电平有效,而非高电平。 Priority operations will typically include, but may not be limited to, the following:

优先的业务将主要包括以下内容,但可能不仅限于此:

- Inquiry, inquiry scanning and response 查询,查询扫描和响应

- Page, page scanning and response 寻呼,寻呼扫描和响应

- Master slave switch 主从切换

- Park beacons and access windows 放置标识和访问windows

- Sniff instants 呼吸

- Hold instants 等待

- SCO slots SCO时隙

- Broadcast 广播

This PS key is primarily intended for use by IEEE 802.11b combo designs. The signalling is used to disable 802.11b transmissions that may otherwise degrade Bluetooth reliability.

这一键值主要为使用IEEE 802.11b而设计。信号传输用来使IEEE 802.11b无法传输,从而可能降低蓝牙的可靠性。

SUMMARY The PIO lines are driven in accordance with the following logic:

PIO口驱动按照以下逻辑进行:

PIO = (PIO & ~pio_mask) | ((priority ? pio_mask : 0) ^ pio_invert)

Key Name Key

Number

PSKEY_LC_COMBO_DOT11_CHANNEL_PIO_BASE 0x002a uint16 none Type Default Setting

Set the PIO pins used to obtain the channel number being used by a co-located IEEE 802.11b system. The value of this pskey is the number of the PIO line used for the least significant bit of the channel number. The next three PIO lines in sequence are used for the remaining bits of the channel number. 设置PIO引脚是为了获得被用于共置IEEE 802.11b系统频道数。这一键值的价值在于一些PIO引脚用于最低有效位的频道号码。在未来三年的PIO引脚序列用于其余位的频道号码。

When this pskey is not set, no PIO lines are used for this purpose.

当这个键值未被设定,将没有PIO引脚用于这一用途。

This pskey can also be set to the special value of 13 to indicate that channel usage information will be provided from an alternative source, e.g. via the HCI Set_AFH_Channel_Classification command. 这个键值也可以设置为特殊值13 ,表明通道的使用信息将提供从其他来源,例如:通过人机交互

Set_AFH_Channel_Classification命令。

在CSR提供BLUELAB程序中,经常要用到PSKEY,配置好PSKEY是蓝牙产品功能实现的一个重要环节!翻译颇费时间,而且有些也是不甚理解,由于翻译量大且质量不理想,所以您感兴趣就看看吧,别下载啦!

Values above this are reserved for more esoteric or customer specific coexistence schemes.

高于该数值的值是留给更深奥或客户特定的共处计划。

The value on the PIO lines decodes to an 802.11b channel number (with centre frequency Fc) as follows: PIO引脚解码的802.11b的频道号码(与中心频率队)值如下:

Number Description

0000b 802.11b inactive

0001b 802.11b channel 1 (Fc = 2.412GHz)

0010b 802.11b channel 2 (Fc = 2.417GHz)

0011b 802.11b channel 3 (Fc = 2.422GHz)

0100b 802.11b channel 4 (Fc = 2.427GHz)

0101b 802.11b channel 5 (Fc = 2.432GHz)

0110b 802.11b channel 6 (Fc = 2.437GHz)

0111b 802.11b channel 7 (Fc = 2.442GHz)

1000b 802.11b channel 8 (Fc = 2.447GHz)

1001b 802.11b channel 9 (Fc = 2.452GHz)

1010b 802.11b channel 10 (Fc = 2.457GHz)

1011b 802.11b channel 11 (Fc = 2.462GHz)

1100b 802.11b channel 12 (Fc = 2.467GHz)

1101b 802.11b channel 13 (Fc = 2.472GHz)

1110b 802.11b channel 14 (Fc = 2.484GHz)

1111b Reserved (treated as 0000b)

This pskey is primarily intended for use by IEEE 802.11b combo designs. The signalling is used in combination with to disable non-priority Bluetooth transmissions that may otherwise degrade 802.11b throughput.

这一键值主要是使用了IEEE 802.11b组合设计。信号是用来结合

PSKEY_LC_COMBO_DOT11_BLOCK_CHANNELS禁用非优先蓝牙传输降解的802.11b吞吐量。

Key Name Key

Number

PSKEY_LC_COMBO_DOT11_BLOCK_CHANNELS 0x002b uint16 11 Type Default Setting

Set the number of Bluetooth channels to block on either side of an IEEE 802.11b channel centre

frequency.

设置一些蓝牙通道以阻挡符合规则位置的IEEE 802.11b通道中央频率。

The default value of 11 results in 23 channels being blocked:

默认值11结果在23个通道被封锁:

Fc - 11, ..., Fc - 1, Fc, Fc + 1, ..., Fc + 11

This pskey is primarily intended for use by IEEE 802.11b combo designs. The signalling is used in

combination with to disable non-priority Bluetooth transmissions that may otherwise degrade 802.11b throughput.

这一键值主要是使用了IEEE 802.11b组合设计。信号是用来结合

PSKEY_LC_COMBO_DOT11_BLOCK_CHANNELS禁用非优先蓝牙传输降解的802.11b吞吐量。

在CSR提供BLUELAB程序中,经常要用到PSKEY,配置好PSKEY是蓝牙产品功能实现的一个重要环节!翻译颇费时间,而且有些也是不甚理解,由于翻译量大且质量不理想,所以您感兴趣就看看吧,别下载啦!

Key Name

PSKEY_LC_MAX_TX_POWER_NO_RSSI Key Number 0x002d Type int8 Default Setting 4

This value is used after a connection is made if it is found that a remote device does not support RSSI measurements or power control. The transmit power is lowered to correspond to the first entry in

PSKEY_LC_POWER_TABLE whose power in dBm is less than or equal to the value of this pskey. 这个值是用来在连接如果发现一个远程设备不支持接收信号强度指示测量或功率控制。发射功率降低,符合第一项PSKEY_LC_POWER_TABLE其在dBm的功率小于或等于的值这个键值 。

According to the Bluetooth radio specification, a device may only transmit to a peer which does not

support RSSI or the related LMP messaging using the rules for a class 2 or class 3 device, in other words with a maximum transmit power of 4 dBm, hence the default value for this pskey. This allows the default transmit power to be raised above 4 dBm without violating the specification.

根据蓝牙规范,设备仅可以使用CLASS2或CLASS3规则传送到不支持RSSI或与LMP有关的信息的同类设备。

Key Name Key

Number

PSKEY_LC_CONNECTION_RX_WINDOW 0x002e uint16 10 Type Default Setting

The Bluetooth specification requires that a master or slave be sensitive to timing jitter of transmissions from the other side up to 10 microseconds while the two devices are connected. The value may be controlled by this pskey.

蓝牙规范要求当两个设备连接时主设备和从设备之间的调频传输时间为10微秒。这个值可能被这一键值约束。

Key Name Key

Number

PSKEY_LC_COMBO_DOT11_TX_PROTECTION_MODE 0x0030 uint16 0 Type Default Setting

Provides an option to select some Bluetooth packets for protection. The intent is to improve SCO

transmissions in a co-existence scheme.

提供了一种选项用于选择一些蓝牙数据包的保护。其目的是提高同步连接传输共存计划。

This key can take on three values: 0: All high Priority and TX packets are protected - standard setting 1: SCO TX packets are not protected but other priority TX packets are 2: No TX packets are protected. 这一键值主要包括三个部分:0:所有高优先级和TX包被保护-标准设置。1:SCO TX包未被保护,但是其他重点TX包被保护。2:没有TX包被保护。

Although some packets are not protected this key does not affect whether they are transmitted or not. 虽然一些数据在这一键值里得不到保护,但这并不影响他们传送与否。

Key Name Key

Number Type Default Setting

在CSR提供BLUELAB程序中,经常要用到PSKEY,配置好PSKEY是蓝牙产品功能实现的一个重要环节!翻译颇费时间,而且有些也是不甚理解,由于翻译量大且质量不理想,所以您感兴趣就看看吧,别下载啦!

PSKEY_LC_ENHANCED_POWER_TABLE 0x0031 enhanced_power_setting[] {{ 4, 0, 0, 0}, {63, 0,

69, 0}, -24}, {{ 9, 0,

0, 0}, {63, 0, 71, 0},

-20}, {{15, 0, 0, 0},

{63, 0, 74, 0}, -16},

{{22, 0, 0, 0}, {63, 0,

77, 0}, -12}, {{30, 0,

0, 0}, {63, 0, 80, 0},

-8}, {{38, 0, 0, 0},

{63, 0, 85, 0}, -4},

{{46, 0, 0, 0}, {63, 0,

91, 0}, 0}, {{56, 0, 0,

0}, {63, 0, 105, 0}, 4}

This table is used in firmware which supports the Enhanced Data Rate specification. Any values set in PSKEY_LC_POWER_TABLE are ignored; the two tables are mutually exclusive.

本表中使用的固件支持的增强型数据速率规格。任何值设置在PSKEY_LC_POWER_TABLE被忽视;两个表是互斥的。

The chip has an internal power amplifier (PA); this has a gain control. Some module designs also have an external PA; this may have a gain control. Additional, the chip has a pre-amplifier (TX-PRE) which also has a gain control.

另外,该芯片具有一个内部功率放大器( PA ) ;它具有增益控制。有些模块设计也有外部功率放大器;这可能有一个增益控制。另外,该芯片具有前置放大器(TX-PRE)也有增益控制。

The power table stored under this pskey provides a mapping between the three PAs' gain settings and the corresponding transmit power. This table is basis of all of the firmware's transmit power control: LMP dynamic power control, , , etc.

存储在这一键值的功率表提供了功率放大器,增益设置和相应的发射频率之间的关系。此表依赖于所有的固件发射功率控制,LMP动态功率控制PSKEY_LC_MAX_TX_POWER ,

PSKEY_LC_DEFAULT_TX_POWER等。

Every module design must have an appropriate power table. The default value suits the CSR Casira hardware; this is not suitable for other module designs.

每个模块的设计必须有一个匹配的(适当的)功率表。该值适合于CSR Casira硬件而不适合于其他The pskey's value is an array of "power_setting" types. The array's length is not fixed; typically an array is between 1 and 10 elements long.

该键值是一系列的“ power_setting ”类型。数组的长度是不固定的;通常一个数组是介于1和10之间。

Each array element (of type "power_setting") holds seven bytes within five uint16s:

每个数组元素(类型为“ power_setting ” )在5个16位无符号整数中保存7个字节。

The first and second word control basic data rate operation.

第一个和第二个字的基本数据速率控制操作。

1st uint16, lower byte: uint8 external_pa for basic rate

在CSR提供BLUELAB程序中,经常要用到PSKEY,配置好PSKEY是蓝牙产品功能实现的一个重要环节!翻译颇费时间,而且有些也是不甚理解,由于翻译量大且质量不理想,所以您感兴趣就看看吧,别下载啦!

1st uint16, upper byte: uint8 internal_pa for basic rate

2nd uint16: bit 0 controls class 1 and class 2 operation

with a dynamically switchable external PA 动态转换外部功率放大器

(see below). Bits 4 to 6 control the tx_pa_attn 4到6位控制tx_pa_attn

value used BC5 and later chips, and must be zero BC5以及后来的芯片,值必须为0 on chips earlier chips. Other bits must be zero. 较早的其他芯片,其余位的值必须为0 The third and fourth words control enhanced data rate operation. Its form mirrors that of the first and second words.

第三和第四个字控制增强型数据速率运行。它反映了第一个和第二个字。

3rd uint16, lower byte: uint8 external_pa for enhanced rate

3rd uint16, upper byte: uint8 internal_pa for enhanced rate

On chips prior to BC5, this should be

fixed. Currently the value 63 is

recommended.在BC5以前的芯片这一值被推荐为固定的63.

4th uint16, lower byte: bit 0 inhibits user of this power with 0位阻止这个数据增强能力

enhanced data rate (see below). Bits

4 to 6 control the tx_pa_attn value

used on chips which have a TX PA

attenuator, and should be zero

on chips which do not. Other bits must

be zero. 4到6位用于控制拥有TX PA衰减器的tx_pa_attn值控制,如果不拥有衰减器则为0,其他位必须为0.

4th uint16, upper byte: uint8 TX-PRE level for enhanced rate

Typically this is 64 greater than the

internal_pa for basic rate (upper byte

of first word). On BC5 and later chips

this value must be zero. 在BC5及其之后版本的芯片,这个值必须是0.

The fifth word specifies the output power common to both data rates.

第五位指定输出功率共同的数据传输速率。

5th uint16, upper byte: int8 tx dBm

5th uint16, lower byte: set to zero.

If the bottom bit of the second word is set ('EXT PA' bit), operation with dynamically switchable external PA is assumed.

如果设置了底部第二字(‘EXT TA’位),将采取操作动态PA外部转换。

For any transmission with 'EXT PA' bit set, whether basic rate or enhanced data rate, class 1 logic will be assumed. The external PA will be used and the AUX_DAC will be set to the lower byte of the first word or the lower byte of the third word of the entry as appropriate. In addition,

and are used in place of (or ) and . 对于任何传输'EXP PA'位设置,无论是基本速率或增强型数据速率, 将采取class1逻辑外部PA将用于和AUX_DAC被设置为低字节的第一个字或低字节第三字的适当输入。此外,

PSKEY_TRANSMIT_OFFSET_CLASS1和PSKEY_TX_PRE_LVL_CLASS1是用来代替

PSKEY_TX_OFFSET_HALF_MHZ (或PSKEY_TRANSMIT_OFFSET )和PSKEY_TX_PRE_LVL。

在CSR提供BLUELAB程序中,经常要用到PSKEY,配置好PSKEY是蓝牙产品功能实现的一个重要环节!翻译颇费时间,而且有些也是不甚理解,由于翻译量大且质量不理想,所以您感兴趣就看看吧,别下载啦!

If entries are present in the power table with the 'EXT PA' bit set, then class 2 operation is assumed for transmissions in which the 'EXT PA' bit is clear. PIO1 and the AUX_DAC will be pulled low during transmit. In addition, the PIO given by will be asserted to indicate such a transmission.

如果平均信息量出现在功率表的'EXT PA'位,那么将在'EXT PA'的空位采取Class2操作。PIO1 and the AUX_DAC传送时将被拉低。此外,PSKEY_TX_AVOID_PA_CLASS1_PIO的PIO口将表明这种传输。 When no entries in the power table have the `EXT PA' bit set, is not used and the settings given by other PS keys such as are applied directly.

当功率表中没有项对`EXT PA'位设置,PSKEY_TX_AVOID_PA_CLASS1_PIO为被使用,同时,其他的键值设置,如PSKEY_TXRX_PIO_CONTROL将马上被应用。

For example, power_setting { 0x0d11, 0, 0x3f11, 0x4d00, 0xf800 } specifies:

举例,表设置为{ 0x0d11, 0, 0x3f11, 0x4d00, 0xf800 }

To get power output -8 dBm for basic data rate (1 Mbps) use

internal amp 13, external amp 17.

设置功率输出8 dBm为原始输出速率(1 Mbps)使用内部放大器13,外部放大器7。

To get power output -8 dBm, for enhanced data rate (2 or 3 Mbps) use

internal amp 63, external amp 17, TX-PRE amp 0x4d.

设置功率输出8 dBm为原始输出速率(2 or 3 Mbps)内部放大器63,外部放大器17,TX-PRE放大0x4d

A power table is a list of these entries. The entries must be in ascending order of transmit power. If the table contains only one entry (five uint16s) then the firmware always uses these settings.

功率表列出了这些项目。项目必须是升序排列的发射功率。如果该表只包含一个项目那么固件始终使用这些设置。

The firmware responds to peer requests to increase/decrease transmit power by stepping up and down this table. The Bluetooth spec. constrains the sizes and number of steps, which in turn bounds the size and content of the power table.

固件相应对方请求,通过步进向上或向下此表以增加/减少发射频率。蓝牙规格,约束步幅的幅度和数据,即轮流限制功率表的大小和内容。

In EDR operation, if the bottom bit of the fourth word is set, the power is marked as unavailable for EDR transmissions. Depending on the setting of BCCMD Limit_EDR_Power, the chip will either change the packet type table to basic rate; or refuse peer power control requests which request it to exceed the maximum allowed EDR power. If is greater than the maximum allowed EDR power, BlueCore will refuse to enter use EDR until the peer requests it to decrement its power sufficiently, after which it will attempt to change the packet type table to use EDR.

在EDR运行过程中,如果第四字的底位被设置,则功率被标记为不可用的EDR的传输。依靠设置BCCMD Limit_EDR_Power,芯片将或者改变数据类型表为基本速率,或者拒绝超过EDR功率允许的最大值的对等功率控制请求。如果PSKEY_LC_DEFAULT_TX_POWER的值大于EDR允许的最大值,蓝牙芯片将拒绝ENR进入,直到充分的消耗功率,然后它将尝试改变数据包以使用EDR。

Note that, although this table is not used directly for the CSR-specific radiotest command set, two features of this table are used to determine transmitter behaviour in radiotest mode:

注意:虽然此表不是直接用于详细CSR芯片无线测试命令设置,但本表的两个特征将用于确定无线测试模式下传送者的行为。

- The first entry in the table is used to determine the fixed

internal_pa setting for EDR operation. The internal_pa

在CSR提供BLUELAB程序中,经常要用到PSKEY,配置好PSKEY是蓝牙产品功能实现的一个重要环节!翻译颇费时间,而且有些也是不甚理解,由于翻译量大且质量不理想,所以您感兴趣就看看吧,别下载啦!

value passed to the radiotest command in EDR mode (indicated

by packet types of 16 or over) is used to control the TX-PRE

level in the manner described above.

表中的第一项是用于确定固定internal_pa用于EDR操作设置。internal_pa值将无线测试命令传递给EDR模型。(被16或16以上的类型包指示)用于控制TX-PRE水平在上述数据包类型。

- The presence of an entry with the `EXT PA' bit set is

necessary before radiotest will use the class1 logic to

transmit. However, in addition, the external_pa value

passed to radiotest (the upper byte of the transmitter gain)

must be non-zero for class 1 mode to be used.

在无线测试运用CLASS1级别传输之前,`EXT PA'的出现是必须的。不过,除此之外, external_pa值 传递给无限测试(发射机的增益高字节)必须被非零class1级别应用。

See to see how the chip's AUX_DAC pin controls an external PA. 见PSKEY_TXRX_PIO_CONTROL看芯片的AUX_DAC引脚控制外部功率放大器。

The current Casira design has a fixed-gain external PA; its AUX_DAC is not connected to the PA. The default power table thus always has external_pa set to zero.

目前Casira设计有一个固定增益外部功放,其AUX_DAC没有连接到PA. 因此,默认功率表总是将external_pa设置为0.

See PSKEY_LC_POWER_TABLE, ,

, ,

, ,

, ,

PSKEY_TRANSMIT_OFFSET_HALF_MHZ, , and Key Name Key

Number

PSKEY_LC_WIDEBAND_RSSI_CONFIG 0x0032 wideband_rssi_config 113, 98, 9, 50 Type Default Setting Hardware from BlueCore3-Ext has a facility for wideband RSSI measurement. This key is used to configure the settings.

BlueCore3 硬件内置一个宽带的RSSI测量设施。这主要是用来配置设置。

It consists of four 16-bit words.

它由4个16位字组成。

The first word is the value of the wideband RSSI reading above which the RSSI high target should be reduced.

第一组为宽频RSSI显示高值,RSSI高目标(对象)要低于这一数值。

The second word is the value of the wideband RSSI readinb below which the RSSI high target should be increased.

第二组为宽频RSSI显示低值,RSSI高目标(对象)要高于这一数值。

THe third word is the step used when changing the RSSI high target.

第三组是用于改变RSSI高目标(对象)的步骤。

The fourth word is the minimum allowed value of the RSSI high target. The maximum value is

, or on builds without

.

CSR BLUELAB pskey翻译资料.doc 将本文的Word文档下载到电脑

    精彩图片

    热门精选

    大家正在看

    × 游客快捷下载通道(下载后可以自由复制和排版)

    限时特价:7 元/份 原价:20元

    支付方式:

    开通VIP包月会员 特价:29元/月

    注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
    微信:fanwen365 QQ:370150219