diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-11-05 23:47:10 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-11-05 23:47:10 -0800 |
commit | 56cf856e0d08b32d7b637b066e0f735209d86e21 (patch) | |
tree | dd52f96dbf0a41525d68d59a3ae3366559ccf630 /src/test/java/org/traccar/protocol | |
parent | a41841ac8ce200aa0c3836f4c35ce4524eef077c (diff) | |
download | trackermap-server-56cf856e0d08b32d7b637b066e0f735209d86e21.tar.gz trackermap-server-56cf856e0d08b32d7b637b066e0f735209d86e21.tar.bz2 trackermap-server-56cf856e0d08b32d7b637b066e0f735209d86e21.zip |
Support Suntech ST390 protocol
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-rw-r--r-- | src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java index 3c26a9566..da1ef8ab4 100644 --- a/src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java @@ -62,6 +62,9 @@ public class SuntechProtocolDecoderTest extends ProtocolTest { SuntechProtocolDecoder decoder = new SuntechProtocolDecoder(null); + verifyPosition(decoder, buffer( + "ST390STT;007579860;18;302;20191101;11:28:51;145b49;-23.267030;-047.298142;000.000;000.00;9;1;5;11.93;000000;2;0003;000002;4.03;0;20010000;22470;724;05;-58;5211;1")); + verifyAttribute(decoder, binary( "81004e05200013383fffff3401000300130b020b2a0500000000000000000000000047f9ec846a06500000000012010200000123a1002904ba00010fb40000000000000000000000000000000000005989"), Position.KEY_IGNITION, false); |