From c3d71d9b2d49ef70a5a02c7b26bdc0cae9fde77b Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 30 Sep 2015 11:54:25 +1300 Subject: Fix FlexTrack logon decoding --- test/org/traccar/protocol/FlextrackProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/org/traccar') diff --git a/test/org/traccar/protocol/FlextrackProtocolDecoderTest.java b/test/org/traccar/protocol/FlextrackProtocolDecoderTest.java index 126e8799d..435dacf9a 100644 --- a/test/org/traccar/protocol/FlextrackProtocolDecoderTest.java +++ b/test/org/traccar/protocol/FlextrackProtocolDecoderTest.java @@ -15,6 +15,9 @@ public class FlextrackProtocolDecoderTest extends ProtocolDecoderTest { assertNull(decoder.decode(null, null, "-1,LOGON,7000000123,8945000000")); + assertNull(decoder.decode(null, null, + "-1,LOGON,1080424008,8945020110126633198")); + verify(decoder.decode(null, null, "-2,UNITSTAT,20050205,181923,7000004634,N55.46.0812,E009.21.1665,122,198,6,3934,-81,01A8,23802,213,55,37FD,45,0055,12878")); -- cgit v1.2.3