123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266 |
- # Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
- # All rights reserved.
- #
- # This software is supplied "AS IS" without any warranties.
- # RDA assumes no responsibility or liability for the use of the software,
- # conveys no license or title under any patent, copyright, or mask work
- # right to the product. RDA reserves the right to make changes in the
- # software without notification. RDA also make no representation or
- # warranty that such application will be suitable for the specified use
- # without further testing or modification.
- menu "net"
- config NET_LWIP_DEBUG
- bool "enable lwip debug"
- default y
- help
- when enabled, LWIP_DEBUG will be defined to 1.
- config NET_TCPIP_SUPPORT
- bool "tcpip enabled"
- default y
- help
- When enabled, CONFIG_NET_TCPIP_SUPPORT will be defined
- config NET_LOG_BUF_COUNT
- int "Log buffer count"
- default 2
- config NET_LOG_BUF_SIZE
- int "Log buffer size"
- default 8192
- config NET_LWIP_IPV4_ON
- bool "Ipv4 enabled"
- default y
- help
- When enabled, CONFIG_NET_LWIP_IPV4_ON will be defined
- config NET_LWIP_IPV6_ON
- bool "Ipv6 enabled"
- default y
- help
- When enabled, CONFIG_NET_LWIP_IPV6_ON will be defined
- config NET_LWIP_RFACK_ON
- bool "rfack enabled"
- default n
- help
- When enabled, CONFIG_NET_LWIP_RFACK_ON will be defined
- config NET_LWIP_TCP_ON
- bool "TCP enabled"
- default y
- help
- When enabled, CONFIG_NET_LWIP_TCP_ON will be defined
- config LWIP_TCP_SACK_SUPPORT
- bool "lwip_sack enabled"
- default y if SOC_8850
- default y if SOC_8910
- default n
- help
- When enabled, CONFIG_LWIP_TCP_SACK_SUPPORT will be defined
- config NET_LWIP_PPP_ON
- bool "ppp enabled"
- default y if SOC_8811
- default y
- help
- When enabled, CONFIG_NET_LWIP_PPP_ON will be defined
- config NET_TRACE_IP_PACKET
- bool "trace IP packet identify"
- default y if SOC_8910
- default y if SOC_8850
- default n
- help
- When enabled, identify of IP packet will be show in trace.
- It is just for debug, and usually not needed in produciton.
- config NET_LWM2M_SUPPORT
- bool "NET_LWM2M_SUPPORT enabled"
- default y
- help
- When enabled, NET_LWM2M_SUPPORT will be defined
- config NET_PAHO_MQTT_SUPPORT
- bool "NET_PAHO_MQTT_SUPPORT enabled"
- default n
- depends on NET_LWIP_TCP_ON
- help
- When enabled, NET_PAHO_MQTT_SUPPORT will be defined
- config NET_ALI_SDK_SUPPORT
- default y if SOC_8910
- bool "NET_ALI_SDK_SUPPORT enabled"
- default n
- help
- When enabled, NET_ALI_SDK_SUPPORT will be defined
- config NET_ALI_SDK_DYNAMIC_LOAD
- bool "NET_ALI_SDK_DYNAMIC_LOAD enabled"
- default n
- help
- When enabled, NET_ALI_SDK_DYNAMIC_LOAD will be defined
- config NET_CIS_SDK_SUPPORT
- bool "NET_CIS_SDK_SUPPORT enabled"
- default n
- help
- When enabled, NET_CIS_SDK_SUPPORT will be defined
- config NET_LIBCOAP_SUPPORT
- bool "NET_LIBCOAP_SUPPORT enabled"
- default n
- help
- When enabled, NET_LIBCOAP_SUPPORT will be defined
-
- config NET_NAT_SUPPORT
- bool "NET_NAT_SUPPORT enabled"
- default y if SOC_8910
- default y if SOC_8850
- default n
- help
- When enabled, NET_NAT_SUPPORT will be defined
- config MBEDTLS_LIB_SUPPORT
- bool "MBEDTLS_LIB_SUPPORT enabled"
- default y
- help
- When enabled, MBEDTLS_LIB_SUPPORT will be defined
- config MBEDTLS_TCPIP_SUPPORT
- bool "MBEDTLS_TCPIP_SUPPORT enabled"
- depends on MBEDTLS_SSL_TLS
- default y if SOC_8910
- default y if SOC_8850
- default n
- depends on NET_LWIP_TCP_ON
- help
- When enabled, MBEDTLS_TCPIP_SUPPORT will be defined
- config NET_USSL_SUPPORT
- bool "NET_USSL_SUPPORT enabled"
- default n if SOC_8910
- default n
- depends on NET_LWIP_TCP_ON
- help
- When enabled, NET_USSL_SUPPORT will be defined
- config NET_SELF_REGISTE_SUPPORT
- bool "NET_SELF_REGISTE_SUPPORT enabled"
- default y if SOC_8910 || SOC_8850
- default n
- depends on NET_LWIP_TCP_ON
- help
- When enabled, NET_SELF_REGISTE_SUPPORT will be defined
- config TINYDTLS_LIB_SUPPORT
- bool "TINYDTLS_LIB_SUPPORT enabled"
- default n
- help
- When enabled, TINYDTLS_LIB_SUPPORT will be defined
- config MBEDTLS_USE_CE_CRYPTO
- bool "MBEDTLS_USE_CE_CRYPTO enabled"
- depends on MBEDTLS_LIB_SUPPORT
- default n if SOC_8811
- default n
- help
- When enabled, MBEDTLS_USE_CE_CRYPTO will be defined
- config NET_NBSELFREG_HTTP_SUPPORT
- bool "NET_NBSELFREG_HTTP_SUPPORT enabled"
- default n
- help
- When enabled, NET_SELFREG_COAP_SUPPORT will be defined
- config NET_SELFREG_COAP_SUPPORT
- bool "NET_SELFREG_COAP_SUPPORT enabled"
- default y if SOC_8811
- default n
- help
- When enabled, NET_SELFREG_COAP_SUPPORT will be defined
- config NBSELFREG_CUS_SUPPORT
- bool "NBSELFREG_CUS_SUPPORT enabled"
- default y if AT_CUS_SUPPORT
- default n
- help
- When enabled, NBSELFREG_CUS_SUPPORT will be defined
- config NET_CTWING_SELFREG_SUPPORT
- bool "NET_CTWING_SELFREG_SUPPORT enabled"
- default n
- help
- When enabled, NET_CTWING_SELFREG_SUPPORT will be defined
- choice
- prompt "select dm module"
- default NET_DM_CUS_SUPPORT if AT_CUS_SUPPORT
- default NET_DM_LWM2M_SUPPORT if SOC_8811 || SOC_8850
- default NET_DM_CISSDK_SUPPORT
- config NET_DM_CISSDK_SUPPORT
- bool "DM Module based on cissdk"
- select NET_CIS_SDK_SUPPORT
- config NET_DM_LWM2M_SUPPORT
- bool "DM Module based on liblwm2m"
- select NET_LWM2M_SUPPORT
- select LWM2M_ONENET_SUPPORT
- select LWM2M_ONENET_DM_SUPPORT
- config NET_DM_CUS_SUPPORT
- bool "DM Customized Module based on liblwm2m"
- select NET_LWM2M_SUPPORT
- select LWM2M_ONENET_SUPPORT
- select LWM2M_ONENET_DM_SUPPORT
- config NET_DM_NO_SUPPORT
- bool "DM Module not support"
- endchoice
- config NET_IDS_SUPPORT
- bool "IDS support"
- default y if SOC_8910
- default n
- help
- when enabled, IDS feature is supported
- config NET_DNS_SERVER_SUPPORT
- bool "NET_DNS_SERVER_SUPPORT enabled"
- default y if SOC_8910
- default n
- help
- When enabled, NET_DNS_SERVER_SUPPORT will be defined
- config NET_CTIOTSM_SUPPORT
- bool "NET_CTIOTSM_SUPPORT enabled"
- default n
- help
- When enabled, NET_CTIOTSM_SUPPORT will be defined
- config NET_LIBDMP_SDK_SUPPORT
- bool "NET_LIBDMP_SDK_SUPPORT enabled"
- #default y if SOC_8910 || SOC_8850 === adjusted by kevin.wang: default not enable self register
- default n
- help
- When enabled, NET_LIBDMP_SDK_SUPPORT will be defined
- config NET_CTIOT_AEP_SUPPORT
- bool "NET_CTIOT_AEP_SUPPORT enabled"
- default n
- help
- When enabled, NET_CTIOT_AEP_SUPPORT will be defined
- orsource "mupnp/Kconfig"
- orsource "http/Kconfig"
- orsource "mbedtls/Kconfig"
- orsource "liblwm2m/Kconfig"
- orsource "ftp/Kconfig"
- endmenu
|