mirror of
https://github.com/espressif/esp-mqtt.git
synced 2026-06-05 21:04:46 +00:00
fix: Mqtt examples default broker
Moves examples to different public broker and correct Cmake 4.x incompatibility
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|
||||||
|
|||||||
@@ -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,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,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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user