Kconfig 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. menuconfig AWS_IOT_SDK
  2. bool "Amazon Web Services IoT Platform"
  3. help
  4. Select this option to enable support for the AWS IoT platform,
  5. via the esp-idf component for the AWS IoT Device C SDK.
  6. config AWS_IOT_MQTT_HOST
  7. string "AWS IoT Endpoint Hostname"
  8. depends on AWS_IOT_SDK
  9. default ""
  10. help
  11. Default endpoint host name to connect to AWS IoT MQTT/S gateway
  12. This is the custom endpoint hostname and is specific to an AWS
  13. IoT account. You can find it by logging into your AWS IoT
  14. Console and clicking the Settings button. The endpoint hostname
  15. is shown under the "Custom Endpoint" heading on this page.
  16. If you need per-device hostnames for different regions or
  17. accounts, you can override the default hostname in your app.
  18. config AWS_IOT_MQTT_PORT
  19. int "AWS IoT MQTT Port"
  20. depends on AWS_IOT_SDK
  21. default 8883
  22. range 0 65535
  23. help
  24. Default port number to connect to AWS IoT MQTT/S gateway
  25. If you need per-device port numbers for different regions, you can
  26. override the default port number in your app.
  27. config AWS_IOT_MQTT_TX_BUF_LEN
  28. int "MQTT TX Buffer Length"
  29. depends on AWS_IOT_SDK
  30. default 512
  31. range 32 65536
  32. help
  33. Maximum MQTT transmit buffer size. This is the maximum MQTT
  34. message length (including protocol overhead) which can be sent.
  35. Sending longer messages will fail.
  36. config AWS_IOT_MQTT_RX_BUF_LEN
  37. int "MQTT RX Buffer Length"
  38. depends on AWS_IOT_SDK
  39. default 512
  40. range 32 65536
  41. help
  42. Maximum MQTT receive buffer size. This is the maximum MQTT
  43. message length (including protocol overhead) which can be
  44. received.
  45. Longer messages are dropped.
  46. config AWS_IOT_MQTT_NUM_SUBSCRIBE_HANDLERS
  47. int "Maximum MQTT Topic Filters"
  48. depends on AWS_IOT_SDK
  49. default 5
  50. range 1 100
  51. help
  52. Maximum number of concurrent MQTT topic filters.
  53. config AWS_IOT_MQTT_MIN_RECONNECT_WAIT_INTERVAL
  54. int "Auto reconnect initial interval (ms)"
  55. depends on AWS_IOT_SDK
  56. default 1000
  57. range 10 3600000
  58. help
  59. Initial delay before making first reconnect attempt, if the AWS IoT connection fails.
  60. Client will perform exponential backoff, starting from this value.
  61. config AWS_IOT_MQTT_MAX_RECONNECT_WAIT_INTERVAL
  62. int "Auto reconnect maximum interval (ms)"
  63. depends on AWS_IOT_SDK
  64. default 128000
  65. range 10 3600000
  66. help
  67. Maximum delay between reconnection attempts. If the exponentially increased delay
  68. interval reaches this value, the client will stop automatically attempting to reconnect.
  69. menu "Thing Shadow"
  70. depends on AWS_IOT_SDK
  71. config AWS_IOT_OVERRIDE_THING_SHADOW_RX_BUFFER
  72. bool "Override Shadow RX buffer size"
  73. depends on AWS_IOT_SDK
  74. default n
  75. help
  76. Allows setting a different Thing Shadow RX buffer
  77. size. This is the maximum size of a Thing Shadow
  78. message in bytes, plus one.
  79. If not overridden, the default value is the MQTT RX Buffer length plus one. If overriden, do not set higher than the default value.
  80. config AWS_IOT_SHADOW_MAX_SIZE_OF_RX_BUFFER
  81. int "Maximum RX Buffer (bytes)"
  82. depends on AWS_IOT_OVERRIDE_THING_SHADOW_RX_BUFFER
  83. default 513
  84. range 32 65536
  85. help
  86. Allows setting a different Thing Shadow RX buffer size.
  87. This is the maximum size of a Thing Shadow message in bytes,
  88. plus one.
  89. config AWS_IOT_SHADOW_MAX_SIZE_OF_UNIQUE_CLIENT_ID_BYTES
  90. int "Maximum unique client ID size (bytes)"
  91. depends on AWS_IOT_SDK
  92. default 80
  93. range 4 1000
  94. help
  95. Maximum size of the Unique Client Id.
  96. config AWS_IOT_SHADOW_MAX_SIMULTANEOUS_ACKS
  97. int "Maximum simultaneous responses"
  98. depends on AWS_IOT_SDK
  99. default 10
  100. range 1 100
  101. help
  102. At any given time we will wait for this many responses. This will correlate to the rate at which the shadow actions are requested
  103. config AWS_IOT_SHADOW_MAX_SIMULTANEOUS_THINGNAMES
  104. int "Maximum simultaneous Thing Name operations"
  105. depends on AWS_IOT_SDK
  106. default 10
  107. range 1 100
  108. help
  109. We could perform shadow action on any thing Name and this is maximum Thing Names we can act on at any given time
  110. config AWS_IOT_SHADOW_MAX_JSON_TOKEN_EXPECTED
  111. int "Maximum expected JSON tokens"
  112. depends on AWS_IOT_SDK
  113. default 120
  114. help
  115. These are the max tokens that is expected to be in the Shadow JSON document. Includes the metadata which is published
  116. config AWS_IOT_SHADOW_MAX_SHADOW_TOPIC_LENGTH_WITHOUT_THINGNAME
  117. int "Maximum topic length (not including Thing Name)"
  118. depends on AWS_IOT_SDK
  119. default 60
  120. range 10 1000
  121. help
  122. All shadow actions have to be published or subscribed to a topic which is of the format $aws/things/{thingName}/shadow/update/accepted. This refers to the size of the topic without the Thing Name
  123. config AWS_IOT_SHADOW_MAX_SIZE_OF_THING_NAME
  124. int "Maximum Thing Name length"
  125. depends on AWS_IOT_SDK
  126. default 20
  127. range 4 1000
  128. help
  129. Maximum length of a Thing Name.
  130. endmenu # Thing Shadow