discovery chars takes too long

mark · 28次点击 · 发布时间:3天前 · 更新时间:3天前

after server service UUID was discoveryed, I try to discovery all chars: 

        // Find all available char

const ob_gattc_evt_find_serv_rsp_t *rsp = &evt->gatt.find_serv_rsp;

        group_st_hdl = rsp->service[0].start_hdl, group_en_hdl = rsp->service[0].end_hdl;

        char_en_hdl = group_st_hdl;

        desc_st_hdl = group_st_hdl, desc_en_hdl = group_en_hdl;

        ob_gattc_find_characteristic(evt->gatt.conn_idx, group_st_hdl, group_en_hdl);


under evt_id == OB_GATTC_EVT_FIND_CHAR_RSP, each time only one char was discoveryed, discovery all my peripheral server's 4 chars takes about 8 seconds, that is too slow.


  My question: may I get all chars discoveryed in once ? otherwise, how to speed up? I know MINEW firmware takes only 1 second to discovery all 4 chars 


Thanks,

Mark,

被收藏 0  ∙  0 赞  
加入收藏
点赞
1 回复  
善言善语 (您需要 登录 后才能回复 没有账号 ?)

请先登录网站