本文介绍了Windows 8.1上的蓝牙 - 聊天示例无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图通过使用"蓝牙Rfcomm聊天"在Windows 8.1中进行简单的蓝牙聊天。样本可以在MSDN页面上找到。

I've tried to get a simple Bluetooth chat to work in Windows 8.1 by using the "Bluetooth Rfcomm Chat" sample which can be found on the MSDN page.

不幸的是,它根本不起作用。我已将笔记本电脑和表面配对(两者都运行8.1),我可以在设备中传输文件。蓝牙聊天服务器是用C#编写的,客户端是用JavaScript编写的。我在我的笔记本电脑上运行服务器,
开始在我的表面上监听传入的请求和客户端,然后单击"运行"按钮。连接到服务器。但是,服务器没有找到任何设备,客户端说"没有找到聊天服务。请将Windows与
广告聊天服务的设备配对"。

Unfortunately, it doesn't work at all. I've paired my laptop and my surface (both are running 8.1) and I am able to transfer files within the devices. The Bluetooth chat server was written in C#, the client in JavaScript. I ran the server on my laptop and started to listen for incoming requests and the client on my surface and clicked "run" to connect to the server. However, the server didn't find any devices and the client said "No chat service were found. Please pair Windows with a device that is advertising the chat service".

有人可以解释如何使其工作吗?或者有人可以通过蓝牙提供数据传输的工作示例(首选语言:JavaScript)。

Can someone explain how to get this to work? Or can someone provide a working example of data transfer via Bluetooth (preferred language: JavaScript).

推荐答案


这篇关于Windows 8.1上的蓝牙 - 聊天示例无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 16:26