雷竞技电竞平台对话框半导体客户支持-特性 https://support.dialog-semiconductor.com/resource-keywords/characteristic BLE读取特性与通知 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/ble-read-characteristic-notification < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件”“=“sioc:容器sioc:论坛”属性= " rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量-软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >你好,< / p > < p >我想配置特点与阅读通知属性。目前我可以在android应用程序(nRF连接)上看到这个特性与属性READ和NOTIFY。在android应用上,我看不到订阅这个特性的可能性。要更新此特性中的值,我必须手动按下阅读按钮。

是否有任何教程或演示/示例,显示如何配置这种特征?< / p > < p >问好,< / p > < p > Witold < / p > < p > < / p > < / div > < / div > < / div > < div class =”字段field-name-field-forum-keywords field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >关键词:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / resource-keywords /通知”“=”skos:概念”属性= " rdfs: label skos: prefLabel”数据类型= " " >通知< / > < / div > < div class = " field-item古怪”> < a href = " / resource-keywords /读”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " >读< / > < / div > < div class =”field-item甚至“> < a href = " / resource-keywords /特点”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " >特征< / > < / div > < / div > < / div > < div class =”字段field-name-field-device field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >设备:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / forum-post-device / da1469x”“=“skos:概念”属性=“rdfs: label skos: prefLabel” datatype="">DA1469x 2019年8月6日星期二09:02:19 +0000 维特尔 317525年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/ble-read-characteristic-notification#comments 向一个特征发送多个字节 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/sending-multiple-bytes-characteristic < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件”“=“sioc:容器sioc:论坛”属性= " rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量-软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >你好,< / p > < p >我试图写多个字节在Training_03_custom_profile_gatt_cmd_example_v1之后,使用SDK中的ble_app_peripheral项目。

我目前面临的问题是,处理程序没有触发多个字节发送到特征。我正在用运行BlueLoupe的安卓手机发送数据。通过发送0x01和0x00分别打开和关闭LED没有问题。我将user_custs1_def.h中的DEF_USER_LED_STATE_CHAR_LEN从1增加到几个更高的数字,但是当向特征发送其他数据时,没有一个使583执行处理程序,而不是0x00或0x01。

如何修改当多个字节发送到一个特征时触发的处理程序?

Kind regards,
Niek

p.s。我使用SDK 5.0.3.268,不是5.0.2.1但这个选项没有选择< / p > < / div > < / div > < / div > < div class =”字段field-name-field-forum-keywords field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >关键词:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / resource-keywords /多个字节”“=”skos:概念”属性= " rdfs: label skos: prefLabel”数据类型= " " >多个字节< / > < / div > < div class = " field-item古怪”> < a href = " / resource-keywords /特点”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " >特征< / > < / div > < / div > < / div > < div class = "字段field-name-field-device field-type-taxonomy-term-reference field-label-above">

Device: 
2017年7月18日星期二17:01:41 +0000 Niekvdd 68745年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/sending-multiple-bytes-characteristic#comments
如果没有建立连接,则无法更新特征值 https://support.dialog-semiconductor.com/cannot-update-characteristic-value-if-connection-not-made < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件”“=“sioc:容器sioc:论坛”属性= " rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量-软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >嗨< / p > < p >我用ble_app_profile作为基础,我试图写一个值到一个基于UART的特征。我能够从UART回调执行ke_msg_send来设置该值,但是该值只有在有一个中央连接到580时才会更改。如果没有连接到580的中心,那么所有的更新都将被丢弃。

如何确保通过UART接收的值反映在特征中,无论是否连接到一个中央580吗? < / p > < p >谢谢,< / p > < / div > < / div > < / div > < div class =”字段field-name-field-forum-keywords field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >关键词:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> 特征< / > < / div > < / div > < / div > < div class =”字段field-name-field-device field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >设备:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> da14580 2016年4月21日星期四05:30:41 +0000 ankitdaf 3257年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/cannot-update-characteristic-value-if-connection-not-made#comments 报告格式 https://support.dialog-semiconductor.com/presentation-format < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件”“=“sioc:容器sioc:论坛”属性= " rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量-软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >嗨< / p > < p >我想设置自定义的表示格式在ble_app_peripheral示例中,我被添加到cust1服务。

我无法找出代码,更重要的是,插入到哪里的代码,以显示特征值为文本。目前,我可以看到特征值为空,但我想将其设置为可读文本。

如何设置一个特征的表示格式?< / p > < p >谢谢,< / p > < / div > < / div > < / div > < div class =”字段field-name-field-forum-keywords field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >关键词:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / resource-keywords /特点”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " >特征< / > < / div > < div class = " field-item古怪”> < a href = " / resource-keywords /演示”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " >表示< / > < / div > < div class =”field-item甚至“> < a href = " / resource-keywords /格式”“=“skos:概念”属性=“rdfs: label skos: prefLabel”格式数据类型= " " > < / > < / div > < / div > < / div > < div class =”字段field-name-field-device field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >设备:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / forum-post-device / da14580”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > DA14580 < / > < / div > < / div > < / div > 2016年4月13日星期三10:32:19 +0000 ankitdaf 3203年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/presentation-format#comments