4.15 offline & online & unknown

1205a month 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 Tananaeva month 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.

1205a month 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

1205a month ago

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

Anton Tananaeva month ago

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

1205a month 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 Tananaeva month ago

There's no offline timeout by default.

1205a month ago

What can I do to make the device go offline instead of unknown,
For non-mobile devices

Anton Tananaeva month ago

You can force timeout on the server or reconfigure your devices to disconnect.