aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-03-12 05:21:58 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-03-12 05:21:58 +1300
commitd8bbc2b6e8c1e7447f3e317747982b3c6362c66d (patch)
treebb569ed12fdc4feee665163a0bfd9fe7f1f0249a /test
parent4f3cd9dae285cfbd0ff541911381c08f50b59435 (diff)
downloadtrackermap-server-d8bbc2b6e8c1e7447f3e317747982b3c6362c66d.tar.gz
trackermap-server-d8bbc2b6e8c1e7447f3e317747982b3c6362c66d.tar.bz2
trackermap-server-d8bbc2b6e8c1e7447f3e317747982b3c6362c66d.zip
Add new OBD PID parameters
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/CastelProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/CastelProtocolDecoderTest.java b/test/org/traccar/protocol/CastelProtocolDecoderTest.java
index 2dccf4a0a..cb44087a1 100644
--- a/test/org/traccar/protocol/CastelProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/CastelProtocolDecoderTest.java
@@ -13,6 +13,9 @@ public class CastelProtocolDecoderTest extends ProtocolTest {
CastelProtocolDecoder decoder = new CastelProtocolDecoder(new CastelProtocol());
verifyAttributes(decoder, binary(ByteOrder.LITTLE_ENDIAN,
+ "4040560004323133474c3230313630303033363400000000004002a122a05a5423a05abe0f2a000000000007f1f90014000000040001640011170003001e000505210b210c210d210f2101062b58ef02001a25950d0a"));
+
+ verifyAttributes(decoder, binary(ByteOrder.LITTLE_ENDIAN,
"404057000431303031313132353239393837000000000000004002C1F06952F0F169529C9111000000000069830000470000000400036401014C01030078000505210C210D210F21102101073BE8030064280AEB930D0A"));
verifyPosition(decoder, binary(ByteOrder.LITTLE_ENDIAN,