aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-10-08 13:43:01 +0800
committerAnton Tananaev <anton.tananaev@gmail.com>2017-10-08 13:43:19 +0800
commit7ae0d8de4b5c78e9265a9a5cbb5b19ef19a4f017 (patch)
treeaf148799b5779c89bd830bcf4f07167ae49a90f7 /test/org/traccar
parentbc0b11eec363415eca42fc831535b0be2f3ca389 (diff)
downloadtrackermap-server-7ae0d8de4b5c78e9265a9a5cbb5b19ef19a4f017.tar.gz
trackermap-server-7ae0d8de4b5c78e9265a9a5cbb5b19ef19a4f017.tar.bz2
trackermap-server-7ae0d8de4b5c78e9265a9a5cbb5b19ef19a4f017.zip
Support alternative Xexun ignition
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/XexunProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/XexunProtocolDecoderTest.java b/test/org/traccar/protocol/XexunProtocolDecoderTest.java
index 686d3f53f..8587ee295 100644
--- a/test/org/traccar/protocol/XexunProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/XexunProtocolDecoderTest.java
@@ -56,6 +56,12 @@ public class XexunProtocolDecoderTest extends ProtocolTest {
decoder = new XexunProtocolDecoder(new XexunProtocol(), true);
verifyPosition(decoder, text(
+ "171007160505,,GPRMC,160505.000,A,5323.4680,N,00252.4202,W,000.0,129.7,071017,,,A*7A,F,ACCStart, imei:864504031916915,10,41.1,F:4.28V,1,135,19824,234,15,0062,B7D5"));
+
+ verifyPosition(decoder, text(
+ "171007160525,,GPRMC,160525.000,A,5323.4680,N,00252.4202,W,000.0,129.7,071017,,,A*78,F,ACCStop, imei:864504031916915,10,41.1,F:4.28V,1,134,42896,234,15,0062,B7D5"));
+
+ 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(