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

config OCLWM2M_ENABLE
    bool "Enable the oclwm2m abstract layer"
    default n

if OCLWM2M_ENABLE

    choice
    prompt "please select one oc lwm2m implement; if you have your self, please select OCLWM2MNULL"
    
    config OCLWM2MTINY_ENABLE
        bool "we use the TINYLWM2M(This is a software implement) as the oclwm2m protocol"
        select LWM2M_AL_ENABLE
        
    config BOUDICA150_ENABLE
        bool "we use the boudica150 as the oclwm2m protocol"
        select AT_ENABLE        
                     
    config OCLWM2MNULL
        bool "we will create a new oc lwm2m ourself"    
           
    endchoice
    
    
    config OCLWM2M_DEMO_ENABLE
        bool  "Enable OC LWM2M DEMO"
        default y
        
    if  OCLWM2M_DEMO_ENABLE
    
        config OCLW2M_DEMO_BS_ENABLE
            bool "Enable the demo bs feature"
            default n
         
         config OCLWM2M_DEMO_DTLS_ENABLE
            bool "Enable the demo dtls feature"
            default n
            
    endif
    
               
endif   
    
endmenu