forked from espressif/esp-mqtt
mqtt: Add docs on MQTT_CUSTOM_OUTBOX implentation
Closes https://github.com/espressif/esp-mqtt/issues/217
This commit is contained in:
committed by
Euripedes Rocha
parent
47ac29b1e2
commit
f8cb9f7286
@@ -137,8 +137,12 @@ menu "ESP-MQTT Configurations"
|
|||||||
bool "Enable custom outbox implementation"
|
bool "Enable custom outbox implementation"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Set to true if a specific implementation of message outbox is needed (e.g. persistant outbox in NVM or
|
Set to true if a specific implementation of message outbox is needed (e.g. persistent outbox in NVM or
|
||||||
similar).
|
similar).
|
||||||
|
Note: Implementation of the custom outbox must be added to the mqtt component. These CMake commands
|
||||||
|
could be used to append the custom implementation to lib-mqtt sources:
|
||||||
|
idf_component_get_property(mqtt mqtt COMPONENT_LIB)
|
||||||
|
set_property(TARGET ${mqtt} PROPERTY SOURCES ${PROJECT_DIR}/custom_outbox.c APPEND)
|
||||||
|
|
||||||
config MQTT_OUTBOX_EXPIRED_TIMEOUT_MS
|
config MQTT_OUTBOX_EXPIRED_TIMEOUT_MS
|
||||||
int "Outbox message expired timeout[ms]"
|
int "Outbox message expired timeout[ms]"
|
||||||
|
Reference in New Issue
Block a user