fix: Mqtt examples default broker

Moves examples to different public broker and correct Cmake 4.x
incompatibility
This commit is contained in:
Euripedes Rocha Filho
2026-05-26 16:23:47 +02:00
parent 044644ed75
commit 6cf94c4011
10 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -17,4 +17,4 @@ target_sources(${mqtt} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/main/custom_outbox.cp
# First we get our dependency # First we get our dependency
idf_component_get_property(pthread pthread COMPONENT_LIB) idf_component_get_property(pthread pthread COMPONENT_LIB)
# And them we link the components # And them we link the components
target_link_libraries(${mqtt} ${pthread}) target_link_libraries(${mqtt} PRIVATE ${pthread})
@@ -2,7 +2,7 @@ menu "Example Configuration"
config BROKER_URL config BROKER_URL
string "Broker URL" string "Broker URL"
default "mqtt://mqtt.eclipseprojects.io" default "mqtt://test.mosquitto.org"
help help
URL of the broker to connect to URL of the broker to connect to
+1 -1
View File
@@ -2,7 +2,7 @@ menu "Example Configuration"
config BROKER_URL config BROKER_URL
string "Broker URL" string "Broker URL"
default "mqtt://mqtt.eclipseprojects.io" default "mqtt://test.mosquitto.org"
help help
URL of the broker to connect to URL of the broker to connect to
+1 -1
View File
@@ -2,7 +2,7 @@ menu "Example Configuration"
config BROKER_URI config BROKER_URI
string "Broker URL" string "Broker URL"
default "mqtts://mqtt.eclipseprojects.io:8883" default "mqtts://test.mosquitto.org:8883"
help help
URL of an mqtt broker which this example connects to. URL of an mqtt broker which this example connects to.
+1 -1
View File
@@ -2,7 +2,7 @@ menu "Example Configuration"
config BROKER_URL config BROKER_URL
string "Broker URL" string "Broker URL"
default "mqtt://mqtt.eclipseprojects.io" default "mqtt://test.mosquitto.org"
help help
URL of the broker to connect to URL of the broker to connect to
+1 -1
View File
@@ -2,7 +2,7 @@ menu "Example Configuration"
config BROKER_URI config BROKER_URI
string "Broker URL" string "Broker URL"
default "ws://mqtt.eclipseprojects.io:80/mqtt" default "ws://test.mosquitto.org:80/mqtt"
help help
URL of an mqtt broker which this example connects to. URL of an mqtt broker which this example connects to.
+1 -1
View File
@@ -2,7 +2,7 @@ menu "Example Configuration"
config BROKER_URI config BROKER_URI
string "Broker URL" string "Broker URL"
default "wss://mqtt.eclipseprojects.io:443/mqtt" default "wss://test.mosquitto.org:443/mqtt"
help help
URL of an mqtt broker which this example connects to. URL of an mqtt broker which this example connects to.
+2 -2
View File
@@ -2,13 +2,13 @@ menu "ESP-MQTT Unit Test Config"
config MQTT_TEST_BROKER_URI config MQTT_TEST_BROKER_URI
string "URI of the test broker" string "URI of the test broker"
default "mqtt://mqtt.eclipseprojects.io" default "mqtt://test.mosquitto.org"
help help
URL of an mqtt broker which this test connects to. URL of an mqtt broker which this test connects to.
config MQTT5_TEST_BROKER_URI config MQTT5_TEST_BROKER_URI
string "URI of the test broker" string "URI of the test broker"
default "mqtt://mqtt.eclipseprojects.io" default "mqtt://test.mosquitto.org"
help help
URL of an mqtt broker which this test connects to. URL of an mqtt broker which this test connects to.
endmenu endmenu
+2 -2
View File
@@ -2,13 +2,13 @@ menu "ESP-MQTT Unit Test Config"
config MQTT_TEST_BROKER_URI config MQTT_TEST_BROKER_URI
string "URI of the test broker" string "URI of the test broker"
default "mqtt://mqtt.eclipseprojects.io" default "mqtt://test.mosquitto.org"
help help
URL of an mqtt broker which this test connects to. URL of an mqtt broker which this test connects to.
config MQTT5_TEST_BROKER_URI config MQTT5_TEST_BROKER_URI
string "URI of the test broker" string "URI of the test broker"
default "mqtt://mqtt.eclipseprojects.io" default "mqtt://test.mosquitto.org"
help help
URL of an mqtt broker which this test connects to. URL of an mqtt broker which this test connects to.
endmenu endmenu
@@ -2,25 +2,25 @@ menu "Example Configuration"
config EXAMPLE_BROKER_SSL_URI config EXAMPLE_BROKER_SSL_URI
string "Broker SSL URL" string "Broker SSL URL"
default "mqtts://mqtt.eclipseprojects.io:8883" default "mqtts://test.mosquitto.org:8883"
help help
URL of an mqtt broker for ssl transport URL of an mqtt broker for ssl transport
config EXAMPLE_BROKER_TCP_URI config EXAMPLE_BROKER_TCP_URI
string "Broker TCP URL" string "Broker TCP URL"
default "mqtt://mqtt.eclipseprojects.io:1883" default "mqtt://test.mosquitto.org:1883"
help help
URL of an mqtt broker for tcp transport URL of an mqtt broker for tcp transport
config EXAMPLE_BROKER_WS_URI config EXAMPLE_BROKER_WS_URI
string "Broker WS URL" string "Broker WS URL"
default "ws://mqtt.eclipseprojects.io:80/mqtt" default "ws://test.mosquitto.org:80/mqtt"
help help
URL of an mqtt broker for ws transport URL of an mqtt broker for ws transport
config EXAMPLE_BROKER_WSS_URI config EXAMPLE_BROKER_WSS_URI
string "Broker WSS URL" string "Broker WSS URL"
default "wss://mqtt.eclipseprojects.io:443/mqtt" default "wss://test.mosquitto.org:443/mqtt"
help help
URL of an mqtt broker for wss transport URL of an mqtt broker for wss transport