diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-03-18 09:43:24 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-03-18 09:43:24 +1300 |
commit | faeaad5466b0acb0d23a25f78e3c4ab0ec56a401 (patch) | |
tree | 956ec5a2b205b21cff461de121c7e2ec0bf03e87 /src | |
parent | 8432b3660b7cc40c8734cc00817f176589d9d18e (diff) | |
download | trackermap-server-faeaad5466b0acb0d23a25f78e3c4ab0ec56a401.tar.gz trackermap-server-faeaad5466b0acb0d23a25f78e3c4ab0ec56a401.tar.bz2 trackermap-server-faeaad5466b0acb0d23a25f78e3c4ab0ec56a401.zip |
Improve GlobalSat testing
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/protocol/GlobalSatProtocolDecoder.java | 10 |
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 |