aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-11-02 22:03:03 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-11-02 22:03:03 -0800
commit1afe1e818d77d2e6df520071aa7e6b0c9f335454 (patch)
treecb37f680d1f6f2f2f384c9ea96ae2e71ea5565ae /src/test/java/org/traccar
parentc2f3554886b62690b2dc705e037517b34da99340 (diff)
downloadtraccar-server-1afe1e818d77d2e6df520071aa7e6b0c9f335454.tar.gz
traccar-server-1afe1e818d77d2e6df520071aa7e6b0c9f335454.tar.bz2
traccar-server-1afe1e818d77d2e6df520071aa7e6b0c9f335454.zip
Decode CalAmp user data
Diffstat (limited to 'src/test/java/org/traccar')
-rw-r--r--src/test/java/org/traccar/protocol/CalAmpProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/CalAmpProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/CalAmpProtocolDecoderTest.java
index 7640484d4..8be693ee6 100644
--- a/src/test/java/org/traccar/protocol/CalAmpProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/CalAmpProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class CalAmpProtocolDecoderTest extends ProtocolTest {
CalAmpProtocolDecoder decoder = new CalAmpProtocolDecoder(null);
verifyPosition(decoder, binary(
+ "830547643586340101010400105f9c39ba5f9c302eeb36d5bddf39df700000000000000000003400040321ff9f4f0087080200001c30783330304544383946333335303139303030303030343637450d0a"));
+
+ verifyPosition(decoder, binary(
"8308352648068863398f01070102039c5cfc4dcd5cfc4dcd19913f5dcce1291e000033fa0000005801110800019aff9d6f0e13003e0b02000000000000000000"));
verifyPosition(decoder, binary(