From: asterix Date: Mon, 5 Oct 2009 16:38:50 +0000 (+0000) Subject: Add nmea structure comments. X-Git-Tag: 2.3.0~58 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=4f37937571c34c2380155cbb77e892a1894403bf;p=bertos.git Add nmea structure comments. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3025 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/net/nmea.h b/bertos/net/nmea.h index 28c7bf58..44528195 100644 --- a/bertos/net/nmea.h +++ b/bertos/net/nmea.h @@ -117,25 +117,25 @@ typedef struct NmeaVtg */ typedef struct NmeaGsv { - uint16_t tot_message; - uint16_t message_num; - uint16_t tot_svv; - uint16_t sv_prn; - degree_t elevation; - degree_t azimut; - uint16_t snr; - uint16_t sv_prn2; - degree_t elevation2; - degree_t azimut2; - uint16_t snr2; - uint16_t sv_prn3; - degree_t elevation3; - degree_t azimut3; - uint16_t snr3; - uint16_t sv_prn4; - degree_t elevation4; - degree_t azimut4; - uint16_t snr4; + uint16_t tot_message; /* Total number of messages of this type in this cycle */ + uint16_t message_num; /* Message number */ + uint16_t tot_svv; /* Total number of SVs in view */ + uint16_t sv_prn; /* SV PRN number */ + degree_t elevation; /* Elevation in degrees, 90 maximum */ + degree_t azimut; /* Azimuth, degrees from true north, 000 to 359 */ + uint16_t snr; /* SNR, 00-99 dB (null when not tracking) */ + uint16_t sv_prn2; /* Information about second SV PRN number */ + degree_t elevation2; /* Information about second SV elevation in degrees, 90 maximum */ + degree_t azimut2; /* Information about second SV azimuth, degrees from true north, 000 to 359 */ + uint16_t snr2; /* Information about second SV SNR, 00-99 dB (null when not tracking) */ + uint16_t sv_prn3; /* Information about third SV PRN number */ + degree_t elevation3; /* Information about third SV elevation in degrees, 90 maximum */ + degree_t azimut3; /* Information about third SV azimuth, degrees from true north, 000 to 359 */ + uint16_t snr3; /* Information about third SV SNR, 00-99 dB (null when not tracking) */ + uint16_t sv_prn4; /* Information about fourth SV PRN number */ + degree_t elevation4; /* Information about fourth SV elevation in degrees, 90 maximum */ + degree_t azimut4; /* Information about fourth SV azimuth, degrees from true north, 000 to 359 */ + uint16_t snr4; /* Information about fourth SV SNR, 00-99 dB (null when not tracking) */ } NmeaGsv; void nmea_poll(nmeap_context_t *context, KFile *channel);