1CONFIG_NETWORKING=y
2CONFIG_NET_IPV6=n
3CONFIG_NET_IPV4=y
4CONFIG_NET_UDP=y
5CONFIG_NET_TCP=y
6CONFIG_NET_DHCPV4=y
7CONFIG_STDOUT_CONSOLE=y
8
9CONFIG_NET_PKT_RX_COUNT=4
10CONFIG_NET_PKT_TX_COUNT=4
11CONFIG_NET_BUF_RX_COUNT=12
12CONFIG_NET_BUF_TX_COUNT=12
13
14CONFIG_INIT_STACKS=y
15
16CONFIG_JWT=y
17CONFIG_JWT_SIGN_ECDSA=y
18
19CONFIG_NET_MGMT=y
20CONFIG_NET_MGMT_EVENT=y
21
22CONFIG_LOG=y
23
24# This shouldn't need to be set, but isn't selected properly.
25CONFIG_NEWLIB_LIBC=y
26
27CONFIG_DNS_SERVER_IP_ADDRESSES=y
28CONFIG_DNS_SERVER1="8.8.8.8"
29
30CONFIG_DNS_RESOLVER=y
31CONFIG_DNS_RESOLVER_ADDITIONAL_BUF_CTR=2
32CONFIG_SNTP=y
33
34CONFIG_SLIP_STATISTICS=n
35
36CONFIG_HW_STACK_PROTECTION=y
37CONFIG_MAIN_STACK_SIZE=4096
38
39CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=16384
40
41CONFIG_PTHREAD_IPC=n
42CONFIG_NET_SOCKETS=y
43CONFIG_MQTT_LIB=y
44CONFIG_MQTT_LIB_TLS=y
45CONFIG_NET_SOCKETS_SOCKOPT_TLS=y
46
47
48# Enable MBEDTLS
49CONFIG_MBEDTLS=y
50CONFIG_MBEDTLS_BUILTIN=y
51
52CONFIG_NET_SOCKETS_POSIX_NAMES=y
53
54CONFIG_MBEDTLS_ENABLE_HEAP=y
55CONFIG_MBEDTLS_HEAP_SIZE=56240
56CONFIG_MBEDTLS_USER_CONFIG_ENABLE=y
57CONFIG_MBEDTLS_USER_CONFIG_FILE="user-tls.conf"
58
59# Please see README.rst in this directory for instructions
60# on where to get the values for these config entries.
61CONFIG_CLOUD_CLIENT_ID="projects/<PROJECT_ID>/locations/<REGION>/registries/<REGISTRY_ID>/devices/<DEVICE_ID>"
62CONFIG_CLOUD_AUDIENCE="<PROJECT_ID>"
63CONFIG_CLOUD_SUBSCRIBE_CONFIG="/devices/<DEVICE_ID>/config"
64CONFIG_CLOUD_PUBLISH_TOPIC="/devices/<DEVICE_ID>/state"
65