2019-01-31 17:09:34 +01:00
|
|
|
menu "Example Configuration"
|
|
|
|
|
|
2019-05-09 16:43:06 +02:00
|
|
|
config EXAMPLE_BROKER_SSL_URI
|
2019-01-31 17:09:34 +01:00
|
|
|
string "Broker SSL URL"
|
2026-05-26 16:23:47 +02:00
|
|
|
default "mqtts://test.mosquitto.org:8883"
|
2019-01-31 17:09:34 +01:00
|
|
|
help
|
|
|
|
|
URL of an mqtt broker for ssl transport
|
|
|
|
|
|
2019-05-09 16:43:06 +02:00
|
|
|
config EXAMPLE_BROKER_TCP_URI
|
2019-01-31 17:09:34 +01:00
|
|
|
string "Broker TCP URL"
|
2026-05-26 16:23:47 +02:00
|
|
|
default "mqtt://test.mosquitto.org:1883"
|
2019-01-31 17:09:34 +01:00
|
|
|
help
|
|
|
|
|
URL of an mqtt broker for tcp transport
|
|
|
|
|
|
2019-05-09 16:43:06 +02:00
|
|
|
config EXAMPLE_BROKER_WS_URI
|
2019-01-31 17:09:34 +01:00
|
|
|
string "Broker WS URL"
|
2026-05-26 16:23:47 +02:00
|
|
|
default "ws://test.mosquitto.org:80/mqtt"
|
2019-01-31 17:09:34 +01:00
|
|
|
help
|
|
|
|
|
URL of an mqtt broker for ws transport
|
|
|
|
|
|
2019-05-09 16:43:06 +02:00
|
|
|
config EXAMPLE_BROKER_WSS_URI
|
2019-01-31 17:09:34 +01:00
|
|
|
string "Broker WSS URL"
|
2026-05-26 16:23:47 +02:00
|
|
|
default "wss://test.mosquitto.org:443/mqtt"
|
2019-01-31 17:09:34 +01:00
|
|
|
help
|
|
|
|
|
URL of an mqtt broker for wss transport
|
|
|
|
|
|
2019-05-09 16:43:06 +02:00
|
|
|
config EXAMPLE_BROKER_CERTIFICATE_OVERRIDE
|
2019-01-31 17:09:34 +01:00
|
|
|
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
|
2019-01-31 17:09:34 +01:00
|
|
|
bool
|
2019-05-09 16:43:06 +02:00
|
|
|
default y if EXAMPLE_BROKER_CERTIFICATE_OVERRIDE != ""
|
2019-01-31 17:09:34 +01:00
|
|
|
|
2024-09-13 18:09:19 +02:00
|
|
|
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
|
|
|
|
|
|
2020-01-21 16:44:02 +01:00
|
|
|
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
|
|
|
|
|
|
2019-01-31 17:09:34 +01:00
|
|
|
endmenu
|