aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-08-06 07:41:21 -0700
committerAnton Tananaev <anton@traccar.org>2023-08-06 07:41:21 -0700
commit3a5edf787fc4dc3fdb7caa30602dee1e5fab8157 (patch)
tree8a5d80b4f829638a5706db3e653f9fe819d564e4 /src/test
parent8ab9cd75aad4a0940936304f055e155d87b03760 (diff)
downloadtrackermap-server-3a5edf787fc4dc3fdb7caa30602dee1e5fab8157.tar.gz
trackermap-server-3a5edf787fc4dc3fdb7caa30602dee1e5fab8157.tar.bz2
trackermap-server-3a5edf787fc4dc3fdb7caa30602dee1e5fab8157.zip
Additional CB212-C1005 data
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/CastelProtocolDecoderTest.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/CastelProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/CastelProtocolDecoderTest.java
index e9cbac5ce..52c6a86a6 100644
--- a/src/test/java/org/traccar/protocol/CastelProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/CastelProtocolDecoderTest.java
@@ -12,6 +12,14 @@ public class CastelProtocolDecoderTest extends ProtocolTest {
var decoder = inject(new CastelProtocolDecoder(null));
verifyAttribute(decoder, binary(
+ "40404700043231335732303139303033353400000000000000400BBE723A5DEF723A5D000000000000000000000000000000000000030100011900030001012603030145C90D0A"),
+ Position.KEY_DTCS, "P0326");
+
+ verifyAttribute(decoder, binary(
+ "40404500033231334c323031373030303432320000000000004006e1ad205bf1ad205b48510f000000000050160000000000020400053f007c000083040001511346160d0a"),
+ Position.KEY_DTCS, "P1351");
+
+ verifyAttribute(decoder, binary(
"40403a00043231334744503230313830323133343300000000a002000001000001012011004d414c43333831434d4b4d353637313438c8fc0d0a"),
Position.KEY_RESULT, "MALC381CMKM567148");