diff options
author | Anton Tananaev <anton@traccar.org> | 2023-02-23 16:30:21 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-02-23 16:30:21 -0800 |
commit | 9aef1bfcffa0750ba0771dd1af2ffe8667547b3a (patch) | |
tree | 33289597348cc7232d80ffc823fbe153347d42e2 /src/test/java | |
parent | 2ac77554f7771a014d62a6e5eeb381b4650dc4f4 (diff) | |
download | trackermap-server-9aef1bfcffa0750ba0771dd1af2ffe8667547b3a.tar.gz trackermap-server-9aef1bfcffa0750ba0771dd1af2ffe8667547b3a.tar.bz2 trackermap-server-9aef1bfcffa0750ba0771dd1af2ffe8667547b3a.zip |
Support GPTXT format
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/org/traccar/protocol/T55ProtocolDecoderTest.java | 3 |
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 1622f64f2..e04e473bb 100644 --- a/src/test/java/org/traccar/protocol/T55ProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/T55ProtocolDecoderTest.java @@ -11,6 +11,9 @@ public class T55ProtocolDecoderTest extends ProtocolTest { var decoder = inject(new T55ProtocolDecoder(null)); + verifyAttributes(decoder, text( + "$GPTXT,NET,1003,A1,-53,232 01*77")); + 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")); |