From fb78c6a42f7e947b818044461414ef2470fc22f6 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 24 Jun 2020 22:51:12 -0700 Subject: Decode GPS Sky China alarms --- src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/test/java') diff --git a/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java index f27a3e0c7..48a72447c 100644 --- a/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java @@ -11,6 +11,10 @@ public class Tk103ProtocolDecoderTest extends ProtocolTest { Tk103ProtocolDecoder decoder = new Tk103ProtocolDecoder(null); + verifyAttribute(decoder, text( + "(044027395704BQ81,ALARM,1,164,151101A2238.5237N11349.4571E0.7031241010.0000,00000000)"), + Position.KEY_ALARM, Position.ALARM_OVERSPEED); + verifyPosition(decoder, text( "(027023361470BR00200617A4000.5775N 8415.4076W 46.0173725 87.3101000000L00000000)")); -- cgit v1.2.3