[UWP] Windows Phone10和蓝牙低功耗(Arduino 101) [英] [UWP]Windows Phone10 and Bluetooth Low Energy (Arduino 101)
问题描述
我是应用程序开发的新手,想学习如何为Windows手机创建应用程序。
I am new to app development and want to learn how to create apps for windows phones.
我编写了一个带有BLE通信的Arduino 101,想要读写到设备。任何人都可以帮我这个,一个入门指南或让我开始的东西。
这是我的关贸总协定服务输入/输出:
I have programmed an Arduino 101 with BLE communications and want to read and write to the device. Can anyone help me with this, a start guide or something to get me started.
Here is my GATT service inputs/outputs:
- BLEService ledService(" 1815"); //自动化IO服务
- BLEUnsignedCharCharacteristic switchCharacteristic(QUOT; 19B100001-E8F2-537E-4F6C-D104768A1214" ;, BLERead | BLEWrite); 对于RGB模式//十六进制代码00-09
- BLEUnsignedCharCharacteristic RedCharacteristic(QUOT; 19B100002-E8F2-537E-4F6C-D104768A1214" ;, BLERead | BLEWrite);  对于红色00-FF
- BLEUnsignedCharCharacteristic GreenCharacteristic(QUOT //十六进制代码; 19B100003 -E8F2-537E-4F6C-D104768A1214" ;, BLERead | BLEWrite);  对于//十六进制代码绿颜色00-FF
- BLEUnsignedCharCharacteristic BlueCharacteristic(QUOT; 19B100004-E8F2-537E-4F6C-D104768A1214" ;,BLERead | BLEWrite);  对于蓝色00-FF
- BLEUnsignedCharCharacteristic fadedelayCharacteristic(QUOT //十六进制代码; 19B10005-E8F2-537E-4F6C-D104768A1214" ;, BLERead | BLEWrite);&NBSP ; // fadeDelay 00-FF的十六进制代码
- BLEUnsignedCharCharacteristic blinkdelayCharacteristic(" 19B10006-E8F2-537E-4F6C-D104768A1214",BLERea d | BLEWrite); // BlinkDelay 00-FF的十六进制代码
- BLEService batteryService(" 180F"); // BLE电池服务
- BLEUnsignedCharCharacteristic batteryLevelChar(" 2A19",BLERead | BLENotify);
推荐答案
Hello Kimlorentz,
Hello Kimlorentz,
请阅读粘贴帖子,尤其是
'A HREF ="https://social.msdn.microsoft.com/Forums/windowsapps/en-US/b479e984-ca39-4b34-a6b7-85194b54d8bd/guide-to-posting-subject-line-tags?forum= wpdevelop">
发布指南:主题行标签和
Windows 10 SDK和工具的已知问题
Please read the sticky posts, especially the Guide to posting: subject line tags and Known Issues for Windows 10 SDK and Tools
>>"任何人都可以帮我解决此问题,入门指南或让我入门的事情。"
>>"Can anyone help me with this, a start guide or something to get me started."
"
Windows.Devices.Bluetooth.GenericAttributeProfile 命名空间定义Windows应用商店应用和桌面应用程序可以运行的Windows运行时类用于与蓝牙LE设备通信。"
"The Windows.Devices.Bluetooth.GenericAttributeProfile namespace defines Windows Runtime classes that a Windows Store apps and desktop applications can use to communicate with Bluetooth LE devices."
要了解有关如何使用Windows.Devices.Bluetooth.GenericAttributeProfile的更多信息,请参阅"Bluetooth低能
客户端示例"。
To learn more about how to use Windows.Devices.Bluetooth.GenericAttributeProfile, please see the "Bluetooth Low Energy client sample".
最佳此致,
Xavier Eoro
Xavier Eoro
这篇关于[UWP] Windows Phone10和蓝牙低功耗(Arduino 101)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!