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

Multiperipheral with NUS

Hello,

I have a product using NUS profile and plan to update it to support connection from multiple phone  

Do you recommend to start from Multiperipheral example and import NUS peripheral code or to do the opposite ?

Is there a big impact in RAM use or CPU load high when adding multiple concurrent connection for maintaining the connection ?

Does packet loss and retries on one connection can lead to disconnection on other connections due to lack of time for handling the other connections ?

What is recommended value for BLE_GAP_ROLE_COUNT_COMBINED_MAX ? 

Thanks

  • Hi.

    Do you recommend to start from Multiperipheral example and import NUS peripheral code or to do the opposite ?

     I would start from the Multiperipheral example, much easier to import the NUS peripheral code then doing the opposite.

    Is there a big impact in RAM use or CPU load high when adding multiple concurrent connection for maintaining the connection ?

     It will double, triple, and so on.

    Does packet loss and retries on one connection can lead to disconnection on other connections due to lack of time for handling the other connections ?

     No, this is handled by the central, in the sdk_config.h for your central.

    What is recommended value for BLE_GAP_ROLE_COUNT_COMBINED_MAX ? 

     I would not go higher then 20, which is the defined value in SDK 15.2.

    Best regards,

    Andreas

Related