You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the response time is typically below 1 second, the difference (MQTT_PAL_TIME() - msg->time_sent) is zero and the product get smaller each time a response is received until it hits the minimum value of a double.
As MQTT_PAL_TIME() is meant to be in seconds, it's the question whether this calculation makes sense in low latency environments.
The text was updated successfully, but these errors were encountered:
I get a FPU error on a hardware device in line 868 of mqtt.c:
client->typical_response_time = 0.875 * (client->typical_response_time) + 0.125 * (double) (MQTT_PAL_TIME() - msg->time_sent)
When the response time is typically below 1 second, the difference (MQTT_PAL_TIME() - msg->time_sent) is zero and the product get smaller each time a response is received until it hits the minimum value of a double.
As MQTT_PAL_TIME() is meant to be in seconds, it's the question whether this calculation makes sense in low latency environments.
The text was updated successfully, but these errors were encountered: