#
# 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 Coap configuration"

config OCCOAP_ENABLE
    bool "Enable the occoap abstract layer"
    default n

if OCCOAP_ENABLE

    choice
    prompt "please select one oc coap implement; if you have your self, please select OCCOAPNULL"
    
    config OCCOAPTINY_ENABLE
        bool "we use the TINYCOAP(This is a software implement) as the occoap protocol"

    config BOUDICA120_ENABLE
        bool "we use the boudica120 as the occoap protocol"
        select AT_ENABLE

    config OCCOAPNULL
        bool "we will create a new oc coap ourself"    

    endchoice
    
    config OCCOAP_DEMO_ENABLE
        bool  "Enable OCCOAP demo"
        default y
    if OCCOAP_DEMO_ENABLE
        config OCCOAP_DEMO_DTLS_ENABLE
            bool "Enable OCCOAP demo dtls mode"
            default n
    endif
                     
endif   
    
endmenu