1.if i declare GATTC_CMP_EVT in the below structure then in peripheral mode, its smoothly connects to mobile App but during central mode it is not able to connect to peripheral.const struct ke_msg_handler custc1_connected[] =
{
{CUSTC1_DATA_WRITE_REQ, (ke_msg_func_t)custc1_data_write_req_handler},
{GATTC_CMP_EVT, (ke_msg_func_t)gattc_cmp_evt_handler},
};
2. if i declare GATTC_CMP_EVT in the below structure then in central mode, it is able to connects to other peripheral but during peripheral mode, when we try to connects to mobile App then it goes into hardfault_handler.const struct ke_msg_handler custc1_default_state[] =
{
{CUSTC1_ENABLE_REQ, (ke_msg_func_t)custc1_enable_req_handler},
{GAPC_DISCONNECT_IND, (ke_msg_func_t)gapc_disconnect_ind_handler},
{GATTC_CMP_EVT, (ke_msg_func_t)gattc_cmp_evt_handler},
};
The above gattc_cmp_evt_handler is defined in custs1_task.c and custc1_task.c. But that handler is declared as static. Can you help me out to find out what could be the reason?
I have uploaded image of custc1_task.c file's structures which i have used.
Thanks and Regards,
Ruchi Patel
Hi!
我们想在DA14586上开发中心设备。但是我没有在SDK 6(6.0.4.326)中找到独立主机应用程序的例子(只有windows + HCI)。亚博国际官网平台网址SDK6也没有dsp项目。您将在稍后的时间(至少大约)提供这些示例吗?< / 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 > < / 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 = " /分类/ / 1492”一词typeof =“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > DA14586 < / > < / div > < / div > < / div >
Best regards,
Dario