yabo国际娱乐对话半导体客户支持-断开连接 https://support.dialog-semiconductor.com/resource-keywords/disconnect DA14531断开连接错误 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software-dialog-%E2%80%9Csmartbond%E2%80%9D%E7%B3%BB%E5%88%97%E4%BD%8E%E5%8A%9F%E8%80%97%E8%93%9D%E7%89%99%E2%80%94%E8%BD%AF%E4%BB%B6/da14531-4
论坛: href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件-对话框- 9 csmartbond % E2 % % E2 % 80% 80% 9 d % E7%B3%BB % E5 % 88% 97% e4%bd % 8 8 e % E5 % % E8 % 9 f % E8 % 80% 97% 93% 9 E2 % d % E7 % 89% 99% 80% 94% e8%bd % AF % E4%BB % B6”“=“sioc:容器sioc:论坛”属性=“rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量-软件/ /对话框“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 >我使用DA14531作为外围设备,发现我的程序通常会进入< / p > < pre > <代码> / /我们不是

in gapc_disconnect_ind_handler at app_task.c when the central disconnect我检查了app任务的状态,它是APP_DISABLED。我搜索了项目,没有找到代码设置状态的地方。那么我该怎么定位问题呢?< / 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 / da14531”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > da14531 < / > < / div > < div class = " field-item古怪”> < a href = " / resource-keywords /断开”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " >断开< / > < / div > < div class =”field-item甚至“> < a href = " / resource-keywords / apptask”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > APP_TASK < / > < / 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 / da14531”“=“skos:概念”属性=“rdfs: label skos: prefLabel” datatype="">DA14531

2021年1月28日星期四03:17:14 +0000 女警官 398180年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software-dialog-%E2%80%9Csmartbond%E2%80%9D%E7%B3%BB%E5%88%97%E4%BD%8E%E5%8A%9F%E8%80%97%E8%93%9D%E7%89%99%E2%80%94%E8%BD%AF%E4%BB%B6/da14531-4#comments
iOS 10和iOS 9的断连过程是不同的。 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/disconnection-process-differs-between < 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:论坛”property="rdfs:label skos:prefLabel" datatype="">Dialog Smartbond Bluetooth Low Energy - Software

从iOS发出连接请求(connection request)。< br / > 2。外设发出连接请求指示。< br / > 3。从外设发出断开进程。
在iOS 9中,它将被标识为断开连接,并立即断开。
但是,iOS 10将其识别为超时,并需要时间来断开连接。
这是iOS的问题吗?
外围有问题吗?< / p > < p >静态int gapc_connection_req_ind_handler (ke_msg_id_t const是否,< br / > struct gapc_connection_req_ind const *参数,< br / > ke_task_id_t const dest_id, < br / > ke_task_id_t const src_id) < br / > {< br / > uint8_t connection_idx = KE_IDX_GET (src_id); < / p > < p > / / iOS 9将确定为立即断开连接和断开连接。
//但是,iOS 10将其识别为超时,并需要时间来断开连接。< br / > app_easy_gap_disconnect (connection_idx); < / p > < p >返回(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 / ios10”typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">iOS10

Device: 
2017年6月22日星期四01:00:32 +0000 y-takamine 53831年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/disconnection-process-differs-between#comments
与连接间隔相关的自动断开 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-42-%E2%80%93-software/auto-disconnect-related-connection < 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 >你好,< br / >我用14580 Pro, SDK5.0.4。我发现当固定传感器采样率时,如果我设置的连接间隔太大,几分钟后板子就会断开。如果我改变连接间隔更小,它就不会断开。当它断开连接时,它停止在:
void wrap_platform_reset(uint32_t error)
{
ASSERT_WARNING(error==RESET_AFTER_SPOTA_UPDATE);
}

我想可能是由于连接间隔时间过长,单板无法传输所有的采样数据。这是它断开的原因吗?为什么它在wrap_platform_reset中停止?谢谢。< / 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 / connection-interval”“=“skos:概念”属性=“rdfs: label skos: prefLabel” datatype="">connection interval

Device: 
2017年2月16日星期四03:11:15 +0000 伤感 5428年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-42-%E2%80%93-software/auto-disconnect-related-connection#comments
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
DA14580断开问题(Murata LBCA2HNZYZ) https://support.dialog-semiconductor.com/disconnect-issue-da14580-murata-lbca2hnzyz < 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 >我和一个日本村田公司已经开发了一个产品LBCA2HNZYZ BLE模块(其中包含DA14580芯片)。那个产品有两个模块,一个是中心模块,另一个是外围模块。
但外围设备相互连接后,一小时内不会有几次响应。

中心与外围的距离约为6米。在我的环境中没有无线电波干扰。在我的测试代码中,central每50ms发送一个23字节长度的包。

在许多情况下,外设用空包响应ACK。
但是外围设备在从中央发送数据包后不会突然发送任何响应。
此时,中央继续发送相同的数据包(重试)。最后,他们断开连接,因为中心从来没有收到任何外设的数据包。

本例中,外设的BLE栈(GAPC)发送错误"0x3D(CONNECTION TERMINATED DUE MIC FAILURE)"。

请帮我找出断开的原因,以及如何提高连接的稳定性。

这里是我的环境的详细信息。

[SDK]
3.0.10.1

[BLE setting]
WinSize:02
WinOffset:0x0002
Interval:0x0006
Latency:0x0000
Timeout:0x0048
ChM:0x1FFFFFFFFF
SCA:0x00
Encryption is enable。
Using MIDI over bluetooth protocol

Keywords: 
Device: 
星期三,2016年6月29日02:46:37 +0000 避开Kudoh 4051年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/disconnect-issue-da14580-murata-lbca2hnzyz#comments
rssi低时断开 https://support.dialog-semiconductor.com/disconnect-when-rssi-low < 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 >,可以设置一个rssi低阈值当我们初始化BLE堆栈时,当RSSI低于该值时,BLE堆栈将自动断开。

我知道可能我们可以监听GAPC_CON_RSSI_IND消息并手动断开连接。我们是否可以在init BLE堆栈时设置一个值并让它自动断开?< / 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 / rssi”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > RSSI < / > < / 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 > < divclass="field-items">

.
星期二,2016年5月10日21:43:46 +0000 zwang308 3380年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/disconnect-when-rssi-low#comments
如何从特定的外围设备断开(作为中心) https://support.dialog-semiconductor.com/how-disconnect-central-specific-peripheral < 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 >有可能使用GAPC_DISCONNECT_CMD作为核心从一个特定的外围设备断开?
或者当GAPC_DISCONNECT_CMD由一个有多个外设连接的中心发出时,它到底做什么?< / p > < p >欢呼,迈克尔< 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 /断开”“=”skos:概念”属性= " rdfs: labelskos: prefLabel”数据类型= " " >断开< / > < / div > < / div > < / div >
星期二,2015年1月20日17:20:46 +0000 MichaelKopp 1029年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/how-disconnect-central-specific-peripheral#comments
在RW-BLE-GAP-IS中GAPC_DISCONNECT_IND的文档错误 https://support.dialog-semiconductor.com/error-documentation-gapcdisconnectind-rw-ble-gap < 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:论坛”property="rdfs:label skos:prefLabel" datatype="">Dialog Smartbond Bluetooth Low Energy - Software

Hi,

I guess,有效负载由3个字节组成,前两个是连接句柄(文档中没有),第三个是原因(文档中有记录)。

参见gapc_task.h中的struct gapc_disconnect_cmd。< / p > < p >欢呼,迈克尔< 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 / doc”“=“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 / gapc”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > gapc < / > < / div > < div class = " field-itemodd">disconnect

.
星期二,2015年1月20日16:53:33 +0000 MichaelKopp 1028年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/error-documentation-gapcdisconnectind-rw-ble-gap#comments