需要'空间字符'作为蓝牙设备名称! [英] Need 'space character' for the Bluetooth device name!

查看:89
本文介绍了需要'空间字符'作为蓝牙设备名称!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,所有

我发现设备名称也是蓝牙设备名称。我们的蓝牙名称需要空格字符,就像"ABC 123"一样。但似乎无法接受空格字符!

I found that the device name is also the Bluetooth device name. Our Bluetooth name need a space character, just like "ABC 123". But there seems that the space character can't be accepted!

如何修复蓝牙名称需要空格字符?

How to fix the Bluetooth name needs space character?

Windows 10是否支持将在下一个版本中包含名称的空格字符?

Does the Windows 10 iot will include the space character for the name in the next release version?

DragonBoard 410c没有串行COM编号作为连接到PC的蓝牙设备。我想通过串口使用蓝牙与DragonBoard 410c进行通信。如何解决这个问题?

There is no serial COM number of the DragonBoard 410c as a Bluetooth device which connect to a PC. I want to communicate with the DragonBoard 410c with the serial use Bluetooth. How to fix this?

祝你好运。

推荐答案

Hello moyanming2013,

Hello moyanming2013,

如您所见out,设备名称中不允许使用空格。

As you already find out, the space is not allowed in device name.

>>> 没有DragonBoard 410c的串行COM编号作为连接到PC的蓝牙设备。我想通过串口使用蓝牙与DragonBoard 410c通信
。如何解决这个问题?

>>>There is no serial COM number of the DragonBoard 410c as a Bluetooth device which connect to a PC. I want to communicate with the DragonBoard 410c with the serial use Bluetooth. How to fix this?

在桌面上,您可以为设备添加虚拟COM端口:

On desktop, you can add a virtual COM port for your device:


  • Go settings-> Bluetooth&其他设备 - >更多蓝牙选项


  • 在蓝牙设置,选择COM端口并单击添加:


  • 你将看到以下窗口并单击浏览您将看到您的设备:


  • 您可能会看到以下信息:

因此,您需要在设备上运行蓝牙串行端口服务。您可以像这样创建服务:

So you need running Bluetooth serial port service on your device. You can create the service like this:

            var serviceResult = await RfcommServiceProvider.CreateAsync(RfcommServiceId.SerialPort);
            socketListener = new StreamSocketListener();
            serviceResult.StartAdvertising(socketListener);

您可以参考的更多详细信息
蓝牙RFCOMM聊天样本

More detailed information you can reference Bluetooth RFCOMM chat sample.


  • 然后你可以像这样添加一个COM端口,点击OK。

< img alt =""src ="https://social.msdn.microsoft.com/Forums/getfile/1246079">


  • 成功创建COM端口后,您可以看到此窗口:

你也可以在下面找到COM端口设备管理器:

And you can also find the COM port under Device Manager:

祝你好运,

Rita


这篇关于需要'空间字符'作为蓝牙设备名称!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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