欢迎来到天天文库
浏览记录
ID:46798895
大小:387.00 KB
页数:5页
时间:2019-11-27
《LMP - 协议解析》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、LMPLinkManagerprotocol1、LMP层整体架构2、数据包格式3、LMP支持的feature特性。4、LMP常用控制命令1、LMP层整体架构蓝牙controller中整体架构如下所示,HCI层、LMP层、Baseband层以及LC等各部分。对于LMP来说,简化版的结构如下所示,LM模块和LC模块交互完成host和controller之间的命令交互。2、数据包格式LMP数据包采用DM1包,并且长度固定不能够超过DM1数据包的长度。只有在HV1数据包的SCO链路中,并且数据长度小于9bytes时,采用DV数据包。3、LMP支持的feature特性。LMP特性总共有
2、三个page页,分别是page0、page1和page2,多数设备只支持page0页特性。在page0页中,每个bit为代表一个特性,1表示支持此特性,0表示不支持此特性,其中,page0中总共有8bytes64个特性。No.SupportedfeatureByteBit012345673slotpackets5slotpacketsEncryptionSlotoffsetTimingaccuracyRoleswitchHoldmodeSniffmode000000000123456789101112131415ParkstatePowercontrolrequestsCha
3、nnelqualitydrivendatarate(CQDDR)SCOlinkHV2packetsHV3packetsì-lawlogsynchronousdataA-lawlogsynchronousdata111111110123456716171819202122CVSDsynchronousdataPagingparameternegotiationPowercontrolTransparentsynchronousdataFlowcontrollag(leastsignificantbit)Flowcontrollag(middlebit)Flowcontrolla
4、g(mostsignificantbit)222222223BroadcastEncryption2012345672425ReservedEnhancedDataRateACL2Mb/smode33262728293031EnhancedDataRateACL3Mb/smodeEnhancedinquiryscanInterlacedinquiryscanInterlacedpagescanRSSIwithinquiryresultsExtendedSCOlink(EV3packets)3333332345673233343536373839EV4packetsEV5pac
5、ketsReservedAFHcapableslaveAFHclassificationslaveBR/EDRNotSupportedLESupported(Controller)3-slotEnhancedDataRateACLpackets444444440123456740414243444546475-slotEnhancedDataRateACLpacketsSniffsubratingPauseencryptionAFHcapablemasterAFHclassificationmasterEnhancedDataRateeSCO2Mb/smodeEnhanced
6、DataRateeSCO3Mb/smode3-slotEnhancedDataRateeSCOpackets55555555012345674849505152535455ExtendedInquiryResponseSimultaneousLEandBR/EDRtoSameDeviceCapableReservedSecureSimplePairingEncapsulatedPDUErroneousDataReportingNon-flushablePacketBoundaryFlagReserved666666660123456756LinkSupervisionTime
7、outChangedEvent7057585960616263InquiryTXPowerLevelEnhancedPowerControlReservedReservedReservedReservedExtendedfeatures77777771234567Page1和page2页不在此详细描述,详见蓝牙核心协议文档。4、LMP常用控制命令LMP支持的控制命令可以分为如下6个类别,连接控制类、安全类、信息请求类、角色切换类、操作模式类(sniff模式等)、本地传输类(sco/esco)和测试类。连
此文档下载收益归作者所有