aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-07-27 09:00:10 +0200
committerAnton Tananaev <anton.tananaev@gmail.com>2014-07-27 09:00:10 +0200
commitdc775e0e114737e3078270bf45d131446b8e6058 (patch)
tree08fbb2bbf02a5d42fdfebcd49926047fcbaacd2f /test
parent52315f99445c347b421dcae6a4c977d79d756b6a (diff)
downloadtrackermap-server-dc775e0e114737e3078270bf45d131446b8e6058.tar.gz
trackermap-server-dc775e0e114737e3078270bf45d131446b8e6058.tar.bz2
trackermap-server-dc775e0e114737e3078270bf45d131446b8e6058.zip
Support PT501 device (fix #786)
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/Pt502ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Pt502ProtocolDecoderTest.java b/test/org/traccar/protocol/Pt502ProtocolDecoderTest.java
index 8ca902a2c..bf7a3962c 100644
--- a/test/org/traccar/protocol/Pt502ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Pt502ProtocolDecoderTest.java
@@ -29,6 +29,9 @@ public class Pt502ProtocolDecoderTest {
verify(decoder.decode(null, null,
"$POS,353451000164,082405.000,A,1254.8501,N,10051.6752,E,0.00,237.99,160513,,,A/0000,0/0/55000//a71/"));
+
+ verify(decoder.decode(null, null,
+ "\u00bf\u00fb\u0059\u006c\u0000$POS,012896008586486,154215.000,A,0118.0143,S,03646.9144,E,0.00,83.29,180714,,,A/0000,0/0/29200//644/"));
}