# Fix Float support 
CONFIG_NEWLIB_LIBC=y
CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y

# Fix Mesh Warnings: If BT_MESH=n, all sub-features must be n 
CONFIG_BT_MESH=n
CONFIG_BT_MESH_FRIEND=n
CONFIG_BT_MESH_PROXY_USE_DEVICE_NAME=n

CONFIG_UART_INTERRUPT_DRIVEN=y
# Ensure these are active for your custom service
CONFIG_CONSOLE=y
CONFIG_CONSOLE_SUBSYS=y
CONFIG_CONSOLE_HANDLER=y
CONFIG_CONSOLE_GETCHAR=y
CONFIG_NRF_APPROTECT_USE_UICR=n

# Configure logger
CONFIG_LOG=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_LOG_BACKEND_RTT=y
# CONFIG_LOG_BACKEND_UART=y
CONFIG_LOG_DEFAULT_LEVEL=3

# Configure buttons and LEDs.
CONFIG_GPIO=y
CONFIG_DK_LIBRARY=y

# Increase max MTU size to allow longer strings
CONFIG_BT_L2CAP_TX_MTU=64
CONFIG_BT_BUF_ACL_RX_SIZE=64
CONFIG_BT_BUF_ACL_TX_SIZE=64
CONFIG_BT_ATT_PREPARE_COUNT=2

# Increase GATT characteristic length
CONFIG_BT_CTLR_DATA_LENGTH_MAX=64


CONFIG_BT_LL_SOFTDEVICE=y

# CONFIG_BT_DEVICE_NAME="Nsdgdsordic Event Trigger Sample"

CONFIG_BT_DEVICE_NAME="ARAM_BLE"
CONFIG_BT=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_CENTRAL=y
CONFIG_BT_MAX_CONN=2
CONFIG_BT_CTLR_SDC_PERIPHERAL_COUNT=1
CONFIG_BT_BONDABLE=n
CONFIG_BT_GATT_CLIENT=y

# CONFIG_NCS_SAMPLE_EMPTY_APP_CORE_CHILD_IMAGE=y

CONFIG_BT_SCAN=y
CONFIG_BT_SCAN_FILTER_ENABLE=y
CONFIG_BT_SCAN_UUID_CNT=1
CONFIG_BT_CTLR_SDC_EVENT_TRIGGER=y

CONFIG_HEAP_MEM_POOL_SIZE=2048
CONFIG_BT_GAP_AUTO_UPDATE_CONN_PARAMS=n

# why do i need this for mesh?
CONFIG_HWINFO=y

# Bluetooth Mesh configuration
# Disable Mesh if you only want standard BLE for now

CONFIG_BT_MESH_RELAY=n
CONFIG_BT_MESH_PB_GATT=n
CONFIG_BT_MESH_GATT_PROXY=n




CONFIG_BT_MESH_FRIEND=y
CONFIG_BT_MESH_TX_SEG_MAX=32
# Enables the GATT Proxy feature, allowing phones to connect.
CONFIG_BT_MESH_PROXY_USE_DEVICE_NAME=y
CONFIG_BT_MESH_DK_PROV=y

# Bluetooth Mesh models
CONFIG_BT_MESH_ONOFF_CLI=y


CONFIG_BT_RX_STACK_SIZE=4096
CONFIG_BT_MESH_ADV_STACK_SIZE=1024
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048

# CONFIG_NRF_SW_LPUART=y

# CONFIG_UART_1_ASYNC=y
# CONFIG_UART_1_INTERRUPT_DRIVEN=n
# CONFIG_UART_1_NRF_HW_ASYNC=y
# CONFIG_UART_1_NRF_HW_ASYNC_TIMER=2
# CONFIG_UART_1_NRF_ASYNC_LOW_POWER=y
# CONFIG_NRFX_TIMER2=y


CONFIG_SPI=y
CONFIG_I2C=y
CONFIG_NRFX_SPIM4=y
CONFIG_CRC=y



CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y
CONFIG_CBPRINTF_FP_SUPPORT=y

CONFIG_SMF=y