projects
/
profile
/
ivi
/
automotive-message-broker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6558d4c
)
Added incomplete message to gpsnmea test
author
Kevron Rees
<tripzero.kev@gmail.com>
Tue, 18 Mar 2014 15:39:15 +0000
(08:39 -0700)
committer
Kevron Rees
<tripzero.kev@gmail.com>
Tue, 18 Mar 2014 15:39:15 +0000
(08:39 -0700)
plugins/gpsnmea/gpsnmea.cpp
patch
|
blob
|
history
diff --git
a/plugins/gpsnmea/gpsnmea.cpp
b/plugins/gpsnmea/gpsnmea.cpp
index
e1c83b9
..
5e10c99
100644
(file)
--- a/
plugins/gpsnmea/gpsnmea.cpp
+++ b/
plugins/gpsnmea/gpsnmea.cpp
@@
-401,6
+401,11
@@
GpsNmeaSource::GpsNmeaSource(AbstractRoutingEngine *re, map<string, string> conf
location.parse("GPRMC,060136.00,A,3101.40475,N,12126.87095,E,0.760,,160114,,,A*74");
DebugOut(0)<<"lon: "<<location.longitude().toString()<<endl;
DebugOut(0)<<"lat: "<<location.latitude().toString()<<endl;
location.parse("GPRMC,060136.00,A,3101.40475,N,12126.87095,E,0.760,,160114,,,A*74");
DebugOut(0)<<"lon: "<<location.longitude().toString()<<endl;
DebugOut(0)<<"lat: "<<location.latitude().toString()<<endl;
+
+ //Test incomplete message:
+ location.parse("GPRMC,023633.00,V,,,,,,,180314,,,N*75");
+ DebugOut(0)<<"lon: "<<location.longitude().toString()<<endl;
+ DebugOut(0)<<"lat: "<<location.latitude().toString()<<endl;
}
std::string btaddapter = config["bluetoothAdapter"];
}
std::string btaddapter = config["bluetoothAdapter"];