通过蓝牙将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