zephyr/subsys/net/lib/mqtt/Kconfig
Robert Lubos f50aa6d3fb net: mqtt: Mark existing implementation as legacy
Rename existing headers and sybols to mqtt_legacy, to allow new
implementation to keep old config and header names.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2018-11-19 09:31:01 -05:00

48 lines
1.2 KiB
Plaintext

# Kconfig - MQTT Library for Zephyr
#
# Copyright (c) 2016 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
config MQTT_LEGACY_LIB
bool "Legacy MQTT Library Support"
select NET_APP_CLIENT
help
Enable the Zephyr MQTT Library
config MQTT_LEGACY_MSG_MAX_SIZE
int "Max size of a MQTT message"
depends on MQTT_LEGACY_LIB
default 128
range 128 1024
help
Set the maximum size of the MQTT message. So, no messages
longer than CONFIG_MQTT_MSG_SIZE will be processed.
config MQTT_LEGACY_ADDITIONAL_BUFFER_CTR
int "Additional buffers available for the MQTT application"
depends on MQTT_LEGACY_LIB
default 0
help
Set some additional buffers. When two or more concurrent contexts are
used in the same application, additional buffers may help to have a 1:1
relation between application contexts and internal buffers.
config MQTT_LEGACY_SUBSCRIBE_MAX_TOPICS
int "Max number of topics to subscribe to"
depends on MQTT_LEGACY_LIB
default 1
range 1 8
help
Set the maximum number of topics handled by the SUBSCRIBE/SUBACK
messages during reception.
config MQTT_LEGACY_LIB_TLS
bool "Enable TLS support for the MQTT application"
depends on MQTT_LEGACY_LIB
select NET_APP_TLS
help
Enables MQTT library with TLS support