diff options
author | Radek Svanda <radek.svanda@elder.cz> | 2019-10-08 13:04:10 +0200 |
---|---|---|
committer | Radek Svanda <rsvanda@gmail.com> | 2019-10-09 10:03:41 +0200 |
commit | 059d108b6a188963dba8815d4efe0883fe840617 (patch) | |
tree | 96f7d058c0bf5643a5dbd336f054b5c3dbda02c9 /src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java | |
parent | d2c24e28111e351f392ac0e579f4f1d443ebcf1d (diff) | |
download | trackermap-server-059d108b6a188963dba8815d4efe0883fe840617.tar.gz trackermap-server-059d108b6a188963dba8815d4efe0883fe840617.tar.bz2 trackermap-server-059d108b6a188963dba8815d4efe0883fe840617.zip |
Added JC100 camera alarms
Diffstat (limited to 'src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java')
-rw-r--r-- | src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java | 11 |
1 files changed, 11 insertions, 0 deletions
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); } } |