# # Copyright (c) 2019 Nordic Semiconductor ASA # # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause # CONFIG_NCS_SAMPLES_DEFAULTS=y # General configuration CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048 CONFIG_FLASH=y CONFIG_FLASH_MAP=y CONFIG_FCB=y CONFIG_SETTINGS=y CONFIG_HWINFO=y CONFIG_LOG=y CONFIG_LOG_PRINTK=y CONFIG_DK_LIBRARY=y CONFIG_BT_MESH_DK_PROV=y # Bluetooth configuration CONFIG_BT=y CONFIG_BT_COMPANY_ID=0x0059 CONFIG_BT_DEVICE_NAME="Mesh Light" #CONFIG_BT_L2CAP_RX_MTU=69 --->as made below #CONFIG_BT_L2CAP_TX_MTU=69 --->as made below CONFIG_BT_L2CAP_TX_BUF_COUNT=8 CONFIG_BT_LL_SW_SPLIT=y CONFIG_BT_OBSERVER=y CONFIG_BT_PERIPHERAL=y CONFIG_BT_SETTINGS=y CONFIG_BT_TINYCRYPT_ECC=y # Disable unused Bluetooth features CONFIG_BT_CTLR_DUP_FILTER_LEN=0 CONFIG_BT_CTLR_LE_ENC=n CONFIG_BT_DATA_LEN_UPDATE=n CONFIG_BT_PHY_UPDATE=n CONFIG_BT_CTLR_CHAN_SEL_2=n CONFIG_BT_CTLR_MIN_USED_CHAN=n CONFIG_BT_CTLR_PRIVACY=n # Bluetooth mesh configuration CONFIG_BT_MESH=y CONFIG_BT_MESH_RELAY=y CONFIG_BT_MESH_FRIEND=y CONFIG_BT_MESH_ADV_BUF_COUNT=13 CONFIG_BT_MESH_TX_SEG_MAX=10 CONFIG_BT_MESH_PB_GATT=y CONFIG_BT_MESH_GATT_PROXY=y # Bluetooth mesh models CONFIG_BT_MESH_ONOFF_SRV=y #.........FOTA CONFIGs........................ # Enable mcumgr. CONFIG_MCUMGR=y # Some command handlers require a large stack. #CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048 ---> already declared above # Ensure an MCUboot-compatible binary is generated. CONFIG_BOOTLOADER_MCUBOOT=y # Enable the Bluetooth mcumgr transports. # CONFIG_MCUMGR_SMP_BT=y # commented the above one as it is enabled through overlay file # Enable flash operations. CONFIG_FLASH=y #dbg_m: Required by the `taskstat` command in os_mgmt. CONFIG_THREAD_MONITOR=y # Enable statistics and statistic names. #CONFIG_STATS=y #CONFIG_STATS_NAMES=y #an entry in the stats can be named if STATS_NAMES is enabled. # Enable most core commands. CONFIG_MCUMGR_CMD_IMG_MGMT=y CONFIG_MCUMGR_CMD_OS_MGMT=y #CONFIG_MCUMGR_CMD_STAT_MGMT=y # Enable logging CONFIG_LOG=y # Print a banner on the UART on startup. CONFIG_BOOT_BANNER=y # Enable console and printk() CONFIG_PRINTK=y CONFIG_STDOUT_CONSOLE=y # ............BT TINY CONFIG ............ # Allow for large Bluetooth data packets. CONFIG_BT_L2CAP_TX_MTU=252 CONFIG_BT_L2CAP_RX_MTU=252 CONFIG_BT_RX_BUF_LEN=260 # Enable the Bluetooth (unauthenticated) and UART mcumgr transports. CONFIG_MCUMGR_SMP_BT=y CONFIG_MCUMGR_SMP_BT_AUTHEN=n #CONFIG_MCUMGR_SMP_UART=y # Disable Bluetooth unused features CONFIG_BT_GATT_READ_MULTIPLE=n # Disable statistics and statistic names. #CONFIG_STATS_NAMES=n