diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-07-23 01:26:41 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-07-23 01:31:08 +1200 |
commit | 83d2fdc694ca75eaef53adef76dad938e1bd6262 (patch) | |
tree | 4cfdb03a5b9ec5993c280bec1abe9ec4e37781fe /test/org/traccar | |
parent | 8e5441831a6b70fa2af12385c530fd40e56898ae (diff) | |
download | traccar-server-83d2fdc694ca75eaef53adef76dad938e1bd6262.tar.gz traccar-server-83d2fdc694ca75eaef53adef76dad938e1bd6262.tar.bz2 traccar-server-83d2fdc694ca75eaef53adef76dad938e1bd6262.zip |
Support GT02 command responses
Diffstat (limited to 'test/org/traccar')
-rw-r--r-- | test/org/traccar/protocol/Gt02ProtocolDecoderTest.java | 6 |
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( |