Skip to main content

Module mqtt_common

Module mqtt_common 

Source

Structsยง

MqttCommon

Enumsยง

QualityOfService

Constantsยง

DEFAULT_KEEP_ALIVE_SECS ๐Ÿ”’
MIN_KEEP_ALIVE_SECS ๐Ÿ”’
rumqttc panics if the keep alive interval is less than 5 seconds.

Functionsยง

deserialize_keep_alive_secs ๐Ÿ”’
Parses keep_alive_secs and rejects values below MIN_KEEP_ALIVE_SECS, so that an invalid value fails when the source or sink is created instead of panicking in rumqttc on connect.