-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
samples: bluetooth: GATT large MTU/throughput example #25648
Labels
Comments
JordanYates
changed the title
doc: Bluetooth GATT large MTU example
doc: Bluetooth GATT large MTU sample
May 27, 2020
JordanYates
changed the title
doc: Bluetooth GATT large MTU sample
samples: Bluetooth GATT large MTU example
May 27, 2020
JordanYates
changed the title
samples: Bluetooth GATT large MTU example
samples: bluetooth: GATT large MTU example
May 27, 2020
carlescufi
changed the title
samples: bluetooth: GATT large MTU example
samples: bluetooth: GATT large MTU/throughput example
Feb 4, 2021
In the meantime, here is documentation I made for others struggling with configuring this |
Hi @JordanYates, do you think that the newly added sample is enough? We would like to get your feedback to know if we should improve it or if we could close this issue. |
Looks to be enough, and if there are problems with it that should be its own issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Is your enhancement proposal related to a problem? Please describe.
There are currently no in-tree examples of the Kconfig options and code flow required to setup a GATT connection to use a larger MTU than the default.
Given the multiple Kconfig namespaces that these options cross, a single reference example would be appreciated.
An example of the confusions and open questions from #25561.
CONFIG_BT_ACL_RX_COUNT
needs to be increased from its default value of 1.CONFIG_BT_CTLR_RX_BUFFERS
, which sets the default value ofCONFIG_BT_ACL_RX_COUNT
should however not be incremented. DoCONFIG_BT_L2CAP_TX_MTU
andCONFIG_BT_L2CAP_RX_MTU
need to increased? One of these depends onCONFIG_BT_HCI_ACL_FLOW_CONTROL
, which should not be enabled.Describe the solution you'd like
A variant of the
samples/bluetooth/central
application that additionally increases the MTU of the connection to the largest values supported by the GATT client.The proj.conf would contain the minimal configs necessary to achieve this.
Describe alternatives you've considered
Improved documentation under:
https://docs.zephyrproject.org/latest/guides/bluetooth/bluetooth-dev.html
or
https://docs.zephyrproject.org/latest/reference/bluetooth/gatt.html
Would also be an alternative.
Additional context
The Nordic NCS repository has a GATT throughput example that does increase the MTU.
This example uses Nordics custom BT controller, which means the proj.conf is not valid for the combined controller/host builds that are the default for Zephyr.
https://github.com/nrfconnect/sdk-nrf/tree/master/samples/bluetooth/throughput
The text was updated successfully, but these errors were encountered: