Merge branch 'feature/configurable_retransmit' into 'master'

Add configurable retransmit (GitHub PR)

See merge request espressif/esp-mqtt!110
This commit is contained in:
David Čermák
2021-09-15 18:10:50 +00:00
2 changed files with 9 additions and 2 deletions
+1
View File
@@ -206,6 +206,7 @@ typedef struct {
int network_timeout_ms; /*!< Abort network operation if it is not completed after this value, in milliseconds (defaults to 10s) */
bool disable_keepalive; /*!< Set disable_keepalive=true to turn off keep-alive mechanism, false by default (keepalive is active by default). Note: setting the config value `keepalive` to `0` doesn't disable keepalive feature, but uses a default keepalive period */
const char *path; /*!< Path in the URI*/
int message_retransmit_timeout; /*!< timeout for retansmit of failded packet */
} esp_mqtt_client_config_t;
/**