aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-03-23 10:24:47 -0700
committerAnton Tananaev <anton@traccar.org>2022-03-23 10:24:47 -0700
commit2c5d65c30159b620eebce8dd7b8a768c06271031 (patch)
tree82bee0575b9723c0a7a4d2139e4f56f50c980d94 /src/test/java/org/traccar
parentf5033ee29a955796fb4c911f83e3d8253c98e62e (diff)
downloadtrackermap-server-2c5d65c30159b620eebce8dd7b8a768c06271031.tar.gz
trackermap-server-2c5d65c30159b620eebce8dd7b8a768c06271031.tar.bz2
trackermap-server-2c5d65c30159b620eebce8dd7b8a768c06271031.zip
Fix TK915-4GSA decoding
Diffstat (limited to 'src/test/java/org/traccar')
-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 98e83f491..4fab19f26 100644
--- a/src/test/java/org/traccar/protocol/WatchProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/WatchProtocolDecoderTest.java
@@ -20,6 +20,9 @@ public class WatchProtocolDecoderTest extends ProtocolTest {
Position.PREFIX_TEMP + 1, 35.29);
verifyPosition(decoder, buffer(
+ "[SG*9159059735*0066*UD2,230322,082138,A,59.55285,N,016.66185,E,0.0,000,26,14,80,70,0,50,00000000,1,1,240,7,34505,80806406,,00]"));
+
+ verifyPosition(decoder, buffer(
"[SG*9059056143*0053*UD,251021,223408,A,41.46500,N,081.53128,W,0.926,000,0,00,70,70,0,50,00000000,0,1,,,,00]"));
verifyPosition(decoder, buffer(