From 059d108b6a188963dba8815d4efe0883fe840617 Mon Sep 17 00:00:00 2001 From: Radek Svanda Date: Tue, 8 Oct 2019 13:04:10 +0200 Subject: Added JC100 camera alarms --- .../java/org/traccar/protocol/Gt06ProtocolDecoderTest.java | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java') diff --git a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java index 39b4d58e4..5da713452 100644 --- a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java @@ -300,6 +300,17 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest { verifyNull(decoder, binary( "7878058A000688290D0A")); + verifyAttribute(decoder, binary( + "78780c95130a0209321c90000112800d0a"), + Position.KEY_ALARM, Position.ALARM_ACCELERATION); + + verifyAttribute(decoder, binary( + "78780c95130a0209321c90000112800d0a"), + "alarmValue", 1); + + verifyAttribute(decoder, binary( + "78780c95130a0209321c91000112800d0a"), + Position.KEY_ALARM, Position.ALARM_BRAKING); } } -- cgit v1.2.3