diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-06-06 23:12:52 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-06-06 23:25:51 -0700 |
commit | 05ad09e2aa9c16fff17476a61d24cd953db82197 (patch) | |
tree | 4e90d2226b6340360ba66792bd53496e6cb8c8d7 /test/org/traccar/protocol/XexunProtocolDecoderTest.java | |
parent | a02f40019c45d7c90b1e8e3de1358352ef58f6c3 (diff) | |
download | trackermap-server-05ad09e2aa9c16fff17476a61d24cd953db82197.tar.gz trackermap-server-05ad09e2aa9c16fff17476a61d24cd953db82197.tar.bz2 trackermap-server-05ad09e2aa9c16fff17476a61d24cd953db82197.zip |
Add ignition support for Xexun
Diffstat (limited to 'test/org/traccar/protocol/XexunProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/XexunProtocolDecoderTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/XexunProtocolDecoderTest.java b/test/org/traccar/protocol/XexunProtocolDecoderTest.java index c1e160192..686d3f53f 100644 --- a/test/org/traccar/protocol/XexunProtocolDecoderTest.java +++ b/test/org/traccar/protocol/XexunProtocolDecoderTest.java @@ -54,6 +54,12 @@ public class XexunProtocolDecoderTest extends ProtocolTest { "GPRMC,043435.000,A,811.299200,S,11339.9500,E,0.93,29.52,160313,00,0000.0,A*65,F,,imei:359585014597923,")); decoder = new XexunProtocolDecoder(new XexunProtocol(), true); + + verifyPosition(decoder, text( + "170505103845,TELKOMSEL,GPRMC,103845.000,A,0340.2482,N,09841.9689,E,0.00,68.23,050517,,,A*5D,F,ACC On, imei:013227002782161,05,-8.2,F:4.22V,1,141,44712,510,10,2BE5,EC47")); + + verifyPosition(decoder, text( + "170607031932,+6282167979090,GPRMC,031932.000,A,0347.2515,N,09841.9433,E,0.00,261.22,070617,,,A*6C,F,ACC OFF, imei:013226004613135,11,23.1,F:4.25V,1,148,44989,510,10,2B34,0268")); verifyNull(decoder, text( ",+48606717068,,L,, imei:012207005047292,,,F:4.28V,1,52,11565,247,01,000E,1FC5")); |