Config.dev_model 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. config DEVICE_MODEL_CLASSIC
  2. bool
  3. default y
  4. config LOG_REPORT_TO_CLOUD
  5. bool
  6. default n
  7. config DEVICE_MODEL_ENABLED
  8. depends on MQTT_COMM_ENABLED
  9. bool "FEATURE_DEVICE_MODEL_ENABLED"
  10. select DEVICE_MODEL_CLASSIC
  11. select INFRA_CLASSIC
  12. select INFRA_COMPAT
  13. select INFRA_CJSON
  14. select LOG_REPORT_TO_CLOUD if MQTT_COMM_ENABLED
  15. default y
  16. help
  17. Enable providing Thing-Model-Management/Alink-Protocol encapulation in SDK
  18. Switching to "y" leads to SDK being able to interpret JSON payload in MQTT channel, which also called "Advanced Version Protocol"
  19. Those capabilities are provided via IOT_Linkkit_XXX() APIs or being_deprecated linkkit_xxx() + linkkit_gateway_xxx() APIs
  20. menu "Device Model Configurations"
  21. depends on DEVICE_MODEL_ENABLED
  22. config DEVICE_MODEL_GATEWAY
  23. bool "FEATURE_DEVICE_MODEL_GATEWAY"
  24. select INFRA_SHA1
  25. default n
  26. help
  27. Switching Thing-Model related implementations provided in gateway oriented way
  28. config DEPRECATED_LINKKIT
  29. bool "FEATURE_DEPRECATED_LINKKIT"
  30. default n
  31. select INFRA_JSON_PARSER
  32. help
  33. Enable providing Thing-Model related functions via being_deprecated/old/obsoleted APIs
  34. They are named as linkkit_xxx() or linkkit_gateway_xxx(), declared in linkkit_export.h and linkkit_gateway_export.h
  35. Switching to "y" leads to SDK providing APIs in linkkit_export.h + linkkit_gateway_export.h
  36. Switching to "n" leads to SDK providing APIs in iot_export_linkkit.h
  37. config DEVICE_MODEL_RAWDATA_SOLO
  38. bool "FEATURE_DEVICE_MODEL_RAWDATA_SOLO"
  39. depends on DEVICE_MODEL_ENABLED && !DEVICE_MODEL_GATEWAY && !DEPRECATED_LINKKIT
  40. default n
  41. help
  42. Enable only raw data function via IOT_Linkkit_xxx new APIs
  43. Switching to "y" leads to SDK being compiled only raw data function
  44. Switching to "n" leads to SDK being compiled both raw data and thing model function
  45. config ALCS_ENABLED
  46. bool "FEATURE_ALCS_ENABLED"
  47. default n
  48. select COAP_SERVER
  49. help
  50. ALCS(alink local communication service) is a communication between phone and device
  51. Switching to "y" leads to SDK being compiled with alcs function
  52. Switching to "n" leads to SDK being compiled without alcs function
  53. config SUB_PERSISTENCE_ENABLED
  54. bool "FEATURE_SUB_PERSISTENCE_ENABLED"
  55. default n
  56. select HAL_KV
  57. help
  58. Enable this feature will enhance subscribe speed by storing mqtt subscribe infomation with HAL_KV
  59. config DEVICE_MODEL_SUBDEV_OTA
  60. depends on DEVICE_MODEL_GATEWAY
  61. depends on OTA_ENABLED
  62. bool "FEATURE_DEVICE_MODEL_SUBDEV_OTA"
  63. default n
  64. config DEVICE_MODEL_SHADOW
  65. bool "FEATURE_DEVICE_MODEL_SHADOW"
  66. default n
  67. endmenu