Skip to content

Commit

Permalink
Create NmeaXDR.h
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch authored Sep 13, 2024
1 parent 4d53ddf commit 21662cd
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions bbn_wave_freq_m5atomS3/NmeaXDR.h
Original file line number Diff line number Diff line change
@@ -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<CR><LF>
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

0 comments on commit 21662cd

Please sign in to comment.