#
# Copyright (c) [2020] Huawei Technologies Co.,Ltd.All rights reserved.
#
# LiteOS NOVA is licensed under the Mulan PSL v1.
# You can use this software according to the terms and conditions of the Mulan PSL v1.
# You may obtain a copy of Mulan PSL v1 at:
#
#   http://license.coscl.org.cn/MulanPSL
#
# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR
# FIT FOR A PARTICULAR PURPOSE.
# See the Mulan PSL v1 for more details.
#

menu "OceanConnect MqttV5 Api"
visible if OC_MQTT_V5

config OC_MQTTV5_PROFILE
    bool  "Enable the v5  Api"
    default y
    
if OC_MQTTV5_PROFILE
    config OC_MQTTV5_DEMO
        bool "Enable the v5 Api demo"
        default n
        select OCMQTT_DEMOENABLE
    if OC_MQTTV5_DEMO
       config OC_MQTTV5_DEMO_TLS
            bool  "Enable the demo tls mode"
            default n
            select LINK_DTLS_ENABLE
       config OC_MQTTV5_DEMO_CYCLE
             int  "DEMO REPORT LOOP CYCLE(ms)"
             default 1000                  
    endif
     
endif   
           
endmenu