From 421b663d45a18fa95a4873840bfaa671cc1724a8 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 14 Feb 2021 10:47:03 -0800 Subject: Alternative device id --- src/test/java/org/traccar/protocol/FreematicsProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/test/java/org/traccar/protocol/FreematicsProtocolDecoderTest.java') diff --git a/src/test/java/org/traccar/protocol/FreematicsProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/FreematicsProtocolDecoderTest.java index a84c4e357..2729f7af7 100644 --- a/src/test/java/org/traccar/protocol/FreematicsProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/FreematicsProtocolDecoderTest.java @@ -10,6 +10,9 @@ public class FreematicsProtocolDecoderTest extends ProtocolTest { FreematicsProtocolDecoder decoder = new FreematicsProtocolDecoder(null); + verifyPositions(decoder, text( + "M0ZR4X0#0:204391,11:140221,10:8445000,A:49.215920,B:18.737755,C:410,D:0,E:208,24:1252,20:0;0;0,82:47*B5")); + verifyNull(decoder, text( "1#EV=2,TS=1871902,ID=ESP32305C06C40A24*AC")); -- cgit v1.2.3