aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/StarLinkProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-06-02 11:43:44 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-06-02 11:43:44 -0700
commit7976f916d31c8efde8cf37471d665c1958b3ee1d (patch)
tree53bbb615add7952204a4496a51c9570b396ce6f0 /src/test/java/org/traccar/protocol/StarLinkProtocolDecoderTest.java
parent808c78a5e6074a3e5051396280b0cafc026ff673 (diff)
downloadtrackermap-server-7976f916d31c8efde8cf37471d665c1958b3ee1d.tar.gz
trackermap-server-7976f916d31c8efde8cf37471d665c1958b3ee1d.tar.bz2
trackermap-server-7976f916d31c8efde8cf37471d665c1958b3ee1d.zip
Update StarLink decoder
Diffstat (limited to 'src/test/java/org/traccar/protocol/StarLinkProtocolDecoderTest.java')
-rw-r--r--src/test/java/org/traccar/protocol/StarLinkProtocolDecoderTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/StarLinkProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/StarLinkProtocolDecoderTest.java
index 70e173284..97246a665 100644
--- a/src/test/java/org/traccar/protocol/StarLinkProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/StarLinkProtocolDecoderTest.java
@@ -49,6 +49,11 @@ public class StarLinkProtocolDecoderTest extends ProtocolTest {
verifyPosition(decoder, text(
"$SLU006968,06,375154,170117052613,04,170117052612,+3203.2079,+03448.1369,000.0,300,085725,1,1,0,0,0,0,0,0,10422,36201,14.287,04.084,,1,0*5B"));
+ decoder.setFormat("#EDT#,#EID#,#PDT#,#LAT#,#LONG#,#SPD#,#HEAD#,#ODO#,#LAC#,#CID#,#VIN#,#VBAT#");
+
+ verifyPosition(decoder, text(
+ "$SLU352353083185436,06,85,190527214903,01,190527214903,+0614.1883,-07535.5033,000.0,000,000082.505,5070,50473,0,12.148,03.507,,100,0.02,35.0,1,1513,60,1,99*30"));
+
}
}