aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-03-19 21:13:08 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-03-19 21:13:08 +1300
commit04ddfc29d8a3e3df653eb9f1f76e453602995fc9 (patch)
tree34f4de015f29828fadea4e55a9ebe7e487e33dfc /test
parent185dfcb02c504fbceae89ece513e51a630a39870 (diff)
downloadtraccar-server-04ddfc29d8a3e3df653eb9f1f76e453602995fc9.tar.gz
traccar-server-04ddfc29d8a3e3df653eb9f1f76e453602995fc9.tar.bz2
traccar-server-04ddfc29d8a3e3df653eb9f1f76e453602995fc9.zip
Implement GL200 GSM message support
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/Gl200ProtocolDecoderTest.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
index e2ac176f0..a09e11449 100644
--- a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
@@ -10,7 +10,13 @@ public class Gl200ProtocolDecoderTest extends ProtocolTest {
Gl200ProtocolDecoder decoder = new Gl200ProtocolDecoder(new Gl200Protocol());
- verifyNothing(decoder, text(
+ verifyAttributes(decoder, text(
+ "+RESP:GTGSM,400201,862365030025161,STR,0234,0015,003a,62a2,16,,0234,0015,003a,56a2,14,,0234,0015,003a,062a,13,,0234,0015,003a,32d9,11,,0234,0015,003a,56a0,11,,,,,,,,0234,0015,003a,7489,17,,20170219200048,0033$"));
+
+ verifyAttributes(decoder, text(
+ "+RESP:GTGSM,400201,862365030025161,STR,0234,0015,003a,56a2,18,,0234,0015,003a,77bc,14,,0234,0015,003a,32d9,12,,0234,0015,003a,062a,12,,0234,0015,003a,62a2,11,,0234,0015,003a,56a0,10,,0234,0015,003a,7489,15,,20170219080049,0030$"));
+
+ verifyAttributes(decoder, text(
"+RESP:GTGSM,400201,862365030034940,STR,0234,0030,0870,2469,19,,0234,0030,0870,35ee,18,,0234,0030,0870,16ac,12,,0234,0030,0870,16b2,11,,0234,0030,0870,360f,6,,0234,0030,0870,165d,6,,0234,0030,0870,35ef,17,,20170215220049,008D$"));
verifyPosition(decoder, text(