aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-03-13 01:00:09 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-03-13 01:00:09 +1300
commit612547f1b0cae5e0ba39359ed349799f2a87ca2f (patch)
tree0714fcfa5b72a853ff994d348863a0f3c0e56e4c /test
parent708c38728c8c250ba7205cd7fd77182895d1ea07 (diff)
downloadtrackermap-server-612547f1b0cae5e0ba39359ed349799f2a87ca2f.tar.gz
trackermap-server-612547f1b0cae5e0ba39359ed349799f2a87ca2f.tar.bz2
trackermap-server-612547f1b0cae5e0ba39359ed349799f2a87ca2f.zip
Handle missing temperature (fix #3806)
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/Gl200TextProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gl200TextProtocolDecoderTest.java b/test/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
index 9ec67273c..56a159768 100644
--- a/test/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class Gl200TextProtocolDecoderTest extends ProtocolTest {
Gl200TextProtocolDecoder decoder = new Gl200TextProtocolDecoder(new Gl200Protocol());
verifyPositions(decoder, buffer(
+ "+RESP:GTERI,310603,863286023345490,,00000002,,10,1,2,0.3,0,155.7,8.000000,52.000000,20171215213040,0262,0002,1450,9F13,00,1130.3,00539:27:19,,,110000,2,1,28FFD5239115034E,1,,20171215213041,27C7$"));
+
+ verifyPositions(decoder, buffer(
"+RESP:GTERI,250C02,868789023691057,,00000019,,10,1,1,0.0,196,2258.0,-99.201807,19.559242,20180214002957,0334,0003,235B,7F8D,00,6786.7,,,,100,110000,1,0394,1,4,100.0,100.0,20180214003006,C72B$"));
verifyAttributes(decoder, buffer(