是否有任何教程或演示/示例,显示如何配置这种特征?< / 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
我目前面临的问题是,处理程序没有触发多个字节发送到特征。我正在用运行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">
如何确保通过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甚至“>
我无法找出代码,更重要的是,插入到哪里的代码,以显示特征值为文本。目前,我可以看到特征值为空,但我想将其设置为可读文本。
如何设置一个特征的表示格式?< / 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 >