aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2022-01-26 19:43:49 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2022-01-26 19:43:58 -0800
commitdecc6d4c592b9511fda3db943f43e4a6d29841f0 (patch)
tree97c242dc312f4b8afe8f3f2f228addc8fed07ee4 /src/test/java/org/traccar/protocol
parentae4e73babace710a004172c77a88c5f2dfba3e7b (diff)
downloadtrackermap-server-decc6d4c592b9511fda3db943f43e4a6d29841f0.tar.gz
trackermap-server-decc6d4c592b9511fda3db943f43e4a6d29841f0.tar.bz2
trackermap-server-decc6d4c592b9511fda3db943f43e4a6d29841f0.zip
Support Lanyard device
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-rw-r--r--src/test/java/org/traccar/protocol/S168ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/S168ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/S168ProtocolDecoderTest.java
index d4918e121..6bdf19182 100644
--- a/src/test/java/org/traccar/protocol/S168ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/S168ProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class S168ProtocolDecoderTest extends ProtocolTest {
var decoder = new S168ProtocolDecoder(null);
+ verifyPosition(decoder, text(
+ "S168#358511039001705#003a#01ca#LOCA:G;CELL:6,1cc,0,2479,de11150,2e,2479,d6e4546,31,2479,d6e4547,39,778c,787cc30,39,778c,787cc31,40,253f,6195502,32;GDATA:A,5,220117220950,22.779583,113.820633,5,296,35;ALERT:0080;STATUS:98,73;;FARM:0,0009,0000,010a,20220117220950;WIFI:10,CC-08-FB-A5-49-B3,-28,08-40-F3-7F-6C-A9,-59,A4-29-40-65-2C-42,-74,80-89-17-A5-6F-7B,-82,80-EA-07-82-93-C6,-82,FC-37-2B-34-D6-A1,-83,34-6B-5B-A9-49-15,-83,BC-46-99-B3-51-10,-84,BC-54-FC-53-0A-D1,-84,3C-CD-57-67-D1-32,-85"));
+
verifyNull(decoder, text(
"S168#358511139046180#00c9#0009#SYNC:0000"));