Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to make sec_info_request_process with p_existing_key->enc_info.lesc == true?

Hi,

    I found my host device(non-Nordic) keeps sending a fix EDIV for all the client device. It seems working fine with other device, but not Nordic. I found Nordic stack return errors in sec_info_request_process(). The error is happened on line 370. This makes p_nec_info == NULL. The if statement checks either p_existing_key->enc_info.lesc is true or EDIV matches. How can I make the first condition true? Currently, the flag is always false. Anything I can tweak on the host side to make this work?

-----------------

            if (   p_existing_key->enc_info.lesc               <--------- how to make this true?

                || (im_master_ids_compare(&p_existing_key->master_id,

                                          &p_gap_evt->params.sec_info_request.master_id)))

            {

                p_enc_info = &p_existing_key->enc_info;

            }

----------------

Thank you,

Min-Ching

Parents Reply Children
No Data
Related