BugID:25422357: update coap config.in
+if AOS_CREATE_PROJECT
+config COAP_COMM_ENABLED
+ bool
+ default y
+ select INFRA_CJSON
+ select INFRA_JSON_PARSER
+ select INFRA_SHA256
+ select INFRA_MD5
+ select INFRA_REPORT
+ select INFRA_STRING
+ select COAP_PACKET
+ select INFRA_AES
+
+ help
+ Establish non-persistent connection with AliCloud via CoAP-based protocol
+
+ Switching to "y" leads to building CoAP related implementation into SDK and COAP_COMM_ENABLED included into CFLAGS
+ Switching to "n" leads to keeping CoAP-based cloud connection implementations out of SDK
+
+config COAP_SERVER
+ bool
+ default y
+ select INFRA_MD5
+ select INFRA_STRING
+ select INFRA_JSON_PARSER
+ select INFRA_SHA1
+ select HAL_KV
+ select COAP_PACKET
+ select INFRA_AES
+
+endif
+
+if !AOS_CREATE_PROJECT
config COAP_COMM_ENABLED
bool "FEATURE_COAP_COMM_ENABLED"
default n
@@ -28,3 +61,4 @@ config COAP_SERVER
select COAP_PACKET
select INFRA_AES
select AOS_COMP_SDK_WRAPPERS
+endif
