nuttx-apps/examples/mqttc/Kconfig
zhanghongyu 956b935511 mqttc: add mbedtls MQTTC support
The mqttc demo under example path can not support mbedtls api.
Because of the MQTT-C source code already contains many types of
link examples, so we added the corresponding makefile to
support mbedtls mqttc connections publisher and posix mqttc
connections publisher and subscriber.

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2023-09-01 23:21:34 +08:00

32 lines
619 B
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config EXAMPLES_MQTTC
tristate "Enable MQTT-C Example"
default n
depends on NETUTILS_MQTTC && !NETUTILS_MQTTC_WITH_MBEDTLS
---help---
Enable a simple MQTT-C publisher example
if EXAMPLES_MQTTC
config EXAMPLES_MQTTC_PROGNAME
string "Program name"
default "mqttc_pub"
config EXAMPLES_MQTTC_STACKSIZE
int "Task's stack size"
default 8192
config EXAMPLES_MQTTC_TXSIZE
int "TX Buffer size"
default 256
config EXAMPLES_MQTTC_RXSIZE
int "RX Buffer size"
default 256
endif