Add a new sample that demonstrate how to exchange MTU to allow larger packet transmission. The sample is split in two applications. One is the Central, it will initiate the MTU exchange. The other one is the Peripheral and will try to send a large notification. If the MTU exchange fail or the new size is not big enough, the Peripheral will not be able to send the notification. Signed-off-by: Théo Battrel <theo.battrel@nordicsemi.no>
13 lines
312 B
Text
13 lines
312 B
Text
CONFIG_BT=y
|
|
CONFIG_BT_PERIPHERAL=y
|
|
CONFIG_BT_DEVICE_NAME="Zephyr Peripheral MTU Update Sample"
|
|
|
|
CONFIG_LOG=y
|
|
CONFIG_BT_L2CAP_LOG_LEVEL_DBG=y
|
|
|
|
# HCI ACL buffers size
|
|
# BT_L2CAP_RX_MTU = CONFIG_BT_BUF_ACL_RX_SIZE - BT_L2CAP_HDR_SIZE
|
|
CONFIG_BT_BUF_ACL_RX_SIZE=251
|
|
|
|
# L2CAP SDU/PDU TX MTU
|
|
CONFIG_BT_L2CAP_TX_MTU=247
|