Files
esp-mqtt/test/apps/publish_connect_test/main/Kconfig.projbuild
T
Euripedes Rocha Filho 6cf94c4011 fix: Mqtt examples default broker
Moves examples to different public broker and correct Cmake 4.x
incompatibility
2026-05-26 16:25:28 +02:00

95 lines
2.6 KiB
Plaintext

menu "Example Configuration"
config EXAMPLE_BROKER_SSL_URI
string "Broker SSL URL"
default "mqtts://test.mosquitto.org:8883"
help
URL of an mqtt broker for ssl transport
config EXAMPLE_BROKER_TCP_URI
string "Broker TCP URL"
default "mqtt://test.mosquitto.org:1883"
help
URL of an mqtt broker for tcp transport
config EXAMPLE_BROKER_WS_URI
string "Broker WS URL"
default "ws://test.mosquitto.org:80/mqtt"
help
URL of an mqtt broker for ws transport
config EXAMPLE_BROKER_WSS_URI
string "Broker WSS URL"
default "wss://test.mosquitto.org:443/mqtt"
help
URL of an mqtt broker for wss transport
config EXAMPLE_BROKER_CERTIFICATE_OVERRIDE
string "Broker certificate override"
default ""
help
Please leave empty if broker certificate included from a textfile; otherwise fill in a base64 part of PEM
format certificate
config EXAMPLE_BROKER_CERTIFICATE_OVERRIDDEN
bool
default y if EXAMPLE_BROKER_CERTIFICATE_OVERRIDE != ""
config EXAMPLE_RUN_LOCAL_BROKER
bool "Run local mosquitto"
default n
help
If enabled, this tests uses local mosquitto broker
running on the same endpoint as the client
config EXAMPLE_BROKER_HOST
string "Broker host address"
default "0.0.0.0"
depends on EXAMPLE_RUN_LOCAL_BROKER
help
Host name of the endpoint to bind the mosquitto listener.
config EXAMPLE_BROKER_PORT
int "Broker port"
default 1234
depends on EXAMPLE_RUN_LOCAL_BROKER
help
Port of the endpoint to bind the mosquitto listener
config EXAMPLE_CONNECT_CASE_NO_CERT
# Note: All the below config values (EXAMPLE_CONNECT_CASE...) are hidden and
# used to give symbolic names to test cases, which are then referenced from both
# the embedded C code as well as the test counterpart in python
int
default 1
config EXAMPLE_CONNECT_CASE_SERVER_CERT
int
default 2
config EXAMPLE_CONNECT_CASE_MUTUAL_AUTH
int
default 3
config EXAMPLE_CONNECT_CASE_INVALID_SERVER_CERT
int
default 4
config EXAMPLE_CONNECT_CASE_SERVER_DER_CERT
int
default 5
config EXAMPLE_CONNECT_CASE_MUTUAL_AUTH_KEY_PWD
int
default 6
config EXAMPLE_CONNECT_CASE_MUTUAL_AUTH_BAD_CRT
int
default 7
config EXAMPLE_CONNECT_CASE_NO_CERT_ALPN
int
default 8
endmenu