diff options
author | Anton Tananaev <anton@traccar.org> | 2022-08-20 09:00:27 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-08-20 09:00:27 -0700 |
commit | 1fb6c86ea12f325bfdb372d98400c8a904c6e927 (patch) | |
tree | 96ae1986eb024145eae836c59ecb369ab20c0190 /src/test/java | |
parent | 3899dddebcee96b80d5c939f50b846ef5042a7ff (diff) | |
download | trackermap-server-1fb6c86ea12f325bfdb372d98400c8a904c6e927.tar.gz trackermap-server-1fb6c86ea12f325bfdb372d98400c8a904c6e927.tar.bz2 trackermap-server-1fb6c86ea12f325bfdb372d98400c8a904c6e927.zip |
Support TK103 cell info (fix #4925)
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java index 6c01c14f7..8b3177136 100644 --- a/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java @@ -11,6 +11,12 @@ public class Tk103ProtocolDecoderTest extends ProtocolTest { var decoder = inject(new Tk103ProtocolDecoder(null)); + verifyAttributes(decoder, text( + "(027046434858BZ00,{460,0,20949,58711}\n{460,0,20494,54003}\n{460,0,20951,19569}\n,01000000)")); + + verifyAttributes(decoder, text( + "(027045009305BP05355227045009305,{413,2,30073,16724}\n{413,2,30073,16730}\n{413,2,30073,49860}\n,01000000)")); + verifyPosition(decoder, text( "(868822040452227,DW3B,150421,A,4154.51607N,45.78950E,0.050,103142,0.000,595.200,7,0)")); |