Doubts related to timeout.

Richard Acosta3 years ago

Hello again, I'm currently working on a server that atends a couple dozen devices using a total of 4 protocols. (Osmand, gt06, h02 and Watch)

I decided to follow a recomendation from "optimizing" about timeout:
"It's configured per protocol, and it's recommended to set the value (in seconds) to slightly higher than your device reporting interval."

Since devices report 5 seconds appart, I put timeout at 6 seconds. (slightly higher) and devices go offline continuously.
Then tried using 11 seconds (2 reports) and still going offline, off course they "revive" when a new report is sent.
I tought this would be the behavior only in case devices stop reporting and timeout period would reset at each received report.

¿Is this normal behavior or should I check anything else?
¿Any sugestions?

Thanks a lot.

Anton Tananaev3 years ago

I tought this would be the behavior only in case devices stop reporting and timeout period would reset at each received report.

It is the behavior.