如何使用C#包含BLE特征的指示或通知能力 [英] How to include the Indicate or Notify ability for BLE characteristic using C#

查看:50
本文介绍了如何使用C#包含BLE特征的指示或通知能力的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图包含  表示  或  Notify  能力
,以便订阅 
ValueChanged   event / add  ValueChanged  事件
到GattCharacteristic,如下面的代码所示:

characteristic.ValueChanged += Oncharacteristic_ValueChanged;



我可以在Android Studio或使用Java找到很多教程,但我是 UNABLE  到
在C#中找到它。

I can find many tutorials how to do so in Android Studio or using Java, but I am UNABLE to find it in C#.


如果有人能帮助我,我将非常高兴。

I will be extremely happy if anyone could help me on this.

推荐答案

我试图包含  表示  或  通知  能力
for BLE特性在Visual Studio 2017通用Windows平台中使用C#,以订阅 
ValueChanged   event / add  ValueChanged  事件
到GattCharacteristic,如下面的代码所示:

characteristic.ValueChanged += Oncharacteristic_ValueChanged;



我可以在Android Studio或使用Java找到很多教程,但我是 UNABLE  到
在C#中找到它。

I can find many tutorials how to do so in Android Studio or using Java, but I am UNABLE to find it in C#.


如果有人能帮助我,我将非常高兴。

I will be extremely happy if anyone could help me on this.


这篇关于如何使用C#包含BLE特征的指示或通知能力的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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