fix(esp-modem): Example to use variable mqtt topic/data

This example is used in the CI with public broker and
users playing with the example can influence stability
of tests if we share the same topic id
This commit is contained in:
David Cermak
2023-01-31 11:02:07 +01:00
parent f71192b876
commit 8958d5e37c
4 changed files with 26 additions and 8 deletions

View File

@ -184,4 +184,22 @@ menu "Example Configuration"
endmenu
config EXAMPLE_MQTT_BROKER_URI
string "MQTT Broker URL"
default "mqtt://mqtt.eclipseprojects.io"
help
URL of the mqtt broker which this example connects to.
config EXAMPLE_MQTT_TEST_TOPIC
string "MQTT topic to publish/subscribe"
default "/topic/esp-pppos"
help
MQTT topic, which we subscribe on and publish to.
config EXAMPLE_MQTT_TEST_DATA
string "MQTT data to publish/receive"
default "esp32-pppos"
help
MQTT data message, which we publish and expect to receive.
endmenu