# see kconfig-language at https://www.kernel.org/doc/Documentation/kbuild/kconfig-language.txt
#
-config LWM2M_WAKAAMA
- bool "LWM2M_WAKAAMA"
- default n
- depends on LIBC_NETDB
- ---help---
- enable LWM2M WAKAAMA external feature
-
-if LWM2M_WAKAAMA
-
-choice
- prompt "LWM2M WAKAAMA modes"
- default LWM2M_CLIENT_MODE
-
-config LWM2M_CLIENT_MODE
- bool "CLIENT_MODE"
- ---help---
- enable LWM2M WAKAAMA client mode
-
-config LWM2M_SERVER_MODE
- bool "SERVER_MODE"
- ---help---
- enable LWM2M WAKAAMA server mode
-endchoice
-
-config LWM2M_LITTLE_ENDIAN
- bool "LITTLE_ENDIAN"
- default y
- ---help---
- LWM2M supports LITTLE_ENDIAN and BIG_ENDIAN mode.
- according to server configuration, LWM2M client should match it.
- default value is LITTLE_ENDIAN and if you do not select as LITTLE_ENDIAN,
- BIG_ENDIAN will be used instead of it
-endif
-
-menuconfig ENABLE_IOTIVITY
- bool "enable / disable iotivity stack"
- default n
- select LIBC_NETDB
- select TIME_EXTENDED
- select ARCH_STDARG_H
- ---help---
- select to enable the iotivity stack in tinyara
-
-if ENABLE_IOTIVITY
-
-comment "IOTIVITY Config Parameters"
-
-config IOTIVITY_RELEASE_VERSION
- string "iotivity stack version"
- default "1.2-rel"
- ---help---
- define this to iotivity stack release veriosn in use
-
-config IOTIVITY_ROUTING
- string "Enable routing, allowed values : 'EP' / 'GW' "
- default "EP"
- ---help---
- define this to enable routing, allowed values : 'EP' / 'GW'
-
-config IOTIVITY_PTHREAD_STACKSIZE
- int "Default pthread stack size for iotivity threads"
- default 8192
- ---help---
- Default pthread stack size for iotivity threads
-
-config IOTIVITY_QUEING_PTHREAD_STACKSIZE
- int "Default pthread stack size for the queing thread"
- default 3072
- ---help---
- Default pthread stack size for the queing thread
-
-config IOTIVITY_RETRANSMIT_PTHREAD_STACKSIZE
- int "Default pthread stack size for the retransmission pthread"
- default 1024
- ---help---
- Default pthread stack size for the retransmission pthread
-
-config IOTIVITY_TCPRECEIVE_PTHREAD_STACKSIZE
- int "Default pthread stack size for the TCP-receive thread"
- default 8192
- ---help---
- Default pthread stack size for the TCP-receive thread
-
-config IOTIVITY_RECEIVEHANDLER_PTHREAD_STACKSIZE
- int "Default pthread stack size for the receive-handler thread"
- default 8192
- ---help---
- Default pthread stack size for the receive-handler thread
-
-config ENABLE_IOTIVITY_SECURED
- bool "enable iotivity security"
- default n
- ---help---
- select to enable the security for iotivity stack in tinyara
-
-config ENABLE_IOTIVITY_CLOUD
- bool "enable iotivity cloud"
- default n
- ---help---
- select to enable the cloud for iotivity stack in tinyara
-
-config IOTIVITY_RELEASE
- bool "Set Iotivity to Release mode"
- default y
- ---help---
- select to build IoTivity in Release mode. Code will be optimized.
-
-config IOTIVITY_DEBUG
- bool "enable iotivity stack logs"
- default n
- ---help---
- select to enable all iotivity stack logs (DEBUG / INFO etc.)
-
-config IOTIVITY_NS_PROVIDER
- bool "enable iotivity notification service(provider only)"
- default n
- ---help---
- select to enable iotivity Notification Provider Service
-
-endif # ENABLE_IOTIVITY
-
-config LIBTUV
- bool "libtuv"
- default n
- ---help---
- enable libtuv
-
-config AWS_SDK
- bool "AWS IoT SDK"
- default n
- ---help---
- enable AWS IoT Device SDK
-
-source "$EXTERNALDIR/json/Kconfig"
+source "$EXTERNALDIR/aws/Kconfig"
source "$EXTERNALDIR/codecs/Kconfig"
+source "$EXTERNALDIR/iotivity/Kconfig"
+source "$EXTERNALDIR/json/Kconfig"
+source "$EXTERNALDIR/libtuv/Kconfig"
+source "$EXTERNALDIR/wakaama/Kconfig"
--- /dev/null
+#
+# For a description of the syntax of this configuration file,
+# see kconfig-language at https://www.kernel.org/doc/Documentation/kbuild/kconfig-language.txt
+#
+
+config AWS_SDK
+ bool "AWS IoT SDK"
+ default n
+ ---help---
+ enable AWS IoT Device SDK
+
--- /dev/null
+#
+# For a description of the syntax of this configuration file,
+# see kconfig-language at https://www.kernel.org/doc/Documentation/kbuild/kconfig-language.txt
+#
+
+menuconfig ENABLE_IOTIVITY
+ bool "enable / disable iotivity stack"
+ default n
+ select LIBC_NETDB
+ select TIME_EXTENDED
+ select ARCH_STDARG_H
+ ---help---
+ select to enable the iotivity stack in tinyara
+
+if ENABLE_IOTIVITY
+
+comment "IOTIVITY Config Parameters"
+
+config IOTIVITY_RELEASE_VERSION
+ string "iotivity stack version"
+ default "1.2-rel"
+ ---help---
+ define this to iotivity stack release veriosn in use
+
+config IOTIVITY_ROUTING
+ string "Enable routing, allowed values : 'EP' / 'GW' "
+ default "EP"
+ ---help---
+ define this to enable routing, allowed values : 'EP' / 'GW'
+
+config IOTIVITY_PTHREAD_STACKSIZE
+ int "Default pthread stack size for iotivity threads"
+ default 8192
+ ---help---
+ Default pthread stack size for iotivity threads
+
+config IOTIVITY_QUEING_PTHREAD_STACKSIZE
+ int "Default pthread stack size for the queing thread"
+ default 3072
+ ---help---
+ Default pthread stack size for the queing thread
+
+config IOTIVITY_RETRANSMIT_PTHREAD_STACKSIZE
+ int "Default pthread stack size for the retransmission pthread"
+ default 1024
+ ---help---
+ Default pthread stack size for the retransmission pthread
+
+config IOTIVITY_TCPRECEIVE_PTHREAD_STACKSIZE
+ int "Default pthread stack size for the TCP-receive thread"
+ default 8192
+ ---help---
+ Default pthread stack size for the TCP-receive thread
+
+config IOTIVITY_RECEIVEHANDLER_PTHREAD_STACKSIZE
+ int "Default pthread stack size for the receive-handler thread"
+ default 8192
+ ---help---
+ Default pthread stack size for the receive-handler thread
+
+config ENABLE_IOTIVITY_SECURED
+ bool "enable iotivity security"
+ default n
+ ---help---
+ select to enable the security for iotivity stack in tinyara
+
+config ENABLE_IOTIVITY_CLOUD
+ bool "enable iotivity cloud"
+ default n
+ ---help---
+ select to enable the cloud for iotivity stack in tinyara
+
+config IOTIVITY_RELEASE
+ bool "Set Iotivity to Release mode"
+ default y
+ ---help---
+ select to build IoTivity in Release mode. Code will be optimized.
+
+config IOTIVITY_DEBUG
+ bool "enable iotivity stack logs"
+ default n
+ ---help---
+ select to enable all iotivity stack logs (DEBUG / INFO etc.)
+
+config IOTIVITY_NS_PROVIDER
+ bool "enable iotivity notification service(provider only)"
+ default n
+ ---help---
+ select to enable iotivity Notification Provider Service
+
+endif # ENABLE_IOTIVITY
--- /dev/null
+#
+# For a description of the syntax of this configuration file,
+# see kconfig-language at https://www.kernel.org/doc/Documentation/kbuild/kconfig-language.txt
+#
+
+config LIBTUV
+ bool "libtuv"
+ default n
+ ---help---
+ enable libtuv
+
--- /dev/null
+#
+# For a description of the syntax of this configuration file,
+# see kconfig-language at https://www.kernel.org/doc/Documentation/kbuild/kconfig-language.txt
+#
+
+config LWM2M_WAKAAMA
+ bool "LWM2M_WAKAAMA"
+ default n
+ depends on LIBC_NETDB
+ ---help---
+ enable LWM2M WAKAAMA external feature
+
+if LWM2M_WAKAAMA
+
+choice
+ prompt "LWM2M WAKAAMA modes"
+ default LWM2M_CLIENT_MODE
+
+config LWM2M_CLIENT_MODE
+ bool "CLIENT_MODE"
+ ---help---
+ enable LWM2M WAKAAMA client mode
+
+config LWM2M_SERVER_MODE
+ bool "SERVER_MODE"
+ ---help---
+ enable LWM2M WAKAAMA server mode
+endchoice
+
+config LWM2M_LITTLE_ENDIAN
+ bool "LITTLE_ENDIAN"
+ default y
+ ---help---
+ LWM2M supports LITTLE_ENDIAN and BIG_ENDIAN mode.
+ according to server configuration, LWM2M client should match it.
+ default value is LITTLE_ENDIAN and if you do not select as LITTLE_ENDIAN,
+ BIG_ENDIAN will be used instead of it
+endif