您好,欢迎来到佳博论文网!

基于Bluetooth技术实现PC与PPC(Pocket PC)之间的通信

论文编号:TX305论文字数:15421,页数:34

摘要

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

目录

摘要I

AbstractII

第一章 绪论1

1.1 背景介绍1

1.1.1 蓝压得意义与优势2

1.1.2 蓝牙的应用2

1.1.3 基于蓝牙的家电控制系统3

1.2 设计内容3

1.2.1 设计目的3

1.2.2 设计内容4

第二章 蓝牙技术简介5

2.1 蓝牙协议栈5

2.1.1 蓝牙协议栈层次5

2.1.2 蓝牙核心协议6

2.1.3 电缆替代协议7

2.2 蓝牙网络拓扑结构9

2.3 短距离无线通信技术比较10

2.3.1 IrDA 技术10

2.3.2 IEEE 802.1110

2.3.3 HomeRF技术11

2.3.4 比较总结11

第三章 开发工具介绍13

3.1 Microsoft Visual C++13

3.2 eMbedded Visual C++ 4.013

3.3 ActiveSync14

3.4 开发环境的安装14

第四章 基于蓝牙RFCOMM协议的蓝牙设备通信15

4.1 蓝牙通信概况15

4.2 Windows Mobile蓝牙设备串口通信实现15

4.2.1 打开和关闭串行端口16

4.2.2 读写串行端口17

4.2.3 配置串行端口18

4.2.4 出错处理18

4.3 PC机端的蓝牙串口通信程序编写19

4.4 PC客户端接收程序的开发20

第五章 蓝牙技术实现的POCKET PC技术23

5.1 设计概述23

5.2 设计具体实现过程23

5.3 演示内容25

结束语27

致谢28

参考文献29

基于Bluetooth技术实现PC与PPC(Pocket PC)之间的通信......