1# Config to disable TLS and DHCPv4, allowing insecure MQTT and a static IP address.
2# This allows quick testing of the application without need for a DHCP server or secure MQTT broker set up.
3# Only recommended for quick sampling/testing.
4# Usage: west build -b <board> -- -DOVERLAY_CONFIG=overlay-static-insecure.conf
5
6# Disable MQTT with TLS
7CONFIG_MQTT_LIB_TLS=n
8
9# Disable DHCP
10CONFIG_NET_DHCPV4=n
11
12# Insecure MQTT uses port 1883
13CONFIG_NET_SAMPLE_MQTT_BROKER_PORT="1883"
14
15# Static IP address config
16CONFIG_NET_CONFIG_SETTINGS=y
17CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1"
18CONFIG_NET_SAMPLE_MQTT_BROKER_HOSTNAME="192.0.2.2"
19