河北工业大学
硕士学位论文
蓝牙核心协议栈的分析与实现
姓名:张志飞
申请学位级别:硕士
专业:模式识别与智能系统
指导教师:耿恒山
20071101
河北工业大学硕士学位论文
蓝牙核心协议栈的分析与实现
摘要
蓝牙(Bluetooth)是由Ericsson、IBM、Intel、Nokia和Toshiba等公司在1998年联合推
出的一项先进的无线网络技术,它是一种无线数据与语音通信的开放性全球规范,以低成
本的近距离无线连接为基础,为固定与移动设备通信环境建立一个特别连接。遵循蓝牙协
议的各类数据及语音设备将能够用无线技术非常方便地实现快速、灵活、安全、低价位、
低功耗的数据和语音通信。目前全世界数以万计的工程师正在致力于该技术的研究。
基于对协议的准确理解和透彻分析的基础上本文介绍了蓝牙技术的主要特点和应用,
论述了蓝牙规范的完整框架和蓝牙协议栈的具体内容,介绍了相关技术特性、网络结构。
分析蓝牙各层协议之间的联系,并给出蓝牙协议系统的运作原理。
本文针对蓝牙技术规范中的链路管理协议(LMP)和逻辑链路控制与适配协议
(L2CAP)进行了详细的介绍。对 LMP 协议层的蓝牙数据包结构、链路的建立和管理、
状态机和状态管理、微微网主从设备切换等进行了详细的阐述。对 L2CAP 协议层的协议
复用、分段与重组、服务质量信息的交换、组抽象的四种功能和面向连接信道、无连接信
道、信令信道的三种信道进行了详细的阐述。在此基础上,提出实现了计算机上仿真实现
LMP 协议和 L2CAP 协议的软件方案,对仿真程序的数据结构设计、实现流程进行了详细
说明,并给出了仿真程序运行结果的图例。
关键词:Bluetooth,LMP,HCI,L2CAP,状态自动机,事件
i
蓝牙核心协议栈的分析与实现
BLUETOOTH KERNEL PROTOCOL ANALYZATION
AND IMPLEMENT
ABSTRACT
Bluetooth is put out jointly by Ericsson, IBM, Intel, Nokia and panies on 1998,
it is an advanced work technology, it is an open global protocol of wireless data and
munication. Based on the low cost connection by wireless, it provides special
connections between fixed and mobile munication envirments. All kinds of data
and voice bluetooth equipments use microwave to replace the work, intricated
cable, and realize data and munication very fast, flexible, safe, low cost, low
consumption. Currently thousands of engineers devote themselves to the research of Bluetooth.
Based on the foundation that prehension to the protocol and sufficient
analyzation, this paper introduce the main characteristic and application of bluetooth technology,
discuss the integral framework of bluetooth standard and special content of bluetooth protocol
stack, introduct related technology characteristic, network structure. Analyze the contact between
each bluetooth protocol layer, and provide the operating theory of bluetooth protocol system.
This paper give detailed introduce on bluetooth sta
蓝牙核心协议栈的分析与实现 来自淘豆网m.daumloan.com转载请标明出处.