This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

central multilink example not building

Hi, All

I am trying the example here ...ncs\v1.9.1\zephyr\samples\bluetooth\central_multilink\ with nRF52833dk_nrf52833 board, however it doesn't build, and saying the  maximum conn number is outside of the valid range of [1. 20]. 

What is the range of CONFIG_BT_MAX_CONN? another example says 20, but why this one set it to 62?

Another question, when a central is connected to some peripherals,  is it still able to do scanning?

Thanks you!

Ping

Parents
  • Hi

    1. Correct, but bt_conn *conn is not the same as conn_connecting, these are two different structs, and it seems like your're mixing these up.

    2. It shouldn't be necessary to add conn_connecting. Use the bt_conn *conn struct instead. 

    3. Error -12 points to there being no more memory in your application. Have you checked how much memory your application uses as is, and does one connection take up what is available in your application?

    Best regards,

    Simon

Reply
  • Hi

    1. Correct, but bt_conn *conn is not the same as conn_connecting, these are two different structs, and it seems like your're mixing these up.

    2. It shouldn't be necessary to add conn_connecting. Use the bt_conn *conn struct instead. 

    3. Error -12 points to there being no more memory in your application. Have you checked how much memory your application uses as is, and does one connection take up what is available in your application?

    Best regards,

    Simon

Children
No Data
Related