4.15 offline & online & unknown

1205a day ago

hello
For version 4.15, how are Offline, Online, and Unknown states distinguished and what are their criteria? For example, for on-board devices using FlexApi protocol, how often can the location information remain Online, how long will it not be updated and when will it become Offline, and when will it become Unknown
Thanks

Anton Tananaev13 hours ago

In all versions those states work the same way. I recommend searching the forum because I've answered this question several times in the past.

12053 hours ago

Yes, I saw your reply elsewhere as follows:
There is no offline state for OsmAnd or any other HTTP-based protocol, so it's expected.

However, now I would like to ask why some of my car devices are not correctly switched to the unknown state according to the default time of 10 minutes, but switched to the offline state
Thanks

12053 hours ago

For my mobile phone, as you said, it will become unknown as expected, but my car device is not as expected

Anton Tananaev3 hours ago

If your devices disconnect from the server, they go into offline state.

12053 hours ago

So what I want to know is how long does it take for this type of device to upload location information before it goes offline, does this have a default timeout period, or where in the code can I go to find it? Or how should I set this timeout?

Anton Tananaevan hour ago

There's no offline timeout by default.