mirror of
https://github.com/espressif/esp-mqtt.git
synced 2025-11-08 02:52:18 +01:00
Config: Add configurable retransmit timeout
sometime user want to configure retransmit timeout due to network or other requirement Merges https://github.com/espressif/esp-mqtt/pull/199
This commit is contained in:
@@ -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;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user