yabo国际娱乐对话半导体客户支持-多字节 https://support.dialog-semiconductor.com/resource-keywords/multiple-bytes 发送多个字节到一个特征 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增加到几个更大的数字,但是当将其他数据发送到特征时,除了0x00或0x01,它们都没有使583执行处理程序。

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

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