With development of internet and increment of intelligence equipment, the arrangement of electric cable linking various equipment such as PC , notebook, PDA, intelligence mobile telephone and so on, will be more and more complicated, it has not only affected attractive looks, but also has increased cost and difficulty of assembling and defending. Therefore, wireless links between all kinds of equipment having become a current studying subject. Therefore, the research and development of embedded Bluetooth Gateway technology having been developed in my group. As one part of subject, thesis mainly analyses and study the characteristic, the protocol and the profile of bluetooth of bluetooth technology. Based on the characteristic and development theorem of the embedded system, the software and hardware design scheme of the embedded bluetooth gateway has been designed, L2CAP and RFCOMM of the bluetooth profile stack, virtual serial drive and LAP of the bluetooth profile are priority studied and realized.After analyzed current situation and application to bluetooth, and compared various bluetooth gateway realization schemes, we select embedded system to realize the bluetooth gateway. The thesis main content are as follows:Firstly, According to the application need of embedded bluetooth gateway communication system, this paper proposes a software and hardware design scheme for embedded bluetooth gateway. Meanwhile, discusses the scheme of the interface between gateway software modules and the communication way between the protocol tiers of bluetooth protocol stack.Secondly, discusses the building of embedded bluetooth gateway hardware testing platform and software development platform. Embedded bluetooth gateway software global construction will be described in detail, and what this thesis studying and implement will be pointed out, Then, emphasis in discussing the important data structure and the interface function between protocol layer in the L2CAP and RFCOMM protocol, Use FSM to describe status changes in protocol layer, and give communication flow chart and key procedure module flow chart for L2CAP and RFCOMM protocol. In order to make use of the Linux dial service program, virtual serial equipment ttyBT is developed and realized; Character device ttyBTmgr is developed to manage the interchange between the bluetooth virtual serial device ttyBT and the bluetooth protocol module.Lastly, a test system and test method for embedded bluetooth gateway are given, and the experimental results are presented. At the same time, the paper carry out a summary on the main part of the study and the stage achievement, then, based on the summary come up with some problem to be studied latter. |