diff options
author | Valerii Vyshniak <valeravi@vi-soft.com.ua> | 2017-11-16 02:14:58 +0100 |
---|---|---|
committer | Valerii Vyshniak <valeravi@vi-soft.com.ua> | 2017-11-18 18:52:25 +0100 |
commit | fe5f4f69155f5242da357bee37335dac3ff5f9c1 (patch) | |
tree | c63002b179809e202078ed25f601462a13a66466 /test/org/traccar/protocol | |
parent | f26eb9c61bc1270707af0a7589ae6ee56531e905 (diff) | |
download | trackermap-server-fe5f4f69155f5242da357bee37335dac3ff5f9c1.tar.gz trackermap-server-fe5f4f69155f5242da357bee37335dac3ff5f9c1.tar.bz2 trackermap-server-fe5f4f69155f5242da357bee37335dac3ff5f9c1.zip |
T580W: parse LBS and WiFi data packet
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r-- | test/org/traccar/protocol/Tk103ProtocolDecoderTest.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java b/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java index 4f8ee2858..f10912d68 100644 --- a/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java @@ -172,6 +172,18 @@ public class Tk103ProtocolDecoderTest extends ProtocolTest { verifyAttributes(decoder, text( "(013632651491,ZC20,040613,040137,6,42,112,0")); + verifyNotNull(decoder, text( + "(864555555555555,DW51,200,1,3215,43370,2,58:F3:BB:3B:AA:82*-65*1,1C:6A:BB:AA:81:95*-78*1,151117,154419")); + + verifyNotNull(decoder, text( + "(864555555555555,DW5B,210,6,5995,47701,5,30:EE:CC:E7:86:DD*-59*11,4C:60:CC:EA:BB:EE*-68*1,42:AA:DE:EA:BB:00*-69*1,32:CD:BB:C3:4F:CC*-86*3,10:00:43:BA:22:15*-88*1,151117,163722")); + + verifyNotNull(decoder, text( + "(013632651491,DW50,460,0,0,6,2,aa:bb:cc:dd:ee:ff*-8*0,aa:bb:cc:dd:ee:ff*-8*0,040613,040137")); + + verifyNotNull(decoder, text( + "(013632651491,DW50,460,0,0,6,0,040613,040137")); + } } |