1CONFIG_BT=y
2CONFIG_BT_PERIPHERAL=y
3
4# Allow for large Bluetooth data packets.
5CONFIG_BT_L2CAP_TX_MTU=498
6CONFIG_BT_BUF_ACL_RX_SIZE=502
7CONFIG_BT_BUF_ACL_TX_SIZE=502
8CONFIG_BT_CTLR_DATA_LENGTH_MAX=251
9
10# Enable the Bluetooth mcumgr transport (unauthenticated).
11CONFIG_MCUMGR_TRANSPORT_BT=y
12CONFIG_MCUMGR_TRANSPORT_BT_AUTHEN=n
13CONFIG_MCUMGR_TRANSPORT_BT_CONN_PARAM_CONTROL=y
14
15# Enable the Shell mcumgr transport.
16CONFIG_BASE64=y
17CONFIG_SHELL=y
18CONFIG_SHELL_BACKEND_SERIAL=y
19CONFIG_MCUMGR_TRANSPORT_SHELL=y
20
21# Enable the mcumgr Packet Reassembly feature over Bluetooth and its configuration dependencies.
22# MCUmgr buffer size is optimized to fit one SMP packet divided into five Bluetooth Write Commands,
23# transmitted with the maximum possible MTU value: 498 bytes.
24CONFIG_MCUMGR_TRANSPORT_BT_REASSEMBLY=y
25CONFIG_MCUMGR_TRANSPORT_NETBUF_SIZE=2475
26CONFIG_MCUMGR_GRP_OS_MCUMGR_PARAMS=y
27CONFIG_MCUMGR_TRANSPORT_WORKQUEUE_STACK_SIZE=4608
28
29# Enable the LittleFS file system.
30CONFIG_FILE_SYSTEM=y
31CONFIG_FILE_SYSTEM_LITTLEFS=y
32
33# Enable file system commands
34CONFIG_MCUMGR_GRP_FS=y
35
36# Enable the storage erase command.
37CONFIG_MCUMGR_GRP_ZBASIC=y
38CONFIG_MCUMGR_GRP_ZBASIC_STORAGE_ERASE=y
39
40# Disable Bluetooth ping support
41CONFIG_BT_CTLR_LE_PING=n
42
43# Disable shell commands that are not needed
44CONFIG_CLOCK_CONTROL_NRF_SHELL=n
45CONFIG_DEVICE_SHELL=n
46CONFIG_DEVMEM_SHELL=n
47CONFIG_FLASH_SHELL=n
48