diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-05-03 06:21:42 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-05-03 06:21:42 +1200 |
commit | ff1f4cc5a0ef001b104fb1e36a4e7e660b555910 (patch) | |
tree | 7fb111f3c2c51e94420b874184096b5fd9b8e51a /test/org/traccar/protocol/CastelProtocolDecoderTest.java | |
parent | d28bad416d2d7af3dda7b42a19f6fd372538a3f8 (diff) | |
download | trackermap-server-ff1f4cc5a0ef001b104fb1e36a4e7e660b555910.tar.gz trackermap-server-ff1f4cc5a0ef001b104fb1e36a4e7e660b555910.tar.bz2 trackermap-server-ff1f4cc5a0ef001b104fb1e36a4e7e660b555910.zip |
Support Castel response messages
Diffstat (limited to 'test/org/traccar/protocol/CastelProtocolDecoderTest.java')
-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 cb44087a1..2baee5494 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, + "40403a00043231335750323031373030363135360000000000a00200000100000101201100344a474446364545374a4230373632363056ff0d0a")); + + verifyAttributes(decoder, binary(ByteOrder.LITTLE_ENDIAN, "4040560004323133474c3230313630303033363400000000004002a122a05a5423a05abe0f2a000000000007f1f90014000000040001640011170003001e000505210b210c210d210f2101062b58ef02001a25950d0a")); verifyAttributes(decoder, binary(ByteOrder.LITTLE_ENDIAN, |