19 lines
627 B
Plaintext
19 lines
627 B
Plaintext
# Config to disable TLS and DHCPv4, allowing insecure MQTT and a static IP address.
|
|
# This allows quick testing of the application without need for a DHCP server or secure MQTT broker set up.
|
|
# Only recommended for quick sampling/testing.
|
|
# Usage: west build -b <board> -- -DOVERLAY_CONFIG=overlay-static-insecure.conf
|
|
|
|
# Disable MQTT with TLS
|
|
CONFIG_MQTT_LIB_TLS=n
|
|
|
|
# Disable DHCP
|
|
CONFIG_NET_DHCPV4=n
|
|
|
|
# Insecure MQTT uses port 1883
|
|
CONFIG_NET_SAMPLE_MQTT_BROKER_PORT="1883"
|
|
|
|
# Static IP address config
|
|
CONFIG_NET_CONFIG_SETTINGS=y
|
|
CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1"
|
|
CONFIG_NET_SAMPLE_MQTT_BROKER_HOSTNAME="192.0.2.2"
|