Files
esp-mqtt/test/apps/publish_connect_test/main/Kconfig.projbuild
T

95 lines
2.6 KiB
Plaintext
Raw Normal View History

menu "Example Configuration"
2019-05-09 16:43:06 +02:00
config EXAMPLE_BROKER_SSL_URI
string "Broker SSL URL"
2026-05-26 16:23:47 +02:00
default "mqtts://test.mosquitto.org:8883"
help
URL of an mqtt broker for ssl transport
2019-05-09 16:43:06 +02:00
config EXAMPLE_BROKER_TCP_URI
string "Broker TCP URL"
2026-05-26 16:23:47 +02:00
default "mqtt://test.mosquitto.org:1883"
help
URL of an mqtt broker for tcp transport
2019-05-09 16:43:06 +02:00
config EXAMPLE_BROKER_WS_URI
string "Broker WS URL"
2026-05-26 16:23:47 +02:00
default "ws://test.mosquitto.org:80/mqtt"
help
URL of an mqtt broker for ws transport
2019-05-09 16:43:06 +02:00
config EXAMPLE_BROKER_WSS_URI
string "Broker WSS URL"
2026-05-26 16:23:47 +02:00
default "wss://test.mosquitto.org:443/mqtt"
help
URL of an mqtt broker for wss transport
2019-05-09 16:43:06 +02:00
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
2019-05-09 16:43:06 +02:00
config EXAMPLE_BROKER_CERTIFICATE_OVERRIDDEN
bool
2019-05-09 16:43:06 +02:00
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