aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-03-18 09:43:24 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-03-18 09:43:24 +1300
commitfaeaad5466b0acb0d23a25f78e3c4ab0ec56a401 (patch)
tree956ec5a2b205b21cff461de121c7e2ec0bf03e87 /src/org
parent8432b3660b7cc40c8734cc00817f176589d9d18e (diff)
downloadtraccar-server-faeaad5466b0acb0d23a25f78e3c4ab0ec56a401.tar.gz
traccar-server-faeaad5466b0acb0d23a25f78e3c4ab0ec56a401.tar.bz2
traccar-server-faeaad5466b0acb0d23a25f78e3c4ab0ec56a401.zip
Improve GlobalSat testing
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/GlobalSatProtocolDecoder.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/GlobalSatProtocolDecoder.java b/src/org/traccar/protocol/GlobalSatProtocolDecoder.java
index 5e86c1ce3..fefeea969 100644
--- a/src/org/traccar/protocol/GlobalSatProtocolDecoder.java
+++ b/src/org/traccar/protocol/GlobalSatProtocolDecoder.java
@@ -48,7 +48,15 @@ public class GlobalSatProtocolDecoder extends BaseProtocolDecoder {
}
}
}
-
+
+ public void setFormat0(String format) {
+ format0 = format;
+ }
+
+ public void setFormat1(String format) {
+ format1 = format;
+ }
+
private Position decodeOriginal(Channel channel, String sentence) {
// Send acknowledgement