session_t is only used within ESP-IDF.
 
Symbols
loading...
Files
loading...
SummarySyntaxReferences

Fields

Field
Declared as
Description
struct last_will_t { const char *topic; const char *msg; int msg_len; int qos; int retain; }
Last Will and Testament message configuration. Last will configuration.
bool
*MQTT* clean session, default clean_session is true.
int
*MQTT* keepalive, default is 120 seconds When configuring this value, keep in mind that the client attempts to communicate with the broker at half the interval that is actually set. This conservative approach allows for more attempts before the broker's timeout occurs.
bool
Set `disable_keepalive=true` to turn off keep-alive mechanism, keepalive is active by default. Note: setting the config value `keepalive` to `0` doesn't disable keepalive feature, but uses a default keepalive period.
*MQTT* protocol version used for connection.
int
timeout for retransmitting of failed packet.

References

from examples