From 9c8a8f12ef7ab8579101919a39f753d55e267583 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 16 Mar 2021 22:07:33 -0700 Subject: Add Fifotrack result support --- src/test/java/org/traccar/protocol/FifotrackProtocolDecoderTest.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/test/java/org/traccar/protocol') diff --git a/src/test/java/org/traccar/protocol/FifotrackProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/FifotrackProtocolDecoderTest.java index 48b74c904..08a5ec244 100644 --- a/src/test/java/org/traccar/protocol/FifotrackProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/FifotrackProtocolDecoderTest.java @@ -11,6 +11,10 @@ public class FifotrackProtocolDecoderTest extends ProtocolTest { FifotrackProtocolDecoder decoder = new FifotrackProtocolDecoder(null); + verifyAttribute(decoder, buffer( + "$$25,863003046473534,1,B03,OK*4D"), + Position.KEY_RESULT, "OK"); + verifyPosition(decoder, buffer( "$$118,863003046473534,258,A01,,201007231735,V,3.067783,101.672858,0,176,96,189890,0,A0,03,0,502|19|5C1|93349F,196|4E0|6C,1,*13")); -- cgit v1.2.3