| # Allow for large Bluetooth data packets. |
| CONFIG_BT_L2CAP_TX_MTU=498 |
| CONFIG_BT_BUF_ACL_RX_SIZE=502 |
| CONFIG_BT_BUF_ACL_TX_SIZE=502 |
| CONFIG_BT_CTLR_DATA_LENGTH_MAX=251 |
| |
| # Enable the Bluetooth mcumgr transport (unauthenticated). |
| CONFIG_MCUMGR_SMP_BT=y |
| CONFIG_MCUMGR_SMP_BT_AUTHEN=n |
| CONFIG_MCUMGR_SMP_BT_CONN_PARAM_CONTROL=y |
| |
| # Enable the Shell mcumgr transport. |
| CONFIG_MCUMGR_SMP_SHELL=y |
| |
| # Enable the mcumgr Packet Reassembly feature over Bluetooth and its configuration dependencies. |
| # MCUmgr buffer size is optimized to fit one SMP packet divided into five Bluetooth Write Commands, |
| # transmitted with the maximum possible MTU value: 498 bytes. |
| CONFIG_MCUMGR_SMP_REASSEMBLY_BT=y |
| CONFIG_MCUMGR_BUF_SIZE=2475 |
| CONFIG_OS_MGMT_MCUMGR_PARAMS=y |
| CONFIG_MCUMGR_SMP_WORKQUEUE_STACK_SIZE=4608 |
| |
| # Enable the LittleFS file system. |
| CONFIG_FILE_SYSTEM=y |
| CONFIG_FILE_SYSTEM_LITTLEFS=y |
| |
| # Enable file system commands |
| CONFIG_MCUMGR_CMD_FS_MGMT=y |
| |
| # Enable the storage erase command. |
| CONFIG_MCUMGR_GRP_ZEPHYR_BASIC=y |
| CONFIG_MCUMGR_GRP_BASIC_CMD_STORAGE_ERASE=y |
| |
| # Disable Bluetooth ping support |
| CONFIG_BT_CTLR_LE_PING=n |
| |
| # Disable shell commands that are not needed |
| CONFIG_CLOCK_CONTROL_NRF_SHELL=n |
| CONFIG_DEVICE_SHELL=n |
| CONFIG_DEVMEM_SHELL=n |
| CONFIG_FLASH_SHELL=n |