雷竞技电竞平台对话半导体客户支持-差距 https://support.dialog-semiconductor.com/resource-keywords/gap GAPC_DISCONNECT_IND在到达user_app_disconnect之前被消耗 https://support.dialog-semiconductor.com/gapcdisconnectind-gets-consumed-reaching-userappdisconnect < 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应用,会谈到583.代码基于ble_app_barebone示例,我还实现了custs1_task配置文件。

当Android应用程序连接或从583断开时,我正在切换LED。我能够得到正确的连接部分和LED继续。但是,如果Android应用程序启动了disconnect, custs1_task.c会消耗GAPC_DISCONNECT_IND消息,并且它永远不会弹出到user_barebone.c中的user_app_disconnect方法

是否有可能让user_app_disconnect也接收到这个消息?

注释掉“return (KE_MSG_CONSUMED)”没有帮助

你能告诉我我在这里可能做错了什么吗?谢谢! < br / >关键词:< / 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 / da14583”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > DA14583 < / > < / 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 > < divclass="field field-name-field-device field-type-taxonomy-term-reference field-label-above">

Device: 
星期一,2016年7月11日10:16:05 +0000 ankitdaf 4122年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/gapcdisconnectind-gets-consumed-reaching-userappdisconnect#comments