64 lines
1.5 KiB
Plaintext
64 lines
1.5 KiB
Plaintext
CONFIG_AWS_ENDPOINT="a31gokdeokxhl8-ats.iot.eu-west-1.amazonaws.com"
|
|
CONFIG_AWS_MQTT_PORT=8883
|
|
CONFIG_AWS_THING_NAME="zephyr_sample"
|
|
CONFIG_AWS_PUBLISH_TOPIC="zephyr_sample/data"
|
|
CONFIG_AWS_SUBSCRIBE_TOPIC="zephyr_sample/downlink"
|
|
CONFIG_AWS_TEST_SUITE_DQP=n
|
|
|
|
CONFIG_MAIN_STACK_SIZE=4096
|
|
CONFIG_ENTROPY_GENERATOR=y
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
CONFIG_INIT_STACKS=y
|
|
CONFIG_HW_STACK_PROTECTION=y
|
|
CONFIG_REQUIRES_FULL_LIBC=y
|
|
CONFIG_SNTP=y
|
|
CONFIG_JSON_LIBRARY=y
|
|
CONFIG_POSIX_API=y
|
|
|
|
# DNS
|
|
CONFIG_DNS_RESOLVER=y
|
|
CONFIG_DNS_RESOLVER_ADDITIONAL_BUF_CTR=2
|
|
CONFIG_DNS_RESOLVER_MAX_SERVERS=1
|
|
CONFIG_DNS_SERVER_IP_ADDRESSES=y
|
|
CONFIG_DNS_SERVER1="8.8.8.8"
|
|
CONFIG_NET_SOCKETS_DNS_TIMEOUT=5000
|
|
CONFIG_DNS_RESOLVER_LOG_LEVEL_DBG=n
|
|
|
|
# Generic networking options
|
|
CONFIG_NETWORKING=y
|
|
CONFIG_NET_UDP=y
|
|
CONFIG_NET_TCP=y
|
|
CONFIG_NET_IPV6=y
|
|
CONFIG_NET_IPV4=y
|
|
CONFIG_NET_SOCKETS=y
|
|
CONFIG_NET_SOCKETS_SOCKOPT_TLS=y
|
|
|
|
# Logging
|
|
CONFIG_LOG=y
|
|
|
|
# Network buffers
|
|
CONFIG_NET_PKT_RX_COUNT=32
|
|
CONFIG_NET_PKT_TX_COUNT=16
|
|
CONFIG_NET_BUF_RX_COUNT=64
|
|
CONFIG_NET_BUF_TX_COUNT=32
|
|
|
|
# MQTT
|
|
CONFIG_MQTT_LIB=y
|
|
CONFIG_MQTT_LIB_TLS=y
|
|
CONFIG_MQTT_KEEPALIVE=60
|
|
CONFIG_MQTT_LIB_TLS_USE_ALPN=y
|
|
|
|
# TLS
|
|
CONFIG_MBEDTLS=y
|
|
CONFIG_MBEDTLS_BUILTIN=y
|
|
CONFIG_MBEDTLS_ENABLE_HEAP=y
|
|
CONFIG_MBEDTLS_HEAP_SIZE=65536
|
|
CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=16384
|
|
CONFIG_MBEDTLS_PEM_CERTIFICATE_FORMAT=y
|
|
CONFIG_MBEDTLS_SERVER_NAME_INDICATION=y
|
|
CONFIG_MBEDTLS_AES_ROM_TABLES=y
|
|
CONFIG_MBEDTLS_TLS_VERSION_1_2=y
|
|
CONFIG_MBEDTLS_MEMORY_DEBUG=y
|
|
CONFIG_MBEDTLS_HAVE_TIME_DATE=y
|
|
CONFIG_MBEDTLS_SSL_ALPN=y
|