Implementing external sensor : need more information...
Hello,
I develop an external sensor that will act as a GPS. My source of information provides only binary data. I need to convert it as one or several NMEA frames to feed xcTrack.
As a start to test udp connection, I sent this dummy frame:
$GPGGA,121222.33,4500.0000,N,00000.0000,W,1,05,3.2,280.2,M,-34.0,M,,*59
The log file states:
2019-09-13 07:57:58.423 DEBUG [UDPConnection] Network: packet:>$GPGGA,121222.33,4500.0000,N,00000.0000,W,1,05,3.2,280.2,M,-34.0,M,,*59< 2019-09-13 07:57:58.423 DEBUG [lineGPGGA] ExternalSensor: GGA: no date from RMC line, bailing out
Then I tried this one:
$GPRMC,121222.33,A,4500.0000,N,00000.0000,W,2.69,79.65,100106,,,A*53
The log file states:
2019-09-13 07:58:29.590 DEBUG [UDPConnection] Network: packet:>$GPRMC,053740.000,A,2503.6319,N,12136.0099,E,2.69,79.65,100106,,,A*53< 2019-09-13 07:58:29.591 DEBUG [lineGPRMC] Missing altitude fix!
This page says that these frames are supported: $XCTRC $LK8EX1 $LXWP0 $GPRMC $GNRMC $GPGGA $GNGGA $PCPROBE PRS _PRS BAT _BAT $VARIO $PFLAA $PDGFTL1 $PTAS1
My questions are:
- Are there mandatory frames? which ones?
- What is the minimum set of information fort xcTrack to recognize the external device as a gps.
- What kind of tests sxTrack does to display gps information (ie : "I need a GGA and an RMC frame", or "whatever the frame I need x, y, z and speed)
- Is there an hidden feature to send binary data instead of recomposing NMEA frames ?
Also any kind of documentation a bit more verbose than the supported frame would be appreciated.
Thanks for your help.