# Need to disable iper3 worker thread support to have more SRAM
CONFIG_MOSH_WORKER_THREADS=n

# Extended memory heap size needed for encoding REST messages (including possible long ssid) to JSON
CONFIG_HEAP_MEM_POOL_SIZE=13312

# ESP 8266 Wi-Fi
CONFIG_WIFI=y
CONFIG_WIFI_OFFLOAD=y
CONFIG_NET_MGMT_EVENT_STACK_SIZE=1024

# Needed for ESP8266 to compile
CONFIG_NET_IPV4=y
CONFIG_NET_IPV6=y
CONFIG_NET_NATIVE=y

CONFIG_NET_SHELL=y
# Wi-Fi subsystem uses Zephyr's getopt.
CONFIG_GETOPT_LIB=n
CONFIG_NET_L2_WIFI_SHELL=y
# Should be set when CONFIG_NET_L2_WIFI_SHELL is enabled.
# Printing 'wifi scan' command results puts pressure on queues in new locking design in net_mgmt.
# So, use a typical number of networks in a crowded environment as the queue depth.
CONFIG_NET_MGMT_EVENT_QUEUE_SIZE=50

CONFIG_WIFI_ESP_AT=y
CONFIG_WIFI_ESP_AT_SCAN_MAC_ADDRESS=y
CONFIG_WIFI_ESP_AT_SCAN_PASSIVE=n
CONFIG_WIFI_ESP_AT_VERSION_1_7=y
CONFIG_WIFI_ESP_AT_SCAN_RESULT_RSSI_ORDERED=y

CONFIG_LOCATION_METHOD_WIFI=y

CONFIG_LOCATION_SERVICE_NRF_CLOUD=y

#CONFIG_LOCATION_SERVICE_HERE=y
#CONFIG_LOCATION_SERVICE_HERE_API_KEY="Your api key"
