欢迎来到天天文库
浏览记录
ID:49766105
大小:82.01 KB
页数:8页
时间:2020-03-04
《CSR蓝牙固件关于对信号强度RSSI的应用HCI Implementation (bcore-an-032Pa).doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、6.51(HCI:7.5.3)Read_Link_Quality6.51(HCI:7.5.3)Read_Link_QualityThiscommandobtainsavalueintherange0to0xff,describingthequalityofanACLconnection.此命令获得一个说明ACL连接质量的值,其介于0至0xff之间。Thevalue'smeaningismanufacturer-specific.这个值的意思是制造商特定的。Thevalueisderivedfromanaveragedb
2、iterrorrate(BER)measurement,updatedaspacketsarereceived.该值是源于平均误码率(BER)的测量,接收数据包时更新。TheBERvalueisderivedfrompartsofradiopacketsthatsupportFECerrorcorrection:误码率是来自部分无线数据包,支持FEC的错误:ƒAllpackets'headersƒ所有数据包的包头ƒThepayloadsofDM1,DM3,DM5,HV1andHV2packetsƒDM1,DM3,DM5
3、,HV1和HV2包的有效载荷ƒThedatapartsofDVpacketsƒDV包的数据部分ThetechniqueusedtoderiveBERvaluesisnotprecise;itisintendedonlytogiveanindicationoflinkqualityratherthanactasaprecise,calibratedinstrument.该手法用于计算误码率的值是不准确的,它只是为了指示链路的质量,而不是作为一个精确的测量指示。Links'BERvaluesareusedinternall
4、ytoadapttochangesinlinkquality,notablytosupportCQDDR(ChannelQualityDrivenDataRate).链路的误码率值是在内部使用,以适应变化的高质量链接,特别是支持CQDDR(根据信道质量确定数据速率)。TheHCIcommand'svaluesareasfollows.HCI命令的值如下。ƒBetween0xffand0xd7eachbitdistancerepresents0.0025%BER.Thus:ƒ在0xff和0xd7间的每个位代表0.0025
5、%的误码率。因此:ƒBetween0xd6and0x5aeachbitdistancerepresents0.08%BER.Thus:ƒ在0xd6和0x5a间的每个位代表误码率0.08%。因此:ƒBetween0x59and0x00eachbitdistancerepresents0.64%BER.ƒ在0x59和0x00间的每个位代表误码率0.64%。Asaruleofthumb,alinkwithaBERbetween0and0.1%isworkable.根据经验,链路的误码率在0和0.1%之间是可行的。Trying
6、torunalinkwithaBERabove1%givespoorresults.尝试运行一个误码率大于1%的连接会给出差的结果。Note:注意:ForEDRlinksthesetablesarenotvalid.ItisnotpossibletoconvertlinkqualityintoBER.这些表对于EDR链路无效。它不可能转化为链路质量的误码率。6.52(HCI:7.5.4)Read_RSSI6.52(HCI:7.5.4)Read_RSSIAcommonuserhopeistousethiscommand'
7、sreturnvaluesasthebasisofageneral-purposesignalstrengthmeter.通常用户希望使用此命令返回基于多方信号强度计量的值。Unfortunately,thecommand,asspecifiedby[BT1.1],isalmostuselessforthisrole.不幸的是,这个命令,由[BT1.1]指定,这个角色几乎是无用的。Whilealink'sreceivedsignalstrengthiswithintheGoldenReceivePowerRangeth
8、ecommandreturnsanRSSIvalueofzero.在链路处于黄金接收功率范围内时,此命令返回一个零的RSSI值。TheGoldenReceivePowerRangeisnormallyaround20dBmwide,crudelyequatingtoaphysicalrangefactoroften.(Forexa
此文档下载收益归作者所有