摘要
Bluetooth(藍(lán)牙)技術(shù)是一種適合短距離通信的無線傳輸技術(shù),一般傳輸距離為幾十米。Bluetooth技術(shù)為辦公室或家庭內(nèi)設(shè)備連接提供了無線解決方案。與紅外接口不同,Bluetooth通信不需要設(shè)備之間的對準(zhǔn),也能在一定程度上克服障礙物的阻擋,具有很大的優(yōu)勢,因此受到人們的高度重視。
本課題基于Bluetooth技術(shù)實(shí)現(xiàn)PC與PPC(Pocket PC)之間的通信,建立一個基本的通信框架,以實(shí)現(xiàn)即時的數(shù)據(jù)通信,并在此基礎(chǔ)上開發(fā)一個簡單的家電控制模擬系統(tǒng)作為通信驗(yàn)證。本文先從為了解決有線連接帶來的麻煩引入藍(lán)牙技術(shù),接著介紹了藍(lán)牙的協(xié)議層次和幾個核心的協(xié)議,重點(diǎn)介紹了RFCOMM協(xié)議,之后對幾種短距離無線通信技術(shù)進(jìn)行了比較。最后介紹了本設(shè)計的實(shí)現(xiàn)方法,并且測試成功。
關(guān)鍵詞:藍(lán)牙,無線,串口通信
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