BLE_MTU_CONFIG_ERROR

Hi,

I am using nrf52832dk board for test nus service with ncs2.9.0, but I am facing some problem with MTU setting. 

I found a configuration item "

CONFIG_BT_L2CAP_TX_MTU

" that seems to be used to configure the MTU, but when I want to set it to 33 bytes, the compilation fails.

The error reason is as follows:

***************************************************************************************************

warning: BT_L2CAP_TX_MTU (defined at
E:/Nordic/ncs/v2.9.0/zephyr/soc/ambiq\apollo3x\Kconfig.defconfig.apollo3_blue:32,
E:/Nordic/ncs/v2.9.0/zephyr/soc/ambiq\apollo3x\Kconfig.defconfig.apollo3p_blue:32,
E:/Nordic/ncs/v2.9.0/nrf\samples\common\mcumgr_bt_ota_dfu/Kconfig:122,
E:/Nordic/ncs/v2.9.0/nrf\subsys\bluetooth\services\fast_pair/Kconfig.fast_pair:109,
E:/Nordic/ncs/v2.9.0/zephyr/subsys/bluetooth/host\Kconfig.l2cap:28,
subsys/bluetooth\host\Kconfig.l2cap:28) was assigned the value '33' but got the value '65'. See
docs.zephyrproject.org/.../kconfig.html and/or look up
BT_L2CAP_TX_MTU in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.


warning: user value 33 on the int symbol BT_L2CAP_TX_MTU (defined at E:/Nordic/ncs/v2.9.0/zephyr/soc/ambiq\apollo3x\Kconfig.defconfig.apollo3_blue:32, E:/Nordic/ncs/v2.9.0/zephyr/soc/ambiq\apollo3x\Kconfig.defconfig.apollo3p_blue:32, E:/Nordic/ncs/v2.9.0/nrf\samples\common\mcumgr_bt_ota_dfu/Kconfig:122, E:/Nordic/ncs/v2.9.0/nrf\subsys\bluetooth\services\fast_pair/Kconfig.fast_pair:109, E:/Nordic/ncs/v2.9.0/zephyr/subsys/bluetooth/host\Kconfig.l2cap:28, subsys/bluetooth\host\Kconfig.l2cap:28) ignored due to being outside the active range ([65, 2000]) -- falling back on defaults

error: Aborting due to Kconfig warnings

***************************************************************************************************

If I can get any tips, I will be very grateful, thank you!

Ben

Parents Reply Children
No Data
Related