通过蓝牙将PC 10上的Windows 10与自定义蓝牙模块进行通信 [英] Communicatoin between Windows 10 on PC through Bluetooth to a custom bluetooth module

查看:360
本文介绍了通过蓝牙将PC 10上的Windows 10与自定义蓝牙模块进行通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是蓝牙新手并使用Windows(用于开发目的)。 我的主要目标是,我有一个BLE设备。我希望我的PC作为服务器并连接到此设备(作为接收客户端) 并将特定类型的文件发送到设备
(一般窗口不支持的文件,例如:.c类型文件)。是否可以使用UWP功能并将PC作为服务器并将其传输到客户端?

I am a newbie to Bluetooth and working with Windows(for developemnt purpose).  My main target is,I have a BLE device . I would like my PC as a server and connect to this device (as receiving client)  and send a particullar type of file to the device (files not supported by general windows like eg: .c type files). Is it possible to use the UWP feature and make the PC as a server and transmit it to its client ?

推荐答案

嗨  frau_frau,

Hi  frau_frau,

欢迎来到开发通用Windows应用论坛!请使用
标记
,谢谢!

Welcome to the Developing Universal Windows apps forum! Please utilize tagging when posting to this forum, thanks!

>>是否可能使用UWP功能并将PC作为服务器并将其传输到客户端?

是的,我们可以使用
蓝牙RFCOMM
发送或接收文件。请参阅
蓝牙RFCOMM
主题。有关详细说明RFCOMM操作的完整代码示例,请参阅蓝牙Rfcomm聊天示例
在Github上。
$

Yes, we can use the Bluetooth RFCOMM to send or receive a file. Please see the Bluetooth RFCOMM topic. For a complete code sample that details RFCOMM operation, see the Bluetooth Rfcomm Chat Sample on Github.

最好的问候,

Yong Lu


这篇关于通过蓝牙将PC 10上的Windows 10与自定义蓝牙模块进行通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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