You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
628 B
18 lines
628 B
# 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> -- -DEXTRA_CONF_FILE=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"
|
|
|