aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2022-01-04 22:11:03 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2022-01-04 22:11:03 -0800
commited02f30d6c770eb8ee47062ac007007450702d26 (patch)
tree95949e290cfd810fa82c7faef41ef3e6f64ce84f /src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
parent6a6b3f601078eacad5cb92ed78afcad3543f667f (diff)
downloadtrackermap-server-ed02f30d6c770eb8ee47062ac007007450702d26.tar.gz
trackermap-server-ed02f30d6c770eb8ee47062ac007007450702d26.tar.bz2
trackermap-server-ed02f30d6c770eb8ee47062ac007007450702d26.zip
Support Prime ATW (G7) format
Diffstat (limited to 'src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java')
-rw-r--r--src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
index 8978f64e5..9fab7e010 100644
--- a/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
@@ -11,6 +11,10 @@ public class Gl200TextProtocolDecoderTest extends ProtocolTest {
var decoder = new Gl200TextProtocolDecoder(null);
+ verifyAttribute(decoder, buffer(
+ "+RESP:GTFRI,423031,866873025895726,,0,1,1,0,1,16,0.0,351,51.6,121.391063,31.164633,20181212072535,460,00,1877,DAE,00,3,85,20181212072535,002C$"),
+ Position.KEY_BATTERY_LEVEL, 85);
+
verifyAttributes(decoder, buffer(
"+RESP:GTINF,DC0103,865284049247079,gv600mg,21,89883070000007211665,22,0,11,12913,12917,4.26,0,1,,,20210216154607,1,79,,01,00,,,20210216104606,1EBE$"));