bt_att: No ATT channel for MTU 27

I am use sample "Bluetooth: Peripheral HR"  as the base app
and added these settings to `prj.conf` on both central and peripheral sides
CONFIG_BT_BUF_ACL_RX_SIZE=251
CONFIG_BT_ATT_PREPARE_COUNT=2
CONFIG_BT_L2CAP_TX_BUF_COUNT=10
CONFIG_BT_L2CAP_TX_MTU=247
CONFIG_BT_BUF_ACL_TX_SIZE=251
CONFIG_BT_L2CAP_DYNAMIC_CHANNEL=y
but I still got the error


[00:03:00.037,811] <wrn> bt_att: No ATT channel for MTU 27
[00:03:00.037,841] <wrn> bt_gatt: No buffer available to send notification

Related