aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol')
-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