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

    A connection should not take that much RAM. How much flash memory does your application and the SoftDevice controller take? If it's close to the SoCs flash, the pairing information might exceed the flash available. Can you also show me the prj.conf file of your application?

    Best regards,

    Simon

Reply
  • Hi

    A connection should not take that much RAM. How much flash memory does your application and the SoftDevice controller take? If it's close to the SoCs flash, the pairing information might exceed the flash available. Can you also show me the prj.conf file of your application?

    Best regards,

    Simon

Children
  • Thank you, Simon

    just checked prj.conf and realised that CONFIG_BT_MAX_CONN=20 is commented out - sorry my fault.

    It is now be able to connect 2 with no error.

    Flash usage is 35% and RAM 52%, use SoC 52833.

    Now I need to keep a table of connected device with MAC addresses and their connection objects.   will try to do connection and disconnect for any of them.

    Thank you again.

    Ping

Related