aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/WatchProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-11-27 21:54:59 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-11-27 21:54:59 -0800
commit8d2df830d61243333d6785e179caa80592f1e970 (patch)
tree5fe7ca16fd504f58867e16fec235a7e5c445e5c8 /src/test/java/org/traccar/protocol/WatchProtocolDecoderTest.java
parent59847a8ffeab8ffaefd692798e7bbb173a2b92bc (diff)
downloadtrackermap-server-8d2df830d61243333d6785e179caa80592f1e970.tar.gz
trackermap-server-8d2df830d61243333d6785e179caa80592f1e970.tar.bz2
trackermap-server-8d2df830d61243333d6785e179caa80592f1e970.zip
Support KS01 4G protocol
Diffstat (limited to 'src/test/java/org/traccar/protocol/WatchProtocolDecoderTest.java')
-rw-r--r--src/test/java/org/traccar/protocol/WatchProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/WatchProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/WatchProtocolDecoderTest.java
index 4625e0eb4..260a1ff8d 100644
--- a/src/test/java/org/traccar/protocol/WatchProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/WatchProtocolDecoderTest.java
@@ -16,6 +16,9 @@ public class WatchProtocolDecoderTest extends ProtocolTest {
WatchProtocolDecoder decoder = new WatchProtocolDecoder(null);
verifyPosition(decoder, buffer(
+ "[3G*358839237678820*0122*ALCUSTOMER1,251120,081821,V,0.0,N,0.0,E,2.58,317.462,35.147,14,100,2,11089,0,00100008,1,1,460,01,42308,101992452,100,5,shizhou1,44:56:e2:03:ea:2a,-69,FART3,30:0d:9e:bb:fa:4d,-70,ZKY-A209,88:c3:97:c1:f4:7f,-73,ChinaNet-HNeD,e8:84:c6:21:7c:dc,-77,,30:45:96:10:14:5d,-79,1.2035439]"));
+
+ verifyPosition(decoder, buffer(
"[3G*0304187088*0100*UD_WCDMA,100720,094202,V,0.0,N,0.0,E,22.0,0,-1,21,75,92,0,0,00000000,1,1,425,01,10192,1282125,75,5,Inet,04:f0:21:46:1f:57,-54,iNetSecurity,00:1e:42:25:2f:3e,-71,Gilad,58:d5:6e:9d:1b:af,-80,weekend,14:ae:db:cb:99:25,-82,advancemed1,04:f0:21:4c:c8:3e,-89,0.0]"));
verifyPosition(decoder, buffer(