From faeaad5466b0acb0d23a25f78e3c4ab0ec56a401 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 18 Mar 2015 09:43:24 +1300 Subject: Improve GlobalSat testing --- src/org/traccar/protocol/GlobalSatProtocolDecoder.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/org/traccar') 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 -- cgit v1.2.3