aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-05-23 17:27:49 -0700
committerAnton Tananaev <anton@traccar.org>2024-05-23 17:27:49 -0700
commitb9445651c5b9803476d0f96702ff3a293a327e20 (patch)
treeeda4682ca3decdd4f923fd81993140d58c1a5e1f /src/test
parent7df59714609a62d76ca2f34f2a9d9aed9feb956b (diff)
downloadtrackermap-server-b9445651c5b9803476d0f96702ff3a293a327e20.tar.gz
trackermap-server-b9445651c5b9803476d0f96702ff3a293a327e20.tar.bz2
trackermap-server-b9445651c5b9803476d0f96702ff3a293a327e20.zip
Support LynkWorld driving alarms
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
index 04d7fafb3..05a33cc72 100644
--- a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
@@ -494,6 +494,12 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest {
"78785195140a020c2914055D4A800209D9C014009300004556454e545f3335333337363131303032333139365f30303030303030305f323032305f31305f30325f31345f34315f32305f30352e6d70340004e3a60d0a"),
Position.KEY_ALARM, Position.ALARM_ACCIDENT);
+ decoder.setModelOverride("LW4G-4B");
+
+ verifyAttribute(decoder, binary(
+ "78782516180516150812c804b50ee80880e40805dcf909012e000000986633460604190106c393490d0a"),
+ Position.KEY_ALARM, Position.ALARM_ACCELERATION);
+
}
}