The Analysis and Realization of HCI and L2CAP Protocol of Bluetooth Wireless Communication System
- Author
- DengRongHua
- Advisor
- FanGanJun
- School
- Wuhan University of Technology
- Major
- Signal and Information Processing
- Classification
- TN925 Radio relay communications,microwave communications
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 319
- Citations
- 3
Abstract
Short-distance wireless communication in today's society more widely, Bluetooth as a high security, easy to use, powerful, inexpensive short-range wireless communication, but also increasingly being used in all walks of life . It can be expected that the Bluetooth wireless personal area network communication mode will become part of the way people work and learn essential tool, as is now the mobile phones in people's lives in the same role. Bluetooth technology as a unified global short-range wireless communication standard, whose aim is to become a general, low-power, low-cost wireless air interface and control software open standards, so that further integration of communications and computers, so that different manufacturers of portable the device without wires or cables connected to each other in the case, in a close range with interoperability, each performance of the operation. Like with IEEE802.11b, Bluetooth is used 2.4gHz band wireless communications technology. Currently supported data rate of 1Mbps, support data and voice services. Enacted by the Bluetooth SIG specification defines a developing solution used in every part of the core specification and application of norms into two parts. This paper first introduces the Bluetooth technology overview of the development at home and abroad, outlining the main features of Bluetooth technology and applications, development of Bluetooth applications pointed out the purpose and meaning; then Bluetooth specification version 1.1, based on the Bluetooth specification discusses the complete framework and the specific content of the Bluetooth protocol stack, the Bluetooth host controller interface HCI and the Logical Link Control and Adaptation Protocol L2CAP for a detailed description; for the host controller interface HCI, detailed description of the command packet, event grouping, data The data format of the packet, and each packet type are given with a specific example, for analytical use Bluetooth HCI protocol initialization, search for another device, establish a link, data transmission, disconnect link such a process and to out of the software flowcharts and HCI general communication process instance, for HCI layer protocol in the development process error-prone areas were the focus of the description; against the LLC and Adaptation Protocol L2CAP, this article describes in detail the layer protocol function, and three of the four channels, four functions is protocol multiplexing capability, segmentation and reassembly, quality of service information interchange, group abstract; three kinds of channels is a connection-oriented channel, no connection channel, the signaling channel. L2CAP for the four functions, the paper describes the Bluetooth communication, the role of these four functions, and these four functions are implemented. Three for the L2CAP channel, this channel is also given for each data packet format, and each data point in each field are analyzed. Several of the main signaling command is also analyzed and given a specific data structure. Finally, to achieve the L2CAP protocol software processes.
Table of contents
Chapter 1 Introduction 8-14
1.1 Introduction to Bluetooth technology 8-10
1.2 Bluetooth and other wireless technologies compare 10-12 < br /> 1.3 Bluetooth technology application prospects 12-13
1.4 project tasks and significance 13-14
Chapter 2 Bluetooth protocol architecture 14-22
2.1 Bluetooth protocol architecture 14-15
2.2 underlying protocol 15-16
2.2.1 baseband protocol (BaseBand Protocal) 15-16
2.2.2 Link Management Protocol (LMP) 16
2.3 intermediate layer protocol 16-18 <br / > 2.3.1 Service Discovery Protocol (SDP) 16-17
2.3.2 Alternative cable protocol (RFCOMM) 17-18
2.3.3 Phone Control Protocol (TCS) 18
2.4 high-level application protocol 18-21
2.4.1 Point to Point Protocol (PPP) 18-19
2.4.2 TCP / UDP / IP 19-20
2.4.3 Object Exchange Protocol (OBEX) 20-21
2.4 .4 Wireless Application Protocol (WAP) 21
2.5 Summary 21-22
Chapter 3 Host Controller Interface (HCI) Analysis and Implementation 22-47
3.1 Bluetooth host controller interface overview 22-23
3.2 Bluetooth host controller interface data packet 23-27
3 .2.1 HCI Group Overview 23
3.2.2 HCI packet type 23
3.2.3 HCI grouping parameter 23-27
3.3 Bluetooth host controller HCI flow control 27-28
3.4 Bluetooth host controller interface HCI transport layer 28-30
3.4 .1 HCI Transport Layer Overview 28-29
3.4.2 HCI USB transfer layer 29-30
3.5 Bluetooth host controller interface HCI implementation 30-39
3.5.1 software process 30-31
3.5.2 software code 31-33
3.5. 3 threaded code 33-39
3.6 HCI general communication process instance 39-46
3.7 Summary 46-47
4 Zhang LLC and Adaptation Protocol (L2CAP) 47-61
4.1 Bluetooth LLC and Adaptation Protocol Overview 47-48
4.2 L2CAP protocol channel 48-49
4.3 L2CAP layer protocol Segmentation and Reassembly 49-50
4.3.1 segmentation process 49 - 50
4.3.2 restructuring process 50
4.4 Segmentation and Reassembly Example 50-51
4.5 L2CAP protocol data packet format 51-53
4.5.1 Connection-oriented CO channel L2CAP_PDU 52
4.5.2 No connection CL channel L2CAP_PDU 52-53 <br / > 4.6 L2CAP protocol signaling 53-54
4.7 several major signaling instruction 54-58
4.8 L2CAP protocol software implementation 58-60
4.9 L2CAP layer protocol summary 60-61
Chapter 5 Conclusion 61-63
References 63 - 66
Thanks 66-67
pursue a degree papers published during 67
Related dissertations
- Application of Bluetooth Technology on Wireless Palm ECG Monitor
- Research on Principles & Application of Bluetooth Wireless Communication
- Research on Core Protocol Stack of Bluetooth
- Research and Implementation of Bluetooth RFCOMM Protocol
- The Design and Implementation of Android Smart Home Control System
- Research and Development on Rubik’s Cube Robot Display System
- Design of Small Mobile Robot System Based on Android
- Research and design of intelligent 3D pulse peak field strength tester
- Research and Development of Food Security Supervision and Intelligent Management System
- The Design of Wireless Communication System Based on Laser Displacement Sensor
- Design of Human Interactive System Based on Smart Phone
- Design of Grading Intelligent Software System for Bluetooth Based on Android
- Theoretical Research on Image Transmission System Basedon ARM and Bluetooth Technology
- The Design and Implementation of One Wireless Encryption Keyboard Based on FPGA
- The Research of Software System for Audio Player of Bluetooth Based on Android
- Research and Design of Low Power High Linearity Down-conversion Mixer
- Quality management of A company Headset development project of Bluetooth
- The Design of Smart Outlet Based on Android Phone
- The Research and Development of a Smart Phone Tracked and Vehicle-mounted Inverter and Charger
- Design and Implementation of the Piston Fatigue Pressure Control System Based on Wireless Communication