To demonstrate the usage of the UATT MTU API to determine if a payload with its associated length can be sent over a GATT notification. Signed-off-by: Luis Ubieda <luisf@croxel.com>
15 lines
333 B
Plaintext
15 lines
333 B
Plaintext
CONFIG_BT=y
|
|
CONFIG_BT_PERIPHERAL=y
|
|
CONFIG_BT_DEVICE_NAME="Zephyr Peripheral MTU Update Sample"
|
|
CONFIG_BT_MAX_CONN=1
|
|
|
|
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
|