aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-08-04 02:06:51 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-08-04 02:06:51 +1200
commit3bc4e07dff292c22e29a1fa3bf9d07796d2e89b7 (patch)
tree522c4900bbabd922b488a70f00efb36d661b2271 /test
parentf182ae04a9857e13482421957140e1a70af2302b (diff)
downloadtraccar-server-3bc4e07dff292c22e29a1fa3bf9d07796d2e89b7.tar.gz
traccar-server-3bc4e07dff292c22e29a1fa3bf9d07796d2e89b7.tar.bz2
traccar-server-3bc4e07dff292c22e29a1fa3bf9d07796d2e89b7.zip
Decode GV500VC rssi value
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/Gl200TextProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gl200TextProtocolDecoderTest.java b/test/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
index e694022f2..9e2571916 100644
--- a/test/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
@@ -10,6 +10,12 @@ public class Gl200TextProtocolDecoderTest extends ProtocolTest {
Gl200TextProtocolDecoder decoder = new Gl200TextProtocolDecoder(new Gl200Protocol());
+ verifyNull(decoder, buffer(
+ "+RESP:GTINF,280500,A1000043D20139,GL300VC,41,,31,0,0,,,3.87,0,1,1,,,20170802150751,70,,48.0,,,20170802112145,03AC$"));
+
+ verifyAttributes(decoder, buffer(
+ "+RESP:GTINF,2D0300,A1000043D20139,1G1JC5444R7252367,,11,,31,0,1,12986,,4.16,0,2,,,20170802145640,,,,,,+0000,0,20170802145643,CD5A$"));
+
verifyPosition(decoder, buffer(
"+RESP:GTMPN,450102,865084030001323,gb100,0,1.6,0,-93.1,121.393023,31.164105,20170619103113,0460,0000,1806,2142,00,20170619103143,0512$"));