This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

An issue with strange conn_handle value

Hello.
I work on the multirole mode application. There is a strange situation, the conn_handle is not equal to 0 when connecting for the first time (equal to 2). Because of this, NRF_ERROR_NO_MEM error occurs in the blcm_link_ctx_get function. 
Someone faced with such a situation?

Parents
  • Hi, 

    What SDK version are you using? Did you erase the kit before programming the application? 

    Did you modify the example? What is that?

    Because of this, NRF_ERROR_NO_MEM error occurs in the blcm_link_ctx_get function. 

    The total link count (NRF_SDH_BLE_TOTAL_LINK_COUNT) should correspond with the sum of NRF_SDH_BLE_CENTRAL_LINK_COUNT and NRF_SDH_BLE_PERIPHERAL_LINK_COUNT (defined in sdk_config.h)

    What is your link count setting? 

    -Amanda H. 

Reply
  • Hi, 

    What SDK version are you using? Did you erase the kit before programming the application? 

    Did you modify the example? What is that?

    Because of this, NRF_ERROR_NO_MEM error occurs in the blcm_link_ctx_get function. 

    The total link count (NRF_SDH_BLE_TOTAL_LINK_COUNT) should correspond with the sum of NRF_SDH_BLE_CENTRAL_LINK_COUNT and NRF_SDH_BLE_PERIPHERAL_LINK_COUNT (defined in sdk_config.h)

    What is your link count setting? 

    -Amanda H. 

Children
No Data
Related