commit | 791def84b16b019a24ed3c3d566a7f6bb706c7a8 | [log] [tgz] |
---|---|---|
author | Dennis Wildmark <dennis.wildmark@assaabloy.com> | Thu Apr 25 09:20:00 2019 +0200 |
committer | Johan Hedberg <johan.hedberg@gmail.com> | Mon Apr 29 13:40:18 2019 +0300 |
tree | a6a4991cb8bf6b4c8877d4c163a7e50dff147d22 | |
parent | 0654c33229e93d3dcdcf071227ec656789100866 [diff] |
usb: bluetooth: l2cap buffer size now configurable Added check to see if CONFIG_BT_CTLR_TX_BUFFER_SIZE is defined, and use that as the BT_L2CAP_MTU if that is the case. Otherwise, use the previously hard coded MTU size (64). This enables users to configure the MTU, enabling longer transfers. The fix was inspired by how this is solved in samples/bluetooth/hci_uart/src/main.c Tested on nrf52840_pca10056. Signed-off-by: Dennis Wildmark <dennis.wildmark@assaabloy.com>