Race Log tab and NMEA update
Post by iconPost by rdr2018 | 2020-11-11 | 17:45:02

Hi Svetan,
You and your friends always do an exceptional job, and always very responsive.
I recently discovered the NMEA functionality, and it's funny to project my virtual boat into the navigation programs I use on my real board (although I don't see the practical use of it).
But this development is depreciated by the fact that VR no longer regularly updates the position, even if you refresh it (logically always the same one) every second. In fact, we have to stay in front of the PC to manually do this update (blue button at the top right of the VR UI).

My question is this one: How do I make a request to the VR UI to simulate the click on this button, say every 5 minutes?
If I manage in classic programming, I'm a dummy at WEB programming!

Thanks in advance,
Patrick, Mataf35400

commenticon 5 Comments
Post by iconPost by mcmgj | 2020-11-11 | 18:42:20
it's easy,
with VIP account the blue button is out and update are made each 5 minutes
Post by iconPost by Ultimate Victory | 2020-11-12 | 10:17:44
Is that true ? I don't see it advertised in the VIP register page
Post by iconPost by Hardtack | 2020-11-11 | 19:18:11
I think it can be done, by injecting a script into the VR page that grabs authentication data and triggers a getboatinfo request every 5 minutes.

I advise against it. It would probably rightly be considered an attack.

VRDashboard contents itself with reading the data that the server sends to the client.
Post by iconPost by zezo | 2020-11-11 | 20:58:21
Seconded. Everything can be done via extension or MITM proxy, but we are not going there.
Post by iconPost by rdr2018 | 2020-11-12 | 04:55:51
Thanks everybody for your answers.
Never mind, it was just to animate my OpenCpn !

Good continuation, and, if you're offshore, "good wind" (I don't know if that expression has sense in english !!)
border
Topics list
Posts
border
23
border
border
10
border
border
5
border
border
16
border
border
5
border
border
3
border
border
1
border
border
Copyright 2009 by ZEZO.ORG. All Rights Reserved.