Kconfig 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. menu "ESP-MQTT Configurations"
  2. config MQTT_PROTOCOL_311
  3. bool "Enable MQTT protocol 3.1.1"
  4. default y
  5. help
  6. If not, this library will use MQTT protocol 3.1
  7. config MQTT_TRANSPORT_SSL
  8. bool "Enable MQTT over SSL"
  9. default y
  10. help
  11. Enable MQTT transport over SSL with mbedtls
  12. config MQTT_TRANSPORT_WEBSOCKET
  13. bool "Enable MQTT over Websocket"
  14. default y
  15. help
  16. Enable MQTT transport over Websocket.
  17. config MQTT_TRANSPORT_WEBSOCKET_SECURE
  18. bool "Enable MQTT over Websocket Secure"
  19. default y
  20. depends on MQTT_TRANSPORT_WEBSOCKET
  21. depends on MQTT_TRANSPORT_SSL
  22. help
  23. Enable MQTT transport over Websocket Secure.
  24. config MQTT_USE_CUSTOM_CONFIG
  25. bool "MQTT Using custom configurations"
  26. default n
  27. help
  28. Custom MQTT configurations.
  29. config MQTT_TCP_DEFAULT_PORT
  30. int "Default MQTT over TCP port"
  31. default 1883
  32. depends on MQTT_USE_CUSTOM_CONFIG
  33. help
  34. Default MQTT over TCP port
  35. config MQTT_SSL_DEFAULT_PORT
  36. int "Default MQTT over SSL port"
  37. default 8883
  38. depends on MQTT_USE_CUSTOM_CONFIG
  39. depends on MQTT_TRANSPORT_SSL
  40. help
  41. Default MQTT over SSL port
  42. config MQTT_WS_DEFAULT_PORT
  43. int "Default MQTT over Websocket port"
  44. default 80
  45. depends on MQTT_USE_CUSTOM_CONFIG
  46. depends on MQTT_TRANSPORT_WEBSOCKET
  47. help
  48. Default MQTT over Websocket port
  49. config MQTT_WSS_DEFAULT_PORT
  50. int "Default MQTT over Websocket Secure port"
  51. default 443
  52. depends on MQTT_USE_CUSTOM_CONFIG
  53. depends on MQTT_TRANSPORT_WEBSOCKET
  54. depends on MQTT_TRANSPORT_WEBSOCKET_SECURE
  55. help
  56. Default MQTT over Websocket Secure port
  57. config MQTT_BUFFER_SIZE
  58. int "Default MQTT Buffer Size"
  59. default 1024
  60. depends on MQTT_USE_CUSTOM_CONFIG
  61. help
  62. This buffer size using for both transmit and receive
  63. config MQTT_TASK_STACK_SIZE
  64. int "MQTT task stack size"
  65. default 6144
  66. depends on MQTT_USE_CUSTOM_CONFIG
  67. help
  68. MQTT task stack size
  69. config MQTT_DISABLE_API_LOCKS
  70. bool "Disable API locks"
  71. default n
  72. depends on MQTT_USE_CUSTOM_CONFIG
  73. help
  74. Default config employs API locks to protect internal structures. It is possible to disable
  75. these locks if the user code doesn't access MQTT API from multiple concurrent tasks
  76. config MQTT_TASK_PRIORITY
  77. int "MQTT task priority"
  78. default 5
  79. depends on MQTT_USE_CUSTOM_CONFIG
  80. help
  81. MQTT task priority. Higher number denotes higher priority.
  82. config MQTT_TASK_CORE_SELECTION_ENABLED
  83. bool "Enable MQTT task core selection"
  84. default false
  85. help
  86. This will enable core selection
  87. choice MQTT_TASK_CORE_SELECTION
  88. depends on MQTT_TASK_CORE_SELECTION_ENABLED
  89. prompt "Core to use ?"
  90. config MQTT_USE_CORE_0
  91. bool "Core 0"
  92. config MQTT_USE_CORE_1
  93. bool "Core 1"
  94. endchoice
  95. config MQTT_CUSTOM_OUTBOX
  96. bool "Enable custom outbox implementation"
  97. default n
  98. help
  99. Set to true if a specific implementation of message outbox is needed (e.g. persistant outbox in NVM or
  100. similar).
  101. endmenu