wince下建立bluetooth连接的方法
2006-07-24 18:16
274 查看
To enable communication between two Bluetooth devices, you can create a connection by creating client and server sockets. The Bluetooth server socket must be configured to listen for incoming connection and accept a client socket. The Bluetooth client socket must know the address of the Bluetooth device to connect to, before it sends a connection request.
Microsoft® Windows® CE implementation of Bluetooth allows you to create a piconet. As per the Bluetooth specification, a master device can connect with seven active slave devices. For more information about piconet, see the Bluetooth Core Specification at this Official Bluetooth Wireless Info Web site.
You can also create a connection by using the COM Port emulator facility that ships with Microsoft Windows CE. For more information about using this facility to create connections, see Creating a Connection to a Remote Device Using a Virtual COM Port.
wince只实现了蓝牙协议中的rfcomm部分,好像只能创建基于rfcomm的连接.
本段阐述了在wince下建立蓝牙连接的两种方式.一种是通过winsock建立socket连接,另一个方式是用蓝牙虚拟的串口建立com口的连接,其实两种方法都是基于rfcomm协议层的实现.
Microsoft® Windows® CE implementation of Bluetooth allows you to create a piconet. As per the Bluetooth specification, a master device can connect with seven active slave devices. For more information about piconet, see the Bluetooth Core Specification at this Official Bluetooth Wireless Info Web site.
You can also create a connection by using the COM Port emulator facility that ships with Microsoft Windows CE. For more information about using this facility to create connections, see Creating a Connection to a Remote Device Using a Virtual COM Port.
wince只实现了蓝牙协议中的rfcomm部分,好像只能创建基于rfcomm的连接.
本段阐述了在wince下建立蓝牙连接的两种方式.一种是通过winsock建立socket连接,另一个方式是用蓝牙虚拟的串口建立com口的连接,其实两种方法都是基于rfcomm协议层的实现.
相关文章推荐
- SQL2000 不能建立与Local的连接解决方法
- 【Vegas原创】客户端无法建立跟远程计算机的连接解决方法
- Python实现建立SSH连接的方法
- C++中建立对象间消息连接的系统方法
- 一个有用的类,集合了建立、连接热点;获取本机ip和连接此热点的手机的ip地址等方法
- Python建立SSH连接的方法
- 双卡发送和接收彩信的解决方法 mms 主要还是看数据连接的建立
- sql2005管道的另一端上无任何进程、已成功与服务器建立连接,但是在登录过程中发生错误 一系列问题完整解决方法
- TCP短连接产生大量TIME_WAIT导致无法对外建立新TCP连接的原因及解决方法—实践篇
- 在linux里建立一个快捷方式,连接到另一个目录的方法
- C++中建立对象间消息连接的一种系统方法——回调函数
- Citrix 建立请求的连接时出错 解决方法
- WinCE 5.0 WIFI 无线网卡的配置和建立连接
- WinCE 5.0 WIFI 无线网卡的配置和建立连接(转)
- 【Linux网络编程笔记】TCP短连接产生大量TIME_WAIT导致无法对外建立新TCP连接的原因及解决方法—实践篇
- WinCE 5.0 WIFI 无线网卡的配置和建立连接
- 02、openstack4j建立通用的认证连接公共方法