Skip to content

wireless/bluetooth/nimble: make transport ACL buffer count configurable#3638

Open
raiden00pl wants to merge 2 commits into
apache:masterfrom
raiden00pl:nimble_acl
Open

wireless/bluetooth/nimble: make transport ACL buffer count configurable#3638
raiden00pl wants to merge 2 commits into
apache:masterfrom
raiden00pl:nimble_acl

Conversation

@raiden00pl

Copy link
Copy Markdown
Member

Summary

  • wireless/bluetooth/nimble: make transport ACL buffer count configurable
    The controller<->host ACL pool was hardcoded to 10 buffers (~6 KiB with the 251-byte ACL size). Expose NIMBLE_TRANSPORT_ACL_FROM_LL_COUNT and NIMBLE_TRANSPORT_ACL_FROM_HS_COUNT (default 10) so RAM- constrained single-connection peripherals can lower it.

Impact

fine tune for small systems

Testing

full demo for Thingy:52 (nrf52838 with 64KB of RAM) with single connection:

image

The controller<->host ACL pool was hardcoded to 10 buffers (~6 KiB with
the 251-byte ACL size). Expose NIMBLE_TRANSPORT_ACL_FROM_LL_COUNT and
NIMBLE_TRANSPORT_ACL_FROM_HS_COUNT (default 10) so RAM-constrained
single-connection peripherals can lower it.

Signed-off-by: raiden00pl <raiden00@railab.me>
cederom
cederom previously approved these changes Jul 14, 2026

@cederom cederom left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @raiden00pl :-)

Lets make sure CI pass :-)

@cederom

cederom commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

1: .codespellrc /home/runner/work/nuttx-apps/nuttx-apps/apps/wireless/bluetooth/nimble/include/syscfg/syscfg.h:278: ANS ==> AND :-)

ignore ANS codespell error. ANS -> Alert Notification Service in bLE

Signed-off-by: raiden00pl <raiden00@railab.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants