Increasing BLE throughput

Hi all,

I'm trying to increase BLE throughput of ble_app_uart example (from official SDK16/ s132).

I've searched quite a few tutorials on which parameters should be modified to achieve higher throughput. Parameters in my project are listed below:

  • BLE_GAP_DATA_LENGTH: 251
  • BLE_GATT_MAX_MTU_SIZE: 247
  •  MIN_CONN_INTERVAL: 7.5
  • MAX_CONN_INTERVAL: 10
  • PHY: default(not quite sure)
  • connection event length extension: enabled
  • GAP_EVENT_LENGTH: 6 by default

I'm testing with 28 data packs per second(around 230 Byte per pack) and with such parameters data seems transferred without packet loss.

But how do I optimize the parameters further?

I've heard that CONN_INTERVAL could be set larger to increase throughput while connection event length extension was enabled. Also GAP_EVENT_LENGTH should be incread along with connect interval. But in fact as I set MIN/MAX_CONN_INTERVAL to 30 and 50, any attempt on increasing GAP_EVENT_LENGTH  will cause failure on BLE(which means I can't received peripheral data on nRF_Connect APP). What happend here?

Thanks,

Ava

Parents
  • Hi,

    So I've read through the throughput part. The form mentioned GATT client and GATT server while demonstrating transaction speed. Do they stand for BLE central and peripheral. If so, since my devices are BLE peripheral, I need to set ATT MTU size to 23 and gap event length to 7.5(which means conn interval should be 7.5 as well).

    Do I need to adjust such parameters on central side as well?

    Thanks,

    Ava

Reply
  • Hi,

    So I've read through the throughput part. The form mentioned GATT client and GATT server while demonstrating transaction speed. Do they stand for BLE central and peripheral. If so, since my devices are BLE peripheral, I need to set ATT MTU size to 23 and gap event length to 7.5(which means conn interval should be 7.5 as well).

    Do I need to adjust such parameters on central side as well?

    Thanks,

    Ava

Children
No Data
Related