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

Is it possible to set up different MTU sizes for multiple concurrent links?

Hi,

I'm developing an application with SDK 15 that requires multiple concurrent links. One peripheral link and several central links.

I want the peripheral link to have as much throughput as possible, and therefore I want it to have an MTU of 247. The central links are secondary and they have a low priority. They can be left with an MTU of 23, and use long connection intervals.

How can I set up this? I can't have the central links with an MTU of 247 due to RAM restrictions (see https://devzone.nordicsemi.com/f/nordic-q-a/40663/ram-requirements-per-central-link).

The closest I got with my implementation is all peripheral and central links with MTU = 23.

Any help with this is appreciated.

Parents
  • Hi,

    The softdevice allows you to define connection specific configurations which are identified by the "conn_cfg_tag" tags used when you enable the softdevice. One option is to create one tag for the peripheral role where you want high bandwidth, and another one for the central role. You can then pass the "peripheral" tag to  sd_ble_gap_adv_start() to use the high bandwidth configuration for peripheral links and the "central" tag to sd_ble_gap_connect() to use the low bandwidth configuration for central links. 

Reply
  • Hi,

    The softdevice allows you to define connection specific configurations which are identified by the "conn_cfg_tag" tags used when you enable the softdevice. One option is to create one tag for the peripheral role where you want high bandwidth, and another one for the central role. You can then pass the "peripheral" tag to  sd_ble_gap_adv_start() to use the high bandwidth configuration for peripheral links and the "central" tag to sd_ble_gap_connect() to use the low bandwidth configuration for central links. 

Children
Related