diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-03-12 05:21:58 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-03-12 05:21:58 +1300 |
commit | d8bbc2b6e8c1e7447f3e317747982b3c6362c66d (patch) | |
tree | bb569ed12fdc4feee665163a0bfd9fe7f1f0249a /test/org/traccar/protocol | |
parent | 4f3cd9dae285cfbd0ff541911381c08f50b59435 (diff) | |
download | traccar-server-d8bbc2b6e8c1e7447f3e317747982b3c6362c66d.tar.gz traccar-server-d8bbc2b6e8c1e7447f3e317747982b3c6362c66d.tar.bz2 traccar-server-d8bbc2b6e8c1e7447f3e317747982b3c6362c66d.zip |
Add new OBD PID parameters
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r-- | test/org/traccar/protocol/CastelProtocolDecoderTest.java | 3 |
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, |