aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-08-23 16:36:35 -0700
committerAnton Tananaev <anton@traccar.org>2022-08-23 16:36:35 -0700
commitae4deabf310135c68e0eab0a47470cf2cdf616a3 (patch)
tree121f3a748ac8cdd907321b2de1165cf70bc9b6b1 /src/test
parent1fb6c86ea12f325bfdb372d98400c8a904c6e927 (diff)
downloadtrackermap-server-ae4deabf310135c68e0eab0a47470cf2cdf616a3.tar.gz
trackermap-server-ae4deabf310135c68e0eab0a47470cf2cdf616a3.tar.bz2
trackermap-server-ae4deabf310135c68e0eab0a47470cf2cdf616a3.zip
Support PUBX NMEA messages
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/T55ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/T55ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/T55ProtocolDecoderTest.java
index 6ce47db94..1622f64f2 100644
--- a/src/test/java/org/traccar/protocol/T55ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/T55ProtocolDecoderTest.java
@@ -12,6 +12,9 @@ public class T55ProtocolDecoderTest extends ProtocolTest {
var decoder = inject(new T55ProtocolDecoder(null));
verifyPosition(decoder, text(
+ "$PUBX,00,130209.00,3650.51159,N,01346.10602,E,785.947,D3,4.1,5.2,0.163,87.43,-0.054,7.0,0.88,1.21,0.88,24,01012,0*6D"));
+
+ verifyPosition(decoder, text(
"QZE,868994033976700,35,28062020,113553,22.13673,114.57263,0,22,A,0"));
verifyNull(decoder, text(