2019-08-20, 08:58 PM
(2019-08-16, 02:06 PM)seandepagnier Wrote: How would xdr encapsulate it?
...
So it would not be difficult to support nmea drive motor temperature at all, but the real question is, what nmea sentence and what format would be used?
XDR is essentially key-values, something like
$IIXDR,<SignalKPath>,<value>,<SIUnit>,<SignalKSourceId>*XX
This would allow transmitting any SK values over NMEA0183. Then all we need to do is to come up with a path for autopilot motor temperature and whatever else would be useful. This would allow OpenPlotter installations easy path to wire I2C or 1-wire sensors.
Like I said writing a plugin that produces XDR with a configuration UI for picking the paths is pretty straightforward.
Naturally directly using SK is a possibility as well. If we agree on the path then either way, client or server, would work.