Hello...
There is at two errors in OCPN regarding synthesized sentences for
autopilot.
re:
$ECRMC,211754,A,4117.178,S,17400.463,E,
-1.#IO,0.000,200618,22.200,E
The error in synthesized ECRMC is not due to any buffer overflow. It is a simple coding error in OpenCPN. If SOG is undefined, OCPN does not properly detect this, and in error adds a (NAN) to the sentence. Downstream receivers cannot decode this properly (probably the # symbol causes them trouble).
Hakan showed a viable solution in the code here:
http://www.cruisersforum.com/forums/...ml#post2656608
It will be fixed for the next release. @Hakan, I'll take a PR on this.
There is an additional problem. Some
NMEA receivers require the trailing FAA 'A' character to parse RMB correctly. This fix is already in place for RMC. It is a simple fix for RMB, as well. We will do this for the next release.
Maybe this is the root cause of the reported trouble with "lost" sentences with some receivers in some configurations.
Sorry for the trouble.
Dave