Kconfig 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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.