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

Dynamically Change BLE Stack Configuration at Runtime

Hello,

I was wondering if it is possible to change some of the BLE Stack Configurations based on the number of devices connected...

e.g. Changing Connection Interval and the Event Length as new devices are discovered in the area?

Thanks,

David Hutchinson

Parents
  • Yes, both are possible. You can change the configuration based on devices connected and devices discovered. Do you want to do both?

  • I would like to always have optimal throughput no matter how many devices are connected (max 8)


    if i have 1 device connected:
    MTU 247
    Conn_Interval 50
    Event_length 50

    where as if 8 are connected Conn_Interval 100
    event_length of 12 
    MTU 247 (if possible however i cannot seem to have max MTU with 8 Links

    We do not do discovery of services because the devices they are connecting too are exactally the same device so they already know all of the handles they need.

    NOTE: All devices are nordic chips and they connect to each other as either Peripheral or Central its like a mesh network.

    How can i do this in runtime without disturbing the current connections.

    Regards,

    David Hutchinson

Reply
  • I would like to always have optimal throughput no matter how many devices are connected (max 8)


    if i have 1 device connected:
    MTU 247
    Conn_Interval 50
    Event_length 50

    where as if 8 are connected Conn_Interval 100
    event_length of 12 
    MTU 247 (if possible however i cannot seem to have max MTU with 8 Links

    We do not do discovery of services because the devices they are connecting too are exactally the same device so they already know all of the handles they need.

    NOTE: All devices are nordic chips and they connect to each other as either Peripheral or Central its like a mesh network.

    How can i do this in runtime without disturbing the current connections.

    Regards,

    David Hutchinson

Children
Related