FactbirdHQ / mqttrust

MQTT client for embedded devices, written in rust
53 stars 5 forks source link

Add auto reconnect with backoff & jitter #36

Open MathiasKoch opened 3 years ago

MathiasKoch commented 3 years ago

Strategies include jitter & exponential backoff on reconnection attempts.

This should also be tested by the Device Advisor test

Relevant implementation: https://github.com/FreeRTOS/backoffAlgorithm/blob/main/source/backoff_algorithm.c