##// END OF EJS Templates
aaguilar -
r117:118
parent child
Show More
@@ -0,0 +1,113
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
No newline at end of file
2 <?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
No newline at end of file
3 <storageModule moduleId="org.eclipse.cdt.core.settings">
No newline at end of file
4 <cconfiguration id="cdt.managedbuild.config.gnu.exe.debug.1949920268">
No newline at end of file
5 <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.exe.debug.1949920268" moduleId="org.eclipse.cdt.core.settings" name="Debug">
No newline at end of file
6 <externalSettings/>
No newline at end of file
7 <extensions>
No newline at end of file
8 <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
No newline at end of file
9 <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
No newline at end of file
10 <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
No newline at end of file
11 <extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
No newline at end of file
12 <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
No newline at end of file
13 <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
No newline at end of file
14 </extensions>
No newline at end of file
15 </storageModule>
No newline at end of file
16 <storageModule moduleId="cdtBuildSystem" version="4.0.0">
No newline at end of file
17 <configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.exe.debug.1949920268" name="Debug" parent="cdt.managedbuild.config.gnu.exe.debug">
No newline at end of file
18 <folderInfo id="cdt.managedbuild.config.gnu.exe.debug.1949920268." name="/" resourcePath="">
No newline at end of file
19 <toolChain id="cdt.managedbuild.toolchain.gnu.exe.debug.978140244" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.exe.debug">
No newline at end of file
20 <targetPlatform id="cdt.managedbuild.target.gnu.platform.exe.debug.108327079" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.exe.debug"/>
No newline at end of file
21 <builder buildPath="${workspace_loc:/libnmea++}/Debug" id="cdt.managedbuild.target.gnu.builder.exe.debug.2095836823" managedBuildOn="true" name="Gnu Make Builder.Debug" superClass="cdt.managedbuild.target.gnu.builder.exe.debug"/>
No newline at end of file
22 <tool id="cdt.managedbuild.tool.gnu.archiver.base.540888476" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
No newline at end of file
23 <tool id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.1590703900" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug">
No newline at end of file
24 <option id="gnu.cpp.compiler.exe.debug.option.optimization.level.1393629439" superClass="gnu.cpp.compiler.exe.debug.option.optimization.level" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/>
No newline at end of file
25 <option id="gnu.cpp.compiler.exe.debug.option.debugging.level.477013815" superClass="gnu.cpp.compiler.exe.debug.option.debugging.level" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/>
No newline at end of file
26 <inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.975501949" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
No newline at end of file
27 </tool>
No newline at end of file
28 <tool id="cdt.managedbuild.tool.gnu.c.compiler.exe.debug.186973249" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.debug">
No newline at end of file
29 <option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.exe.debug.option.optimization.level.53019835" superClass="gnu.c.compiler.exe.debug.option.optimization.level" valueType="enumerated"/>
No newline at end of file
30 <option id="gnu.c.compiler.exe.debug.option.debugging.level.1752391011" superClass="gnu.c.compiler.exe.debug.option.debugging.level" value="gnu.c.debugging.level.max" valueType="enumerated"/>
No newline at end of file
31 <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1413233866" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
No newline at end of file
32 </tool>
No newline at end of file
33 <tool id="cdt.managedbuild.tool.gnu.c.linker.exe.debug.949856218" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.debug"/>
No newline at end of file
34 <tool id="cdt.managedbuild.tool.gnu.cpp.linker.exe.debug.315633593" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.debug">
No newline at end of file
35 <inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1677926797" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
No newline at end of file
36 <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
No newline at end of file
37 <additionalInput kind="additionalinput" paths="$(LIBS)"/>
No newline at end of file
38 </inputType>
No newline at end of file
39 </tool>
No newline at end of file
40 <tool id="cdt.managedbuild.tool.gnu.assembler.exe.debug.1976679165" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.exe.debug">
No newline at end of file
41 <inputType id="cdt.managedbuild.tool.gnu.assembler.input.1769600803" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
No newline at end of file
42 </tool>
No newline at end of file
43 </toolChain>
No newline at end of file
44 </folderInfo>
No newline at end of file
45 </configuration>
No newline at end of file
46 </storageModule>
No newline at end of file
47 <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
No newline at end of file
48 </cconfiguration>
No newline at end of file
49 <cconfiguration id="cdt.managedbuild.config.gnu.exe.release.957946712">
No newline at end of file
50 <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.exe.release.957946712" moduleId="org.eclipse.cdt.core.settings" name="Release">
No newline at end of file
51 <externalSettings/>
No newline at end of file
52 <extensions>
No newline at end of file
53 <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
No newline at end of file
54 <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
No newline at end of file
55 <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
No newline at end of file
56 <extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
No newline at end of file
57 <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
No newline at end of file
58 <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
No newline at end of file
59 </extensions>
No newline at end of file
60 </storageModule>
No newline at end of file
61 <storageModule moduleId="cdtBuildSystem" version="4.0.0">
No newline at end of file
62 <configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.exe.release.957946712" name="Release" parent="cdt.managedbuild.config.gnu.exe.release">
No newline at end of file
63 <folderInfo id="cdt.managedbuild.config.gnu.exe.release.957946712." name="/" resourcePath="">
No newline at end of file
64 <toolChain id="cdt.managedbuild.toolchain.gnu.exe.release.1565343331" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.exe.release">
No newline at end of file
65 <targetPlatform id="cdt.managedbuild.target.gnu.platform.exe.release.781880630" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.exe.release"/>
No newline at end of file
66 <builder buildPath="${workspace_loc:/libnmea++}/Release" id="cdt.managedbuild.target.gnu.builder.exe.release.2000184085" managedBuildOn="true" name="Gnu Make Builder.Release" superClass="cdt.managedbuild.target.gnu.builder.exe.release"/>
No newline at end of file
67 <tool id="cdt.managedbuild.tool.gnu.archiver.base.2039418116" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
No newline at end of file
68 <tool id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.279828679" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release">
No newline at end of file
69 <option id="gnu.cpp.compiler.exe.release.option.optimization.level.758016715" superClass="gnu.cpp.compiler.exe.release.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
No newline at end of file
70 <option id="gnu.cpp.compiler.exe.release.option.debugging.level.1363867102" superClass="gnu.cpp.compiler.exe.release.option.debugging.level" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/>
No newline at end of file
71 <inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.527598583" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
No newline at end of file
72 </tool>
No newline at end of file
73 <tool id="cdt.managedbuild.tool.gnu.c.compiler.exe.release.1934022143" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.release">
No newline at end of file
74 <option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.exe.release.option.optimization.level.1281158377" superClass="gnu.c.compiler.exe.release.option.optimization.level" valueType="enumerated"/>
No newline at end of file
75 <option id="gnu.c.compiler.exe.release.option.debugging.level.46143779" superClass="gnu.c.compiler.exe.release.option.debugging.level" value="gnu.c.debugging.level.none" valueType="enumerated"/>
No newline at end of file
76 <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.974731053" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
No newline at end of file
77 </tool>
No newline at end of file
78 <tool id="cdt.managedbuild.tool.gnu.c.linker.exe.release.858494656" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.release"/>
No newline at end of file
79 <tool id="cdt.managedbuild.tool.gnu.cpp.linker.exe.release.1668715572" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.release">
No newline at end of file
80 <inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1492596694" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
No newline at end of file
81 <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
No newline at end of file
82 <additionalInput kind="additionalinput" paths="$(LIBS)"/>
No newline at end of file
83 </inputType>
No newline at end of file
84 </tool>
No newline at end of file
85 <tool id="cdt.managedbuild.tool.gnu.assembler.exe.release.1157465308" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.exe.release">
No newline at end of file
86 <inputType id="cdt.managedbuild.tool.gnu.assembler.input.793439175" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
No newline at end of file
87 </tool>
No newline at end of file
88 </toolChain>
No newline at end of file
89 </folderInfo>
No newline at end of file
90 </configuration>
No newline at end of file
91 </storageModule>
No newline at end of file
92 </cconfiguration>
No newline at end of file
93 </storageModule>
No newline at end of file
94 <storageModule moduleId="cdtBuildSystem" version="4.0.0">
No newline at end of file
95 <project id="libnmea++.cdt.managedbuild.target.gnu.exe.1186727730" name="Executable" projectType="cdt.managedbuild.target.gnu.exe"/>
No newline at end of file
96 </storageModule>
No newline at end of file
97 <storageModule moduleId="scannerConfiguration">
No newline at end of file
98 <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
No newline at end of file
99 <scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.1949920268;cdt.managedbuild.config.gnu.exe.debug.1949920268.;cdt.managedbuild.tool.gnu.c.compiler.exe.debug.186973249;cdt.managedbuild.tool.gnu.c.compiler.input.1413233866">
No newline at end of file
100 <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
No newline at end of file
101 </scannerConfigBuildInfo>
No newline at end of file
102 <scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.release.957946712;cdt.managedbuild.config.gnu.exe.release.957946712.;cdt.managedbuild.tool.gnu.c.compiler.exe.release.1934022143;cdt.managedbuild.tool.gnu.c.compiler.input.974731053">
No newline at end of file
103 <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
No newline at end of file
104 </scannerConfigBuildInfo>
No newline at end of file
105 <scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.release.957946712;cdt.managedbuild.config.gnu.exe.release.957946712.;cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.279828679;cdt.managedbuild.tool.gnu.cpp.compiler.input.527598583">
No newline at end of file
106 <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
No newline at end of file
107 </scannerConfigBuildInfo>
No newline at end of file
108 <scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.1949920268;cdt.managedbuild.config.gnu.exe.debug.1949920268.;cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.1590703900;cdt.managedbuild.tool.gnu.cpp.compiler.input.975501949">
No newline at end of file
109 <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
No newline at end of file
110 </scannerConfigBuildInfo>
No newline at end of file
111 </storageModule>
No newline at end of file
112 <storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
No newline at end of file
113 </cproject> No newline at end of file
@@ -0,0 +1,27
1 <?xml version="1.0" encoding="UTF-8"?>
No newline at end of file
2 <projectDescription>
No newline at end of file
3 <name>libnmea++</name>
No newline at end of file
4 <comment></comment>
No newline at end of file
5 <projects>
No newline at end of file
6 </projects>
No newline at end of file
7 <buildSpec>
No newline at end of file
8 <buildCommand>
No newline at end of file
9 <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
No newline at end of file
10 <triggers>clean,full,incremental,</triggers>
No newline at end of file
11 <arguments>
No newline at end of file
12 </arguments>
No newline at end of file
13 </buildCommand>
No newline at end of file
14 <buildCommand>
No newline at end of file
15 <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
No newline at end of file
16 <triggers>full,incremental,</triggers>
No newline at end of file
17 <arguments>
No newline at end of file
18 </arguments>
No newline at end of file
19 </buildCommand>
No newline at end of file
20 </buildSpec>
No newline at end of file
21 <natures>
No newline at end of file
22 <nature>org.eclipse.cdt.core.cnature</nature>
No newline at end of file
23 <nature>org.eclipse.cdt.core.ccnature</nature>
No newline at end of file
24 <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
No newline at end of file
25 <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
No newline at end of file
26 </natures>
No newline at end of file
27 </projectDescription> No newline at end of file
@@ -0,0 +1,18
1 /*
No newline at end of file
2 * gnss_info.cpp
No newline at end of file
3 *
No newline at end of file
4 * Created on: Oct 29, 2014
No newline at end of file
5 * Author: Alan Aguilar Sologuren
No newline at end of file
6 */
No newline at end of file
7
No newline at end of file
8 #include "gnss_info.h"
No newline at end of file
9
No newline at end of file
10 gnss_info::gnss_info() {
No newline at end of file
11 // TODO Auto-generated constructor stub
No newline at end of file
12
No newline at end of file
13 }
No newline at end of file
14
No newline at end of file
15 gnss_info::~gnss_info() {
No newline at end of file
16 // TODO Auto-generated destructor stub
No newline at end of file
17 }
No newline at end of file
18 No newline at end of file
@@ -0,0 +1,134
1 /*
No newline at end of file
2 * gnss_info.h
No newline at end of file
3 * based on:
No newline at end of file
4 *
No newline at end of file
5 * NMEA library
No newline at end of file
6 * URL: http://nmea.sourceforge.net
No newline at end of file
7 * Author: Tim (xtimor@gmail.com)
No newline at end of file
8 * Licence: http://www.gnu.org/licenses/lgpl.html
No newline at end of file
9 * $Id: info.h 10 2007-11-15 14:50:15Z xtimor $
No newline at end of file
10 *
No newline at end of file
11 * Modified on: Oct 29, 2014
No newline at end of file
12 * Author: Alan Aguilar Sologuren
No newline at end of file
13 */
No newline at end of file
14
No newline at end of file
15 #ifndef GNSS_INFO_H_
No newline at end of file
16 #define GNSS_INFO_H_
No newline at end of file
17
No newline at end of file
18
No newline at end of file
19 #define NMEA_SIG_BAD (0)
No newline at end of file
20 #define NMEA_SIG_LOW (1)
No newline at end of file
21 #define NMEA_SIG_MID (2)
No newline at end of file
22 #define NMEA_SIG_HIGH (3)
No newline at end of file
23
No newline at end of file
24 #define NMEA_FIX_BAD (1)
No newline at end of file
25 #define NMEA_FIX_2D (2)
No newline at end of file
26 #define NMEA_FIX_3D (3)
No newline at end of file
27
No newline at end of file
28 #define NMEA_MAXSAT (12)
No newline at end of file
29 #define NMEA_SATINPACK (4)
No newline at end of file
30 #define NMEA_NSATPACKS (NMEA_MAXSAT / NMEA_SATINPACK)
No newline at end of file
31
No newline at end of file
32 #define NMEA_DEF_LAT (5001.2621)
No newline at end of file
33 #define NMEA_DEF_LON (3613.0595)
No newline at end of file
34
No newline at end of file
35 /**
No newline at end of file
36 * Position data in fractional degrees or radians
No newline at end of file
37 */
No newline at end of file
38 typedef struct _gnss_pos
No newline at end of file
39 {
No newline at end of file
40 double lat; /**< Latitude */
No newline at end of file
41 double lon; /**< Longitude */
No newline at end of file
42
No newline at end of file
43 } gnss_pos;
No newline at end of file
44
No newline at end of file
45
No newline at end of file
46 /**
No newline at end of file
47 * Date and time data
No newline at end of file
48 * @see gnss_time_now
No newline at end of file
49 */
No newline at end of file
50 typedef struct _gnss_time
No newline at end of file
51 {
No newline at end of file
52 int year; /**< Years since 1900 */
No newline at end of file
53 int mon; /**< Months since January - [0,11] */
No newline at end of file
54 int day; /**< Day of the month - [1,31] */
No newline at end of file
55 int hour; /**< Hours since midnight - [0,23] */
No newline at end of file
56 int min; /**< Minutes after the hour - [0,59] */
No newline at end of file
57 int sec; /**< Seconds after the minute - [0,59] */
No newline at end of file
58 int hsec; /**< Hundredth part of second - [0,99] */
No newline at end of file
59
No newline at end of file
60 } gnss_time;
No newline at end of file
61
No newline at end of file
62
No newline at end of file
63 /**
No newline at end of file
64 * Information about satellite
No newline at end of file
65 * @see gnss_satinfo
No newline at end of file
66 * @see nmeaGPGSV
No newline at end of file
67 */
No newline at end of file
68 typedef struct _gnss_sat
No newline at end of file
69 {
No newline at end of file
70 int id; /**< Satellite PRN number */
No newline at end of file
71 int in_use; /**< Used in position fix */
No newline at end of file
72 int elv; /**< Elevation in degrees, 90 maximum */
No newline at end of file
73 int azimuth; /**< Azimuth, degrees from true north, 000 to 359 */
No newline at end of file
74 int sig; /**< Signal, 00-99 dB */
No newline at end of file
75
No newline at end of file
76 } gnss_sat;
No newline at end of file
77
No newline at end of file
78
No newline at end of file
79 /**
No newline at end of file
80 * Information about all satellites in view
No newline at end of file
81 * @see gnss_info
No newline at end of file
82 * @see nmeaGPGSV
No newline at end of file
83 */
No newline at end of file
84 typedef struct _gnss_satinfo
No newline at end of file
85 {
No newline at end of file
86 int inuse; /**< Number of satellites in use (not those in view) */
No newline at end of file
87 int inview; /**< Total number of satellites in view */
No newline at end of file
88 gnss_sat sat[NMEA_MAXSAT]; /**< Satellites information */
No newline at end of file
89
No newline at end of file
90 } gnss_satinfo;
No newline at end of file
91
No newline at end of file
92
No newline at end of file
93
No newline at end of file
94
No newline at end of file
95
No newline at end of file
96 /**
No newline at end of file
97 * Summary GPS information from all parsed packets,
No newline at end of file
98 * used also for generating NMEA stream
No newline at end of file
99 * @see gnss_parse
No newline at end of file
100 * @see gnss_GPGGA2info, gnss_...2info
No newline at end of file
101 */
No newline at end of file
102 class gnss_info {
No newline at end of file
103 public:
No newline at end of file
104 gnss_info();
No newline at end of file
105 virtual ~gnss_info();
No newline at end of file
106 void gnss_zero_info(gnss_info *info);
No newline at end of file
107 void gnss_time_now(gnss_time *t);
No newline at end of file
108
No newline at end of file
109 private:
No newline at end of file
110 int smask; /**< Mask specifying types of packages from which data have been obtained */
No newline at end of file
111 gnss_time utc; /**< UTC of position */
No newline at end of file
112 int sig; /**< GPS quality indicator (0 = Invalid; 1 = Fix; 2 = Differential, 3 = Sensitive) */
No newline at end of file
113 int fix; /**< Operating mode, used for navigation (1 = Fix not available; 2 = 2D; 3 = 3D) */
No newline at end of file
114 double PDOP; /**< Position Dilution Of Precision */
No newline at end of file
115 double HDOP; /**< Horizontal Dilution Of Precision */
No newline at end of file
116 double VDOP; /**< Vertical Dilution Of Precision */
No newline at end of file
117 double lat; /**< Latitude in NDEG - +/-[degree][min].[sec/60] */
No newline at end of file
118 double lon; /**< Longitude in NDEG - +/-[degree][min].[sec/60] */
No newline at end of file
119 double elv; /**< Antenna altitude above/below mean sea level (geoid) in meters */
No newline at end of file
120 double speed; /**< Speed over the ground in kilometers/hour */
No newline at end of file
121 double direction; /**< Track angle in degrees True */
No newline at end of file
122 double declination; /**< Magnetic variation degrees (Easterly var. subtracts from true course) */
No newline at end of file
123 gnss_satinfo satinfo;/**< Satellites information */
No newline at end of file
124 };
No newline at end of file
125
No newline at end of file
126
No newline at end of file
127
No newline at end of file
128
No newline at end of file
129
No newline at end of file
130
No newline at end of file
131
No newline at end of file
132
No newline at end of file
133
No newline at end of file
134 #endif /* GNSS_INFO_H_ */ No newline at end of file
@@ -0,0 +1,19
1 #include <cstdio>
No newline at end of file
2 #include "nmea_code.h"
No newline at end of file
3 #include "gnss_info.h"
No newline at end of file
4 #include "parse/code_parser.h"
No newline at end of file
5
No newline at end of file
6 int main(){
No newline at end of file
7
No newline at end of file
8 nmea_code a;
No newline at end of file
9 gnss_info b;
No newline at end of file
10 code_parser p;
No newline at end of file
11
No newline at end of file
12 a.set_string("$GpgLL,rewwe,456,789,0");
No newline at end of file
13
No newline at end of file
14 p.parse_nmea(&a,&b);
No newline at end of file
15
No newline at end of file
16 printf("ffrtrt %s %s %s",a.get_parameter(0),a.get_parameter(1),a.get_parameter(2));
No newline at end of file
17
No newline at end of file
18 return 0;
No newline at end of file
19 } No newline at end of file
@@ -0,0 +1,91
1 /*
No newline at end of file
2 * nmea_code.cpp
No newline at end of file
3 *
No newline at end of file
4 * Created on: Oct 29, 2014
No newline at end of file
5 * Author: Alan Aguilar Sologuren
No newline at end of file
6 */
No newline at end of file
7
No newline at end of file
8 #include <cassert>
No newline at end of file
9 #include <cstring>
No newline at end of file
10 #include <cstddef>
No newline at end of file
11 #include "nmea_code.h"
No newline at end of file
12
No newline at end of file
13 nmea_code::nmea_code():
No newline at end of file
14 p_next(NULL),p_prev(NULL),
No newline at end of file
15 nmeastring(NULL),nmeasplit(NULL),
No newline at end of file
16 num_params(0){
No newline at end of file
17
No newline at end of file
18 }
No newline at end of file
19
No newline at end of file
20 nmea_code::~nmea_code() {
No newline at end of file
21
No newline at end of file
22 }
No newline at end of file
23
No newline at end of file
24 nmea_code& nmea_code::operator <<(nmea_code& pcd) {
No newline at end of file
25 assert(&pcd!=0);
No newline at end of file
26 this->p_next = &pcd;
No newline at end of file
27 pcd.set_prev(this);
No newline at end of file
28 return pcd;
No newline at end of file
29 }
No newline at end of file
30
No newline at end of file
31 nmea_code& nmea_code::operator >>(nmea_code& pcd) {
No newline at end of file
32 pcd.set_string(this->nmeastring);
No newline at end of file
33 pcd.set_next(this->p_next);
No newline at end of file
34 pcd.set_prev(this->p_prev);
No newline at end of file
35 return *pcd.prev();
No newline at end of file
36 }
No newline at end of file
37
No newline at end of file
38 bool nmea_code::set_string(const char* strnmea){
No newline at end of file
39 size_t len = strlen(strnmea);
No newline at end of file
40 nmeastring = new char[len+1];
No newline at end of file
41 nmeastring[len] = '\0';
No newline at end of file
42 strcpy(nmeastring,strnmea);
No newline at end of file
43 split_code();
No newline at end of file
44 return true;
No newline at end of file
45 }
No newline at end of file
46
No newline at end of file
47 char* nmea_code::get_string() {
No newline at end of file
48 size_t len = strlen(nmeastring);
No newline at end of file
49 char* strnmea = new char[len];
No newline at end of file
50 strcpy(strnmea,nmeastring);
No newline at end of file
51 return strnmea;
No newline at end of file
52 }
No newline at end of file
53
No newline at end of file
54 char* nmea_code::get_parameter(int index){
No newline at end of file
55 if( (index >= 0 ) && ( index < num_params ) )
No newline at end of file
56 {
No newline at end of file
57 char *elem = new char[strlen(nmeasplit[index])];
No newline at end of file
58 strcpy(elem,nmeasplit[index]);
No newline at end of file
59 return elem;
No newline at end of file
60 }
No newline at end of file
61 return NULL;
No newline at end of file
62 }
No newline at end of file
63
No newline at end of file
64
No newline at end of file
65 void nmea_code::split_code(void) {
No newline at end of file
66 char* params[20];
No newline at end of file
67
No newline at end of file
68 size_t sz = strlen(nmeastring);
No newline at end of file
69 char* code = new char[sz+1];
No newline at end of file
70 //code[sz]='\0';
No newline at end of file
71 strcpy(code,nmeastring);
No newline at end of file
72
No newline at end of file
73 code = strtok(code,"$,");
No newline at end of file
74 int i=0;
No newline at end of file
75 while (code != NULL)
No newline at end of file
76 {
No newline at end of file
77 sz = strlen(code);
No newline at end of file
78 params[i] = new char[sz+1];
No newline at end of file
79 params[i][sz]='\0';
No newline at end of file
80 strcpy(params[i++],code);
No newline at end of file
81 code = strtok (NULL, " ,.-");
No newline at end of file
82 }
No newline at end of file
83 num_params=i;
No newline at end of file
84 nmeasplit = new char* [i];
No newline at end of file
85
No newline at end of file
86 for(int j=0;j<i;j++){
No newline at end of file
87 nmeasplit[j] = params[j];
No newline at end of file
88 }
No newline at end of file
89 }
No newline at end of file
90
No newline at end of file
91 No newline at end of file
@@ -0,0 +1,39
1 /*
No newline at end of file
2 * nmea_code.h
No newline at end of file
3 *
No newline at end of file
4 * Created on: Oct 29, 2014
No newline at end of file
5 * Author: Alan Aguilar Sologuren
No newline at end of file
6 */
No newline at end of file
7
No newline at end of file
8 #ifndef PARSE_NMEA_CODE_H_
No newline at end of file
9 #define PARSE_NMEA_CODE_H_
No newline at end of file
10
No newline at end of file
11 class nmea_code {
No newline at end of file
12 public:
No newline at end of file
13 nmea_code();
No newline at end of file
14 virtual ~nmea_code();
No newline at end of file
15
No newline at end of file
16 bool set_string(const char*);
No newline at end of file
17 char* get_string();
No newline at end of file
18 char* get_parameter(int);
No newline at end of file
19
No newline at end of file
20
No newline at end of file
21
No newline at end of file
22 nmea_code* next(void){return p_next;};
No newline at end of file
23 nmea_code* prev(void){return p_prev;};
No newline at end of file
24 nmea_code& operator >>(nmea_code&);
No newline at end of file
25 nmea_code& operator <<(nmea_code&);
No newline at end of file
26
No newline at end of file
27 bool set_next(nmea_code* ptr){p_next = ptr; return true;};
No newline at end of file
28 bool set_prev(nmea_code* ptr){p_prev = ptr; return true;};
No newline at end of file
29
No newline at end of file
30 private:
No newline at end of file
31 nmea_code* p_next;
No newline at end of file
32 nmea_code* p_prev;
No newline at end of file
33 char* nmeastring;
No newline at end of file
34 char** nmeasplit;
No newline at end of file
35 int num_params;
No newline at end of file
36 void split_code(void);
No newline at end of file
37 };
No newline at end of file
38
No newline at end of file
39 #endif /* PARSE_NMEA_CODE_H_ */ No newline at end of file
@@ -0,0 +1,33
1 /*
No newline at end of file
2 * code_parser.cpp
No newline at end of file
3 *
No newline at end of file
4 * Created on: Oct 29, 2014
No newline at end of file
5 * Author: Alan Aguilar Sologuren
No newline at end of file
6 */
No newline at end of file
7
No newline at end of file
8 #include "code_parser.h"
No newline at end of file
9 #include <algorithm>
No newline at end of file
10 #include <string>
No newline at end of file
11 #include <cstring>
No newline at end of file
12
No newline at end of file
13 code_parser::code_parser():
No newline at end of file
14 parser(NULL){
No newline at end of file
15 subscribe_nmea_codes(supported_codes);
No newline at end of file
16 }
No newline at end of file
17
No newline at end of file
18 code_parser::~code_parser() {
No newline at end of file
19
No newline at end of file
20 }
No newline at end of file
21
No newline at end of file
22 bool code_parser::parse_nmea(nmea_code* nc, gnss_info* gi) {
No newline at end of file
23 std::string cd(nc->get_parameter(0));
No newline at end of file
24 std::transform(cd.begin(), cd.end(),cd.begin(), ::toupper);
No newline at end of file
25 parser=supported_codes[cd];
No newline at end of file
26 if(parser!=NULL)
No newline at end of file
27 {
No newline at end of file
28 parser(nc,gi);
No newline at end of file
29 return true;
No newline at end of file
30 }
No newline at end of file
31 return false;
No newline at end of file
32 }
No newline at end of file
33 No newline at end of file
@@ -0,0 +1,29
1 /*
No newline at end of file
2 * code_parser.h
No newline at end of file
3 *
No newline at end of file
4 * Created on: Oct 29, 2014
No newline at end of file
5 * Author: Alan Aguilar Sologuren
No newline at end of file
6 */
No newline at end of file
7
No newline at end of file
8 #ifndef PARSE_CODE_PARSER_H_
No newline at end of file
9 #define PARSE_CODE_PARSER_H_
No newline at end of file
10
No newline at end of file
11 #include "nmea_defs.h"
No newline at end of file
12 /**
No newline at end of file
13 * class code_parser
No newline at end of file
14 * se encarga de decodificar la informacion de una trama NMEA
No newline at end of file
15 *
No newline at end of file
16 */
No newline at end of file
17 class code_parser {
No newline at end of file
18 public:
No newline at end of file
19 code_parser();
No newline at end of file
20 virtual ~code_parser();
No newline at end of file
21
No newline at end of file
22 bool parse_nmea(nmea_code*, gnss_info*);
No newline at end of file
23
No newline at end of file
24 private:
No newline at end of file
25 pnmea_parse parser;
No newline at end of file
26 code supported_codes;
No newline at end of file
27 };
No newline at end of file
28
No newline at end of file
29 #endif /* PARSE_CODE_PARSER_H_ */ No newline at end of file
@@ -0,0 +1,12
1 /*
No newline at end of file
2 * gpalm_parse.cpp
No newline at end of file
3 *
No newline at end of file
4 * Created on: Oct 29, 2014
No newline at end of file
5 * Author: Alan Aguilar Sologuren
No newline at end of file
6 */
No newline at end of file
7
No newline at end of file
8 #include "nmea_defs.h"
No newline at end of file
9
No newline at end of file
10 int gpalm_parse(nmea_code*, gnss_info*){
No newline at end of file
11 return 0;
No newline at end of file
12 } No newline at end of file
@@ -0,0 +1,12
1 /*
No newline at end of file
2 * gpgga_parse.cpp
No newline at end of file
3 *
No newline at end of file
4 * Created on: Oct 29, 2014
No newline at end of file
5 * Author: Alan Aguilar Sologuren
No newline at end of file
6 */
No newline at end of file
7
No newline at end of file
8 #include "nmea_defs.h"
No newline at end of file
9
No newline at end of file
10 int gpgga_parse(nmea_code*, gnss_info*){
No newline at end of file
11 return 0;
No newline at end of file
12 } No newline at end of file
@@ -0,0 +1,12
1 /*
No newline at end of file
2 * gpgll_parse.cpp
No newline at end of file
3 *
No newline at end of file
4 * Created on: Oct 29, 2014
No newline at end of file
5 * Author: Alan Aguilar Sologuren
No newline at end of file
6 */
No newline at end of file
7
No newline at end of file
8 #include "nmea_defs.h"
No newline at end of file
9
No newline at end of file
10 int gpgll_parse(nmea_code*, gnss_info*){
No newline at end of file
11 return 0;
No newline at end of file
12 } No newline at end of file
@@ -0,0 +1,12
1 /*
No newline at end of file
2 * gpgsa_parse.cpp
No newline at end of file
3 *
No newline at end of file
4 * Created on: Oct 29, 2014
No newline at end of file
5 * Author: Alan Aguilar Sologuren
No newline at end of file
6 */
No newline at end of file
7
No newline at end of file
8 #include "nmea_defs.h"
No newline at end of file
9
No newline at end of file
10 int gpgsa_parse(nmea_code*, gnss_info*){
No newline at end of file
11 return 0;
No newline at end of file
12 } No newline at end of file
@@ -0,0 +1,12
1 /*
No newline at end of file
2 * gpgsv_parse.cpp
No newline at end of file
3 *
No newline at end of file
4 * Created on: Oct 29, 2014
No newline at end of file
5 * Author: Alan Aguilar Sologuren
No newline at end of file
6 */
No newline at end of file
7
No newline at end of file
8 #include "nmea_defs.h"
No newline at end of file
9
No newline at end of file
10 int gpgsv_parse(nmea_code*, gnss_info*){
No newline at end of file
11 return 0;
No newline at end of file
12 } No newline at end of file
@@ -0,0 +1,12
1 /*
No newline at end of file
2 * gprmc_parse.cpp
No newline at end of file
3 *
No newline at end of file
4 * Created on: Oct 29, 2014
No newline at end of file
5 * Author: Alan Aguilar Sologuren
No newline at end of file
6 */
No newline at end of file
7
No newline at end of file
8 #include "nmea_defs.h"
No newline at end of file
9
No newline at end of file
10 int gprmc_parse(nmea_code*, gnss_info*){
No newline at end of file
11 return 0;
No newline at end of file
12 } No newline at end of file
@@ -0,0 +1,12
1 /*
No newline at end of file
2 * gpvtg_parse.cpp
No newline at end of file
3 *
No newline at end of file
4 * Created on: Oct 29, 2014
No newline at end of file
5 * Author: Alan Aguilar Sologuren
No newline at end of file
6 */
No newline at end of file
7
No newline at end of file
8 #include "nmea_defs.h"
No newline at end of file
9
No newline at end of file
10 int gpvtg_parse(nmea_code*, gnss_info*){
No newline at end of file
11 return 0;
No newline at end of file
12 } No newline at end of file
@@ -0,0 +1,39
1 /*
No newline at end of file
2 * nmea_defs.cpp
No newline at end of file
3 *
No newline at end of file
4 * Created on: Oct 30, 2014
No newline at end of file
5 * Author: Alan Aguilar Sologuren
No newline at end of file
6 */
No newline at end of file
7
No newline at end of file
8 #include "nmea_defs.h"
No newline at end of file
9 #include <map>
No newline at end of file
10 #include <string>
No newline at end of file
11
No newline at end of file
12
No newline at end of file
13 void subscribe_nmea_codes(code& supported_codes){
No newline at end of file
14 // standard NMEA codes
No newline at end of file
15 supported_codes["GPALM"] = &gpalm_parse;
No newline at end of file
16 // GARMIN's NMEA codes
No newline at end of file
17 supported_codes["PGRMI"] = &pgrmi_parse;
No newline at end of file
18 supported_codes["PGRMC"] = &pgrmc_parse;
No newline at end of file
19 supported_codes["PGRMC1"] = &pgrmc1_parse;
No newline at end of file
20 supported_codes["PGRMO"] = &pgrmo_parse;
No newline at end of file
21
No newline at end of file
22 /**
No newline at end of file
23 * receptor transmite estos codigos
No newline at end of file
24 */
No newline at end of file
25 // standard NMEA codes
No newline at end of file
26 supported_codes["GPGGA"] = &gpgga_parse;
No newline at end of file
27 supported_codes["GPGSA"] = &gpgsa_parse;
No newline at end of file
28 supported_codes["GPGSV"] = &gpgsv_parse;
No newline at end of file
29 supported_codes["GPRMC"] = &gprmc_parse;
No newline at end of file
30 supported_codes["GPVTG"] = &gpvtg_parse;
No newline at end of file
31 supported_codes["GPGLL"] = &gpgll_parse;
No newline at end of file
32 // GARMIN's NMEA codes
No newline at end of file
33 supported_codes["PGRME"] = &pgrme_parse;
No newline at end of file
34 supported_codes["PGRMF"] = &pgrmf_parse;
No newline at end of file
35 supported_codes["PGRMM"] = &pgrmm_parse;
No newline at end of file
36 supported_codes["PGRMT"] = &pgrmt_parse;
No newline at end of file
37 supported_codes["PGRMV"] = &pgrmv_parse;
No newline at end of file
38 supported_codes["PGRMB"] = &pgrmb_parse;
No newline at end of file
39 } No newline at end of file
@@ -0,0 +1,46
1 /*
No newline at end of file
2 * nmea_defs.h
No newline at end of file
3 *
No newline at end of file
4 * Created on: Oct 29, 2014
No newline at end of file
5 * Author: Alan Aguilar Sologuren
No newline at end of file
6 */
No newline at end of file
7
No newline at end of file
8 #pragma once
No newline at end of file
9
No newline at end of file
10 #ifndef PARSE_NMEA_DEFS_H_
No newline at end of file
11 #define PARSE_NMEA_DEFS_H_
No newline at end of file
12
No newline at end of file
13 #include "../nmea_code.h"
No newline at end of file
14 #include "../gnss_info.h"
No newline at end of file
15 #include <map>
No newline at end of file
16 #include <string>
No newline at end of file
17
No newline at end of file
18
No newline at end of file
19 typedef int (*pnmea_parse)(nmea_code*, gnss_info*);
No newline at end of file
20 typedef std::map<std::string, pnmea_parse> code;
No newline at end of file
21
No newline at end of file
22
No newline at end of file
23 int gpalm_parse(nmea_code*, gnss_info*);
No newline at end of file
24 int pgrmi_parse(nmea_code*, gnss_info*);
No newline at end of file
25 int pgrmc_parse(nmea_code*, gnss_info*);
No newline at end of file
26 int pgrmc1_parse(nmea_code*, gnss_info*);
No newline at end of file
27 int pgrmo_parse(nmea_code*, gnss_info*);
No newline at end of file
28
No newline at end of file
29 int gpgga_parse(nmea_code*, gnss_info*);
No newline at end of file
30 int gpgsa_parse(nmea_code*, gnss_info*);
No newline at end of file
31 int gpgsv_parse(nmea_code*, gnss_info*);
No newline at end of file
32 int gprmc_parse(nmea_code*, gnss_info*);
No newline at end of file
33 int gpvtg_parse(nmea_code*, gnss_info*);
No newline at end of file
34 int gpgll_parse(nmea_code*, gnss_info*);
No newline at end of file
35 int pgrme_parse(nmea_code*, gnss_info*);
No newline at end of file
36 int pgrmf_parse(nmea_code*, gnss_info*);
No newline at end of file
37 int pgrmm_parse(nmea_code*, gnss_info*);
No newline at end of file
38 int pgrmt_parse(nmea_code*, gnss_info*);
No newline at end of file
39 int pgrmv_parse(nmea_code*, gnss_info*);
No newline at end of file
40 int pgrmb_parse(nmea_code*, gnss_info*);
No newline at end of file
41
No newline at end of file
42
No newline at end of file
43
No newline at end of file
44 void subscribe_nmea_codes(code&);
No newline at end of file
45
No newline at end of file
46 #endif /* PARSE_NMEA_DEFS_H_ */ No newline at end of file
@@ -0,0 +1,12
1 /*
No newline at end of file
2 * pgrmb_parse.cpp
No newline at end of file
3 *
No newline at end of file
4 * Created on: Oct 29, 2014
No newline at end of file
5 * Author: Alan Aguilar Sologuren
No newline at end of file
6 */
No newline at end of file
7
No newline at end of file
8 #include "nmea_defs.h"
No newline at end of file
9
No newline at end of file
10 int pgrmb_parse(nmea_code*, gnss_info*){
No newline at end of file
11 return 0;
No newline at end of file
12 } No newline at end of file
@@ -0,0 +1,12
1 /*
No newline at end of file
2 * pgrmc1_parse.cpp
No newline at end of file
3 *
No newline at end of file
4 * Created on: Oct 29, 2014
No newline at end of file
5 * Author: Alan Aguilar Sologuren
No newline at end of file
6 */
No newline at end of file
7
No newline at end of file
8 #include "nmea_defs.h"
No newline at end of file
9
No newline at end of file
10 int pgrmc1_parse(nmea_code*, gnss_info*){
No newline at end of file
11 return 0;
No newline at end of file
12 } No newline at end of file
@@ -0,0 +1,12
1 /*
No newline at end of file
2 * pgrmc_parce.cpp
No newline at end of file
3 *
No newline at end of file
4 * Created on: Oct 29, 2014
No newline at end of file
5 * Author: Alan Aguilar Sologuren
No newline at end of file
6 */
No newline at end of file
7
No newline at end of file
8 #include "nmea_defs.h"
No newline at end of file
9
No newline at end of file
10 int pgrmc_parse(nmea_code*, gnss_info*){
No newline at end of file
11 return 0;
No newline at end of file
12 } No newline at end of file
@@ -0,0 +1,12
1 /*
No newline at end of file
2 * pgrme_parse.cpp
No newline at end of file
3 *
No newline at end of file
4 * Created on: Oct 29, 2014
No newline at end of file
5 * Author: Alan Aguilar Sologuren
No newline at end of file
6 */
No newline at end of file
7
No newline at end of file
8 #include "nmea_defs.h"
No newline at end of file
9
No newline at end of file
10 int pgrme_parse(nmea_code*, gnss_info*){
No newline at end of file
11 return 0;
No newline at end of file
12 } No newline at end of file
@@ -0,0 +1,12
1 /*
No newline at end of file
2 * pgrmf_parse.cpp
No newline at end of file
3 *
No newline at end of file
4 * Created on: Oct 29, 2014
No newline at end of file
5 * Author: Alan Aguilar Sologuren
No newline at end of file
6 */
No newline at end of file
7
No newline at end of file
8 #include "nmea_defs.h"
No newline at end of file
9
No newline at end of file
10 int pgrmf_parse(nmea_code*, gnss_info*){
No newline at end of file
11 return 0;
No newline at end of file
12 } No newline at end of file
@@ -0,0 +1,12
1 /*
No newline at end of file
2 * pgrmi_parse.cpp
No newline at end of file
3 *
No newline at end of file
4 * Created on: Oct 29, 2014
No newline at end of file
5 * Author: Alan Aguilar Sologuren
No newline at end of file
6 */
No newline at end of file
7
No newline at end of file
8 #include "nmea_defs.h"
No newline at end of file
9
No newline at end of file
10 int pgrmi_parse(nmea_code*, gnss_info*){
No newline at end of file
11 return 0;
No newline at end of file
12 } No newline at end of file
@@ -0,0 +1,12
1 /*
No newline at end of file
2 * pgrmm_parse.cpp
No newline at end of file
3 *
No newline at end of file
4 * Created on: Oct 29, 2014
No newline at end of file
5 * Author: Alan Aguilar Sologuren
No newline at end of file
6 */
No newline at end of file
7
No newline at end of file
8 #include "nmea_defs.h"
No newline at end of file
9
No newline at end of file
10 int pgrmm_parse(nmea_code*, gnss_info*){
No newline at end of file
11 return 0;
No newline at end of file
12 } No newline at end of file
@@ -0,0 +1,12
1 /*
No newline at end of file
2 * pgrmo_parse.cpp
No newline at end of file
3 *
No newline at end of file
4 * Created on: Oct 29, 2014
No newline at end of file
5 * Author: Alan Aguilar Sologuren
No newline at end of file
6 */
No newline at end of file
7
No newline at end of file
8 #include "nmea_defs.h"
No newline at end of file
9
No newline at end of file
10 int pgrmo_parse(nmea_code*, gnss_info*){
No newline at end of file
11 return 0;
No newline at end of file
12 } No newline at end of file
@@ -0,0 +1,12
1 /*
No newline at end of file
2 * pgrmt_parse.cpp
No newline at end of file
3 *
No newline at end of file
4 * Created on: Oct 29, 2014
No newline at end of file
5 * Author: Alan Aguilar Sologuren
No newline at end of file
6 */
No newline at end of file
7
No newline at end of file
8 #include "nmea_defs.h"
No newline at end of file
9
No newline at end of file
10 int pgrmt_parse(nmea_code*, gnss_info*){
No newline at end of file
11 return 0;
No newline at end of file
12 } No newline at end of file
@@ -0,0 +1,12
1 /*
No newline at end of file
2 * pgrmv_parse.cpp
No newline at end of file
3 *
No newline at end of file
4 * Created on: Oct 29, 2014
No newline at end of file
5 * Author: Alan Aguilar Sologuren
No newline at end of file
6 */
No newline at end of file
7
No newline at end of file
8 #include "nmea_defs.h"
No newline at end of file
9
No newline at end of file
10 int pgrmv_parse(nmea_code*, gnss_info*){
No newline at end of file
11 return 0;
No newline at end of file
12 } No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now