From 21662cd89c97145efbdcd58d3b3dae9c7f180152 Mon Sep 17 00:00:00 2001 From: Mikhail Grushinskiy Date: Fri, 13 Sep 2024 12:20:38 -0400 Subject: [PATCH] Create NmeaXDR.h --- bbn_wave_freq_m5atomS3/NmeaXDR.h | 37 ++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 bbn_wave_freq_m5atomS3/NmeaXDR.h diff --git a/bbn_wave_freq_m5atomS3/NmeaXDR.h b/bbn_wave_freq_m5atomS3/NmeaXDR.h new file mode 100644 index 0000000..2101e78 --- /dev/null +++ b/bbn_wave_freq_m5atomS3/NmeaXDR.h @@ -0,0 +1,37 @@ +#ifndef NmeaXDR_h +#define NmeaXDR_h + +/* + XDR - Transducer Measurement + https://gpsd.gitlab.io/gpsd/NMEA.html#_xdr_transducer_measurement + https://www.eye4software.com/hydromagic/documentation/articles-and-howtos/handling-nmea0183-xdr/ + + Format: $--XDR,a,x.x,a,c--c, ..... *hh + Example: + + $HCXDR,A,171,D,PITCH,A,-37,D,ROLL,G,367,,MAGX,G,2420,,MAGY,G,-8984,,MAGZ*41 + $SDXDR,C,23.15,C,WTHI*70 + + Transducer Types: + A - Angular displacement + C - Temperature + D - Depth + F - Frequency + H - Humidity + N - Force + P - Pressure + R - Flow + B - Absolute humidity + G - Generic + I - Current + L - Salinity + S - Switch, valve + T - Tachometer + U - Voltage + V - Volume + could be more + + +*/ + +#endif