雷竞技电竞平台对话框半导体客户支持 - 连接间隔 https://support.dialog-semiconductor.com/resource-keywords/connection-interval 与连接间隔相关的自动断开连接 https://support.dialog-semicondiondiondiondum/forums/post/dialog-martbond-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
最大连接时间间隔 https://support.dialog-semicondiondiondiondum/forums/post/dialog-smartbond-bluetooth-low-energy-42-%2%80%93-software/maximum-connection-interval.
论坛:
dialog smartbond蓝牙低能–软件字段类型文本,摘要字段标签隐藏“>

您好,
我正在使用PRO board和SDK 5.0.4。我想设置一个大的连接间隔来降低功耗。基于ble_外围项目,我更改了user_config.h中的参数。当我将间隔更改为300ms左右时,它就可以工作了,我可以使用powerprofiler查看波形。但是,当我将连接间隔进一步设置为3.6~4.0s左右时,这是BLE规范的限制,实际间隔仍然是30ms。这是我的用户。config.h:(我没有改变其他地方)这是我的用户。这是我的用户。config.h::(我没有改变其他地方)这是我的用户。我的用户是我的用户。我的用户是我的用户。config。h::(我没有改变其他地方)h::(我没有改变其他地方)

*/
静态常量结构gapm_配置用户\u gapm_conf={
。角色=GAP_外围设备SLV,

///用于可解析随机BD地址生成(LSB优先)的设备IRK
。IRK={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},

///设备外观(0x0000-未知外观)
https://developer.bluetooth.org/gatt/characteristics/Pages/Characteristi...
。外观=0,

///对等设备的设备外观写入权限要求(@参见gapm\u write\u att\u perm)
。外观写入=gapm\u write\u DISABLE,

///对等设备的设备名称写入权限要求(@参见gapm\u write\u att\u perm)
。名称写入=gapm\u write\u DISABLE,

///最大MTU
。最大MTU=23,

///预期的连接间隔应为3.5s左右
///仅限外围设备:*********************************************************************************************************************************************
///使用宏MS\u将双插槽从毫秒转换为双插槽
.con_intv_min=MS_TO_DOUBLESLOTS(3200),

///从机首选连接间隔的最大值(以ble双插槽(1.25ms)为单位测量)
。con u intv_max=MS_TO_DOUBLESLOTS(3800),

///从机首选连接延迟。它是在跳过的连接事件中测量的。con_延迟=0,

///从机首选链路监控超时以计时器单位(10毫秒)测量
//使用宏ms_TO_TIMERUNITS将毫秒(毫秒)转换为计时器单位
。superv_TO=ms_TO_TIMERUNITS(8000),

///隐私设置位字段(0b1=已启用,0b0=禁用)
/-[位0]:隐私支持
/-[位1]:多键支持(仅限外围设备);如果启用,隐私标志为只读。
//-[位2]:重新连接地址可见。
。标志=0

*/
静态常量结构连接参数配置用户连接参数配置={
///预期的连接间隔应在3.5s左右
///最小连接间隔(以ble双插槽(1.25ms)测量)
///使用宏MS_TO_DOUBLESLOTS将毫秒(MS)转换为双插槽
。intv_min=MS_TO_DOUBLESLOTS(3200),

///在ble双插槽(1.25ms)中测量的连接间隔最大值
。intv_max=MS_TO_DOUBLESLOTS(3800),在连接事件中测量的延迟
。延迟=0,

///以计时器单位(10毫秒)测量的监控超时
///使用宏ms\u TO\u TIMERUNITS将毫秒(ms)转换为计时器单位
。time\u out=ms\u TO\u TIMERUNITS(5000),

///以ble双插槽(1.25ms)测量的最小连接事件持续时间
。ce\u len\u min=MS\u TO\u DOUBLESLOTS(0),

///Maximum Connection Event Duration measured in ble double slots (1.25ms)
/// use the macro MS_TO_DOUBLESLOTS to convert from milliseconds (ms) to double slots
.ce_len_max = MS_TO_DOUBLESLOTS(0),
};

My question is 1) What is the longest allowed connection interval of Dialog chip? (4s?) and 2) Do I need to change other parameters to set a longer interval, say, 3.8s? Thanks!

Device: 
2017年2月11日星期六16:07:07 +0000 感伤 5398年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-42-%E2%80%93-software/maximum-connection-interval#comments 每个连接事件的包数 https://support.dialog-semiconductor.com/number-packets-connection-event < 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 >我做了一些与iOS设备吞吐量测试我怀疑iOS 9.3.1只允许slave在每个连接事件中发送3个包。我想验证我的假设,但我不知道怎么做。我的问题是:在一个连接事件中可以发送的包的数量是如何协商的?换句话说,从设备如何知道在一个连接间隔内它可以发送多少包?我假设在连接建立的某个点上,主服务器会把信息发送给从服务器,但是我找不到信息(我试图在代码中找到信息,我使用嗅探器检查连接建立)。< / p > < p >谢谢< br / > mabraun < / 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 typeof =“skos:概念”属性= " rdfs: labelskos: prefLabel”数据类型= " " >连接时间间隔< / > < / div > < div class = " field-item古怪”> < a href = " / resource-keywords / connection-event”“=“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” datatype="">DA14580
星期一,25 Apr 2016 10:22:14 +0000 mabraun 3287年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/number-packets-connection-event#comments
连接时间间隔 https://support.dialog-semiconductor.com/connection-interval < 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 >空白send_connection_upd_req (void) < br / > {< br / >

// Modify Conn Params
if (app_state == APP_SECURITY || app_state == APP_PARAM_UPD || app_state == APP_CONNECTED)
{
struct gapc_param_update_cmd * req = KE_MSG_ALLOC(gapc_param_update_cmd, TASK_GAPC, TASK_APP,)
#ifndef __DA14581__
req->params.intv_min = PREFERRED_CONN_INTERVAL_MIN;

//填充参数结构
req->// N * 1.25ms
req->params.intv_max = PREFERRED_CONN_INTERVAL_MAX;// N * 1.25ms
req->延迟= PREFERRED_CONN_LATENCY;// Conn Events skip
req->time_out = PREFERRED_CONN_TIMEOUT;// N * 10msI
#else
req->intv_min = PREFERRED_CONN_INTERVAL_MIN;// N * 1.25ms
req->intv_max = PREFERRED_CONN_INTERVAL_MAX;// N * 1.25ms
req-> // Conn Events skipped
req->time_out = PREFERRED_CONN_TIMEOUT; // N * 10ms
#endif
dbg_puts(DBG_FSM_LVL, "Send GAP_PARAM_UPDATE_REQ\r\n");
ke_msg_send(req);

ke_state_set(TASK_APP, APP_PARAM_UPD);
}
}
if I set the PREFERRED_CONN_INTERVAL_MIN being equal to PREFERRED_CONN_INTERVAL_MAX to 40, it means the connection interval is 50ms( 40*1.25ms) .??
In that position, the keyboard would disconnect after the connection is successful for several minutes.

if I set the PREFERRED_CONN_INTERVAL_MIN being equal to PREFERRED_CONN_INTERVAL_MAX to 6, the keyboard would disconnect.

Device: 
星期一,2015年9月28日09:36:05 +0000 awesley 2053年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/connection-interval#comments