How to set Connection Priority in NRF5SDK

Hi,

I am using nrf5-sdk and taken reference of ble_peripheral/ble_app_uart example. 

I am sending 244 bytes data continuously but in nrf connect (Android) application i am bot able to achieve data at high speed, But when i select the option Request connection priority, and set it High I am able to get data at sufficient speed.

How can i set Request connection priority  High From the code, I am not able to find out any parameter by which i can set connection priority.

Can you please guide me through this?

Thank you.

  • Hello,

    There is no way to prioritize a particular connection in our SDK/SoftDevice. The SoftDevice (Bluetooth stack) will prioritize connections over other BLE related activities (scanning/advertising), but I don't think this is what you need to tweak.

    What SDK version are you using?

    What throughput are you seeing?

    What throughput are you expecting to see?

    Have you done anything to tweak your connection parameters? (MTU, Data Length extension, connection interval)

    Best regards,

    Edvin

Related