diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-03-18 10:56:46 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-03-18 10:56:46 +1300 |
commit | 8beecc6b90975c972ba76ffbb5a7c975de25530c (patch) | |
tree | bf51d20961b8ca87be146c2e1299da2babe5066a /test/org/traccar/protocol | |
parent | a32c9c12179efef2db2e04e86da446e23b6284a3 (diff) | |
download | traccar-server-8beecc6b90975c972ba76ffbb5a7c975de25530c.tar.gz traccar-server-8beecc6b90975c972ba76ffbb5a7c975de25530c.tar.bz2 traccar-server-8beecc6b90975c972ba76ffbb5a7c975de25530c.zip |
Add driver id for StarLink protocol
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r-- | test/org/traccar/protocol/StarLinkProtocolDecoderTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/StarLinkProtocolDecoderTest.java b/test/org/traccar/protocol/StarLinkProtocolDecoderTest.java index 8bd4427b3..d102ba426 100644 --- a/test/org/traccar/protocol/StarLinkProtocolDecoderTest.java +++ b/test/org/traccar/protocol/StarLinkProtocolDecoderTest.java @@ -11,6 +11,12 @@ public class StarLinkProtocolDecoderTest extends ProtocolTest { StarLinkProtocolDecoder decoder = new StarLinkProtocolDecoder(new StarLinkProtocol()); verifyPosition(decoder, text( + "$SLU0330D5,06,3556,170314063523,19,170314061634,+3211.7187,+03452.8106,000.0,332,015074,1,1,0,0,0,0,0,0,10443,32722,12.870,03.790,,0,0*FC")); + + verifyPosition(decoder, text( + "$SLU0330D5,06,3555,170314063453,20,170314061634,+3211.7187,+03452.8106,000.0,332,015074,1,1,0,0,0,0,0,0,10443,32722,12.838,03.790,,0,0,1,,1122*74")); + + verifyPosition(decoder, text( "$SLU006968,06,375153,170117051824,01,170117051823,+3203.2073,+03448.1360,000.0,300,085725,1,1,0,0,0,0,0,0,10422,36201,12.655,04.085,,0,0,0,99*45")); verifyPosition(decoder, text( |