BTH
所属分类:通讯编程
开发工具:Visual C++
文件大小:9KB
下载次数:82
上传日期:2007-04-27 20:14:05
上 传 者:
whoami5
说明: 在VS2005环境中,可以实现蓝牙的搜索
(the VS2005 environment, can achieve a Bluetooth Search)
文件列表:
蓝牙搜索\btsearch.cpp (5545, 2004-12-01)
蓝牙搜索\btsearch.rc (2900, 2004-12-01)
蓝牙搜索\btsearch.sln (1614, 2005-03-24)
蓝牙搜索\btsearch.vcproj (9691, 2005-03-24)
蓝牙搜索\newres.h (1337, 2004-12-01)
蓝牙搜索\resource.h (1337, 2004-12-01)
蓝牙搜索\StdAfx.cpp (708, 2004-12-01)
蓝牙搜索\StdAfx.h (1424, 2004-12-01)
蓝牙搜索 (0, 2007-04-27)
Code Sample Name: BtSearch
Feature Area: Communications
Description:
This sample provides an implementation of simple Bluetooth device discovery
via the Winsock 2 API. It provides a listbox control which, when searching
is complete, lists the discovered Bluetooth devices. Only names of the devices
are displayed, but the addresses of the devices are also retrieved, and can
be used to query the devices for more information (not implemented)
Relevant APIs:
Bluetooth
Device discovery
Winsock
WSALookupServiceBegin
WSALookupServiceNext
WSALookupServiceEnd
Usage:
Load the project from Visual Studio 2005, and build and deploy normally.
Assumptions:
There are bluetooth devices to discover.
Requirements:
Visual Studio 2005,
Windows Mobile 5.0 Pocket PC SDK
ActiveSync 4.0.
** For more information about this code sample,
please see the Windows Mobile SDK help system. **
近期下载者:
相关文件:
收藏者: