diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-10-06 21:48:12 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-06 21:48:12 +1300 |
commit | 453bd2ed647d66725790b35eaab4932bf86b3ad1 (patch) | |
tree | 46c95928f7ad89de3d30e905a6b4a3b58390baeb /test/org/traccar | |
parent | 534aa00430e507a43b581707a74ab08bce7d5827 (diff) | |
parent | c0d85d814cd6ca1cbbcc14ccefef7fb7e875f190 (diff) | |
download | trackermap-server-453bd2ed647d66725790b35eaab4932bf86b3ad1.tar.gz trackermap-server-453bd2ed647d66725790b35eaab4932bf86b3ad1.tar.bz2 trackermap-server-453bd2ed647d66725790b35eaab4932bf86b3ad1.zip |
Merge pull request #2413 from Abyss777/gl200
Handle GL200 ACK packets as command result
Diffstat (limited to 'test/org/traccar')
-rw-r--r-- | test/org/traccar/protocol/Gl200ProtocolDecoderTest.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java index 68c4b66a0..914db782e 100644 --- a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java @@ -163,6 +163,15 @@ public class Gl200ProtocolDecoderTest extends ProtocolTest { verifyNothing(decoder, text( "+ACK:GTHBD,1A0401,135790246811220,,20100214093254,11F0")); + verifyAttributes(decoder, text( + "+ACK:GTRTO,1A0800,860599000773978,GL300,VER,FFFF,20161006053520,0C19")); + + verifyAttributes(decoder, text( + "+ACK:GTJDC,0A0102,135790246811220,,0016,20090214093254,11F0")); + + verifyAttributes(decoder, text( + "+ACK:GTGEO,1A0102,135790246811220,,0,0008,20100310172830,11F0")); + } } |