免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1101 | 回复: 0
打印 上一主题 下一主题

蓝牙协议栈 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-08-05 17:54 |只看该作者 |倒序浏览

               


  • The radio layer is the physical wireless connection. To avoid interference with other devices that communicate in the ISM band,
    the modulation is based on fast frequency hopping. Bluetooth divides
    the 2.4 GHz frequency band into 79 channels 1 MHz apart (from 2.402 to
    2.480 GHz), and uses this spread spectrum to hop from one channel to
    another, up to 1600 times a second. The standard wavelength range is 10
    cm to 10 m, and can be extended to 100 m by increasing transmission
    power.

  • The baseband layer is responsible for
    controlling and sending data packets over the radio link. It provides
    transmission channels for both data and voice. The baseband layer
    maintains Synchronous Connection-Oriented (SCO) links for voice and
    Asynchronous Connectionless (ACL) links for data. SCO packets are never
    retransmitted but ACL packets are, to ensure data integrity.
    SCO links are point-to-point
    symmetric connections, where time slots are reserved to guarantee
    timely transmission. A slave device is allowed to respond during the
    time slot immediately following an SCO transmission from the master. A
    master can support up to three SCO links to a single slave or to
    multiple slaves, and a single slave can support up to two SCO links to
    different slaves.
    Data transmissions on ACL links, on the other hand, are established on a
    per-slot basis (using slots not reserved for SCO links). ACL links
    support point-to-multipoint transmissions. After an ACL transmission
    from the master, only a slave addressed specifically may respond during
    the next time slot; if no device is addressed, the message is treated
    as a broadcast.

  • The Link Manager Protocol (LMP)
    uses the links set up by the baseband to establish connections and
    manage piconets. Responsibilities of the LMP also include
    authentication and security services, and monitoring of service quality.

  • The Host Controller Interface (HCI) is
    the dividing line between software and hardware. The L2CAP and layers
    above it are currently implemented in software, and the LMP and lower
    layers are in hardware. The HCI is the driver interface for the
    physical bus that connects these two components. The HCI may not be
    required. The L2CAP may be accessed directly by the application, or
    through certain support protocols provided to ease the burden on
    application programmers.

  • The Logical Link Control and Adaptation Protocol (L2CAP)
    receives application data and adapts it to the Bluetooth format. Quality
    of Service (QoS) parameters are exchanged at this layer.
Basically, the layers above HCI is implemented in software while LMP,baseband and radio layers are provided by bluetooth modules.
               
               
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/8993/showart_2018969.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP