aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-08-05 22:44:47 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-08-05 22:44:47 -0700
commit12341a04c3c3bd0fe9b0d5d832ee6702bdbd7e18 (patch)
tree0d2b998d89eef34f7d29c4884a5e61b8d4fd136b /src/test/java/org
parentb5e9d84cfeb8d4e6a4e1133a2e0510652be1de6b (diff)
downloadtrackermap-server-12341a04c3c3bd0fe9b0d5d832ee6702bdbd7e18.tar.gz
trackermap-server-12341a04c3c3bd0fe9b0d5d832ee6702bdbd7e18.tar.bz2
trackermap-server-12341a04c3c3bd0fe9b0d5d832ee6702bdbd7e18.zip
Support Micron protocol
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
index 3e5de0854..12e64cd6d 100644
--- a/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class Gl200TextProtocolDecoderTest extends ProtocolTest {
Gl200TextProtocolDecoder decoder = new Gl200TextProtocolDecoder(null);
+ verifyPositions(decoder, buffer(
+ "+RESP:GTFRI,423031,355154083021002,Bolt4G,0,0,0,0,1,1.0,0.2,0,245.3,-85.630193,42.975280,20190729185934,310,410,500b,B0E320F,31,-1,100,20190729185934,0010$"));
+
verifyAttribute(decoder, buffer(
"+RESP:GTCTN,440200,866427030007379,NOKIA3,0,0,2,,9,1,0.1,174,48.7,-1.061812,51.435270,20190717080549,0234,0015,0025,145A,,,0000,20190717081008,1D3B$"),
Position.KEY_BATTERY_LEVEL, 9);