雷竞技电竞平台对话半导体客户支持超时 https://support.dialog-semiconductor.com/resource-keywords/timeout I2C适配器异步写:挂起的事务问题 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/i2c-adapter-async-write-pending < 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 >我使用i2c适配器(在主模式下)做的异步写或读,等待永远从回调信号OS_EVENT。
然而,与其永远等待,我希望能够设置一个超时值,以便它不会卡住,如果总线上没有设备。
但是在超时之后,如果我尝试启动另一个异步读或写,适配器会挂起,因为(例如2)有未完成的挂起事务。我如何取消这些挂起的事务,或者更好的是,怎样才能使用ad_i2c_async_read或ad_i2c_async_write超时。< / 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 / i2c”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > i2c < / > < / div > < div类= " field-item奇怪" > < a href = " / resource-keywords / adi2c”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > ad_i2c < / > < / div > < div class =”field-item甚至“> < a href = " / resource-keywords /大师”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " >主< / > < / div > < div class = " field-item古怪”> 超时< / > < / div > < div class =”field-item甚至“> < a href = " / resource-keywords / freertos”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > freertos < / > < / div > < div class = " field-item古怪”> < a href = " / resource-keywords /异步”typeof = " 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: 
2018年2月28日星期三14:38:44 +0000 rajames 155272年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/i2c-adapter-async-write-pending#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