aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-07-23 01:26:41 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-07-23 01:31:08 +1200
commit83d2fdc694ca75eaef53adef76dad938e1bd6262 (patch)
tree4cfdb03a5b9ec5993c280bec1abe9ec4e37781fe /test
parent8e5441831a6b70fa2af12385c530fd40e56898ae (diff)
downloadtrackermap-server-83d2fdc694ca75eaef53adef76dad938e1bd6262.tar.gz
trackermap-server-83d2fdc694ca75eaef53adef76dad938e1bd6262.tar.bz2
trackermap-server-83d2fdc694ca75eaef53adef76dad938e1bd6262.zip
Support GT02 command responses
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/Gt02ProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gt02ProtocolDecoderTest.java b/test/org/traccar/protocol/Gt02ProtocolDecoderTest.java
index 3cfa0ea4a..c957acd6c 100644
--- a/test/org/traccar/protocol/Gt02ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gt02ProtocolDecoderTest.java
@@ -11,6 +11,12 @@ public class Gt02ProtocolDecoderTest extends ProtocolTest {
Gt02ProtocolDecoder decoder = new Gt02ProtocolDecoder(new Gt02Protocol());
verifyAttributes(decoder, binary(
+ "6868150000035889905895258400831c07415045584f4b210d0a"));
+
+ verifyAttributes(decoder, binary(
+ "68682d0000035889905895258400951c1f415045584572726f723a20506172616d65746572203120284f4e2f4f4646290d0a"));
+
+ verifyAttributes(decoder, binary(
"68680f0504035889905831401700df1a00000d0a"));
verifyAttributes(decoder, binary(