Skip to content

ble througput issues with nimble/ble_conn_mgr (IDFGH-17832) #18736

Description

@boborjan2

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

We have a setup where Linux writes a GATT characteristic on a esp32 ble peripheral.
When using the ble_throughput_server example that uses bluedroid, we can reach ~83kbyte/s throughput that is close to the theoretical max. (MTU 247, conn interval 7.5ms or 15ms)
However when using nimble/ble_conn_mgr (which we intend), we cannot go higher than 60kbyte/s. We set MTU to the same 247, update conn_params (connection interval to 7.5ms (or 15ms), ce_length to 7.5ms etc). What else affects nimble behavior?

esp32_ble_nimble.pcapng.gz
(in this log, chunks of 8192 are sent in series. Sending one chunk takes ~140ms. There are 5ms gaps between packets that are not there with bluedroid)

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions