Forward events - does it send device online/offline events?

Quade dennis6 years ago

I'm not seeing online/offline events on forwarded messages
Before I dig deeper, I wanted to know if traccar forwards these type of events (i.e. device connected/disconnected)

Thanks

Anton Tananaev6 years ago

Yes, all events should be forwarded.

Quade dennis6 years ago

Great, i'll dig deeper
Thank you for the quick reply

You know naturally that you need to enable them also in the gui under events.

Quade dennis6 years ago

Thanks, I did not know about this, and not really sure I understand
I've managed to see the device online events being raised
I would like to better understand the device online /offline functionality
I assume that when a device makes a TCP connection with the server, the device online messages is raised, and forwarded

When the device gracefully disconnects, it also raises this message and forwards it
I assume if the device loses the connection and doesn't gracefully disconnect the server will disconnect after a certain amount of time and then raise the disconnected message?

Is this correct? or is there any other funky voodoo that goes on in the whole online/offline process