zephyr/lib/iot/mqtt/Kconfig

54 lines
1.5 KiB
Plaintext

# Kconfig - MQTT Library for Zephyr
#
# Copyright (c) 2016 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
config MQTT_LIB
bool "MQTT Library Support"
default n
help
Enable the Zephyr MQTT Library
config MQTT_MSG_MAX_SIZE
int
prompt "Max size of a MQTT message"
depends on MQTT_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_ADDITIONAL_BUFFER_CTR
int
prompt "Additional buffers available for the MQTT application"
depends on MQTT_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_SUBSCRIBE_MAX_TOPICS
int
prompt "Max number of topics to subscribe to"
depends on MQTT_LIB
default 1
range 1 8
help
Set the maximum number of topics handled by the SUBSCRIBE/SUBACK
messages during reception.