摘要
Bluetooth(藍牙)技術是一種適合短距離通信的無線傳輸技術,一般傳輸距離為幾十米。Bluetooth技術為辦公室或家庭內設備連接提供了無線解決方案。與紅外接口不同,Bluetooth通信不需要設備之間的對準,也能在一定程度上克服障礙物的阻擋,具有很大的優勢,因此受到人們的高度重視。
本課題基于Bluetooth技術實現PC與PPC(Pocket PC)之間的通信,建立一個基本的通信框架,以實現即時的數據通信,并在此基礎上開發一個簡單的家電控制模擬系統作為通信驗證。本文先從為了解決有線連接帶來的麻煩引入藍牙技術,接著介紹了藍牙的協議層次和幾個核心的協議,重點介紹了RFCOMM協議,之后對幾種短距離無線通信技術進行了比較。最后介紹了本設計的實現方法,并且測試成功。
關鍵詞:藍牙,無線,串口通信
Abstract
Decided as a short-range wireless networking protocol, the distance that the Bluetooth technology can transmit is as far as dozens of meters. Bluetooth technology can normally provide cable-replacement technology to connect devices at home or in work place. Unlike IrDA interface, Bluetooth can overcome the obstacle without devices straight. To this extend, it has dominant superiority.
My project is on the basis of the technology of Bluetooth that supplied a connection between PPC and PC. Iinstant data and files can be transferred by building a transfer frame. Then, simulate simple system comprised of home electrical appliance. Firstly, this paper introduce Bluetooth technology and Bluetooth core protocol ,then emphasize RFCOMM protocol .Secondly, it introduce the way of carrying out the communication between PPC and PC. At last, the way is testified to succeed.
Key words:Bluetooth ,wireless , Serial Communication