Both are historical records, i.e. kept on the server
until deletion or expiry. If you're looking for a GPS log,
we've already got that in form of the "L" messages. These
are kept for 24 hours, and the log frequency adapts to
user choice and App connection state ("streaming mode",
feature #8 / config vehicle stream).
Thanks!
Is there documentation that I failed to find? IE
"feature #8" - seems like from a list somewhere?
I'm working at the moment with the MQTT server.
In the mqtt server code I found "m_streaming" and it
looks like I need "config set vehicle stream 1"
If I understand correctly this will result in metrics
being published to mqtt as soon as they change.
Looking at the code I'm also trying to understand what
exactly a "client" is. Here's how it looks to me: a client
sends a message with topic
<prefix>/client/<clientid>/active with the
payload being non-0 to "connect" and 0 or empty to
disconnect. Must send that at least once every 120 seconds
to stay connected.
With a client "connected" the MQTT server will send
metrics at the updatetime.connected rate rather than the
idle rate (nowithstanding that with "stream 1" they are sent
immediately).
Clients can also send commands too:
<prefix>/client/<clientid>/command
Am I on the right track?
Thanks,
Steve