通过Microsoft Platform SDK进行蓝牙开发 [英] Bluetooth development via Microsoft Platform SDK

查看:89
本文介绍了通过Microsoft Platform SDK进行蓝牙开发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我正在编写一个简单的客户端/服务器蓝牙应用程序,我正在编写

我正在使用平台SDK("Microsoft Platform SDK for Windows Server 2003 SP1")并使用套接字。

底线是我得到错误代码10050,根据各种文档,这意味着"网络已经死了"。 - 但我似乎无法弄清楚问题所在,因为蓝牙设备可以通过PC上的IVT BlueSoleil安装完美地工作(PC配备了USB加密狗,程序甚至无法创建没有USB的插座设备存在,所以我知道套接字创建很好)

这也已经在多台PC上进行了测试

这对于客户端和服务器都是如此,套接字创建正常,但任何"连接" ;或"绑定"命令提供此错误

任何想法?

我的代码如下:(仅限服务器)


Hello, I am having trouble with a simple client/server bluetooth application that I'm writing

I'm using the platform SDK ("Microsoft Platform SDK for Windows Server 2003 SP1") and using sockets.

Bottom line is that I'm getting error code 10050 which, according to various documentation, means the "network is dead" - but I can't seem to figure out where the problem lies since the bluetooth devices work perfectly via IVT BlueSoleil installd on the PCs (The PCs are equipped with a USB dongle, and the program cannot even create the socket where there is no USB device present, so I know the socket creation is fine)

This has also been tested on multiple PCs

This happens both for client and server, the sockets create fine, but any "connect" or "bind" commands give this error

Any ideas?

My code is the following: (server only)




代码块

推荐答案

嗨exenteth.it看起来我们在编程蓝牙设备时遇到了同样的问题。我的故事。当我的故事。即时通讯使用Windows XP2或更高版本的蓝牙驱动程序。我可以处理"连接"和"绑定" command.but当我从OEM H / W安装驱动程序时(我也使用IVT bluesoeil)然后,该命令不再工作。可能不同的蓝牙堆栈和else.hope这可能是有用的......

最好的愿望

yudi


这篇关于通过Microsoft Platform SDK进行蓝牙开发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆