资源预览内容
第1页 / 共10页
第2页 / 共10页
第3页 / 共10页
第4页 / 共10页
第5页 / 共10页
第6页 / 共10页
第7页 / 共10页
第8页 / 共10页
第9页 / 共10页
第10页 / 共10页
亲,该文档总共10页全部预览完了,如果喜欢就下载吧!
资源描述
Bluetooth Core Architecture Blocks (蓝牙核心架构)(一)标签:interfaceprotocolsservicesystem测试layer2012-07-26 18:507098人阅读评论(4)收藏举报分类:BlueTooth(13)首先,第一幅图是蓝牙官网上的图示,对应蓝牙4.0版本。(2012年7月份最新更新)因为该图不很清楚,有人重画了下,稍微修改了其中一部分,如下图:推荐精选为便于理解,附上v1.0的架构图示如下:推荐精选为了便于理解,最后附上M$上关于蓝牙协议的图示,如下图:推荐精选下面就是关于蓝牙官网上文章的翻译了,因为时间和水平有限,主要是水平有限,翻译难免有误差之处,欢迎斧正。(https:/www.bluetooth.org/Building/HowTechnologyWorks/Architecture/Overview.htm)Core System DefinitionTheBluetoothcore system covers the four lowest layers andassociated protocols defined by theBluetoothspecificationas well asone common service layer protocol, theservice discovery protocol (SDP) and the overall profile requirements arespecified in the generic access profile (GAP). A completeBluetoothapplication requires a number of additional servicesand higher layer protocols that are defined in theBluetoothspecification.(这段话的理解非常重要,为了准确翻译这段话,我还深入研究了“as well as”的用法)推荐精选蓝牙核心系统覆盖了蓝牙spec中定义的最低层的四个部分以及相关协议,同时还包括一个通用服务层协议,服务发现协议以及在GAP中指出的全部需求。同时,一个完整的蓝牙应用程序还需要其他一些附加的服务和在蓝牙spe中定义的更高层的协议。BluetoothControllerThe lowest three layers aresometimes grouped into a subsystem known as theBluetoothcontroller. This is a common implementation involvinga standard physical communications interface between theBluetoothcontroller and remainder of theBluetoothsystem including the L2CAP, service layers and higherlayers (known as theBluetoothhost). Although this interface is optional, the architecture is designedto allow for its existence and characteristics. TheBluetoothspecification enables interoperability betweenindependentBluetoothenabledsystems by defining the protocol messages exchanged between equivalent layers,and also interoperability between independentBluetoothsub-systems by defining a common interface betweenBluetoothcontrollers andBluetoothhosts.蓝牙控制部分最底下的三层有时候被归为一组成为一个子系统称做蓝牙控制器。这是一个通用的执行部分,包括一个用于蓝牙控制器和蓝牙系统其他剩余部分之间的标准的物理通信接口,这些剩余部分包括L2CAP,服务层以及更高级的层次(常叫做蓝牙host)。虽然这个接口并非必不可少,但是本架构设计上允许它的存在和特点。蓝牙说明书通过定义同等层间的协议信息交换来使得独立的蓝牙系统之间协调工作,同时,通过定义一个蓝牙控制器和蓝牙host间的通用接口,保障了蓝牙子系统之间的协调工作能力。A number of functional blocksare shown and the path of services and data between these. The functionalblocks shown in the diagram are informative; in general theBluetoothspecification does not define the details ofimplementations except where this is required for interoperability.推荐精选很多功能块以及他们之间的服务和数据传输路径如图所示。这些功能块提供了很多的信息。总的来说,蓝牙spec不会定义执行体之间的细节部分,除非他们之间要求协同工作。Core System Protocols andSignalingStandard interactions aredefined for all inter-device operation, whereBluetoothdevices exchange protocol signaling according to theBluetoothspecification. TheBluetoothcore system protocols are the radio (RF) protocol,link control (LC) protocol, link manager (LM) protocol and logical link controland adaptation protocol (L2CAP), all of which are fully defined in subsequentparts of theBluetoothspecification. In addition, the service discovery protocol (SDP) is a servicelayer protocol required by allBluetoothapplications.核心系统协议和信号为内部设备之间的操作定义了标准的交互流程,在这些内部操作中,根据蓝牙spec蓝牙设备交互协议信号。蓝牙核心系统协议栈包括RF协议,链接控制协议,链接管理西医和逻辑连接控制适应协议(L2CAP),这些协议在蓝牙spec随后部分中都均有定义。另外,服务发现协议是一个所有蓝牙应用程序都需要的服务层协议。TheBluetoothcore system offers services through a number ofservice access points that are shown in the diagram as ellipses. These servicesconsist of the basic primitives that control theBluetoothcore system. The services can be split into threetypes. There are device control services that modify the behavior and modes ofaBluetoothdevice,transport control services that create, modify and release traffic bearers(channels and links), and data services that are used to submit data fortransmission over traffic bearers. It is common to consider the first two asbelonging to the C-plane and the last as belonging to the U-plane.蓝牙核心系统为许多服务通路点(AP)提供服务,如图中椭圆点处所示。这些服务有控制蓝牙核心系统的基元组成。这些服务可以分成三种类型。第一种是设备控制服务用于修改蓝牙设备的行为和工作方式,第二种是传输控制服务用于创建、修改以及释放通信送信单元(信道和链接),第三种是数据服务用于在通信送信单元上为传送功能传递数据。很容易的理解前两个属于C层面,最后一个属于U层面。推荐精选Host to ControllerInterface (HCI): SplitsBluetoothStack Into Controller and HostA service interface to theBluetoothcontroller sub-system is defined such that theBluetoothcontroller may be considered a standard part. In thisconfiguration theBluetoothcontroller operates the lowest three layers and the L2CAP layer is containedwith the rest of theBluetoothapplication in a host system. The standard interface is called the hostto controller interface (HCI). Implementation of this standard serviceinterface is optional.主机和控制器接口(HCI):划分蓝牙协议栈为控制器和主机和蓝牙控制器子系统的服务接口定义如下:蓝牙控制器被认为是一个标准的部分。在一个主机系统中,蓝牙控制器操作最底下的三层和L2CAP的这种配置包含在蓝牙应用程序的其他部分。标准接口称为HCI。对这个标准服务的接口的实现是可有可无的。As theBluetootharchitecture is defined with the possibility of aseparate host and controller communicating through an HCI, a number of generalassumptions are made. TheBluetoothcontroller is assumed to have limited data buffering capabilities incomparison with the host. Therefore the L
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号