1# Enable network stack
2CONFIG_NETWORKING=y
3CONFIG_NET_LOG=y
4
5# Enable IPv4
6CONFIG_NET_IPV4=y
7
8# Enable IPv6
9CONFIG_NET_IPV6=y
10
11# Enable TCP
12CONFIG_NET_TCP=y
13
14# Enable DHCP
15CONFIG_NET_DHCPV4=y
16
17# Enable Sockets (used by MQTT lib)
18CONFIG_NET_SOCKETS=y
19CONFIG_NET_SOCKETS_SOCKOPT_TLS=y
20
21# Enable MQTT
22CONFIG_MQTT_LIB=y
23CONFIG_MQTT_LIB_TLS=y
24
25# Enable Mbed TLS
26CONFIG_MBEDTLS=y
27CONFIG_MBEDTLS_BUILTIN=y
28CONFIG_MBEDTLS_ENABLE_HEAP=y
29CONFIG_MBEDTLS_HEAP_SIZE=60000
30CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=16384
31CONFIG_MBEDTLS_PEM_CERTIFICATE_FORMAT=y
32CONFIG_MBEDTLS_SERVER_NAME_INDICATION=y
33
34# Enable JSON
35CONFIG_JSON_LIBRARY=y
36
37# Enable net conn manager
38CONFIG_NET_CONNECTION_MANAGER=y
39
40# Enable device hostname
41CONFIG_NET_HOSTNAME_ENABLE=y
42
43# Enable Posix API functionality
44CONFIG_POSIX_API=y
45
46# Enable sensor API
47CONFIG_SENSOR=y
48
49# Enable LED API
50CONFIG_LED=y
51
52# Main stack size
53CONFIG_MAIN_STACK_SIZE=2048
54
55# System work queue stack size
56CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
57
58# Increase Rx net buffers
59CONFIG_NET_BUF_RX_COUNT=100
60