forward.url course not forwarding

Anth1980 2 years ago

I am forwarding data to another server,
In.forward.url it sends everything right to another server excepts for the course of the devices.
There is any solution to send the course right?

I think i have all ok in the configuration file

<entry key='forward.enable'>true</entry>
<entry key='forward.url'>http://URL:5055/?id={uniqueId}&amp;lat={latitude}&amp;lon={longitude}&amp;timestamp={deviceTime}&amp;course={course}&amp;hdop={accuracy}&amp;altitude={altitude}&amp;speed={speed}</entry>
Anton Tananaev 2 years ago

Have you checked logs on both servers?

Anth1980 2 years ago

Yes. The second server receives the course in log file, but its the marker not rotating with course info. Example, in the log file i have the course=289.0 but the marker shows 0.0

Anth1980 2 years ago

Solved.

<entry key='forward.url'>http://192.168.91.55:5055/?id={uniqueId}&amp;lat={latitude}&amp;lon={longitude}&amp;timestamp={deviceTime}&amp;bearing={course}&amp;hdop={accuracy}&amp;altitude={altitude}&amp;speed={speed}</entry>

so the solution was "bearing={course}" and not "course={course}.

Thanks