diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-09-07 20:09:30 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-09-07 20:09:30 +1200 |
commit | abe051d297b445f8fb76d4069918b79e9e74d0c9 (patch) | |
tree | 0a6e37b70d1ee6a3ac6de64aea3af4b980f02ec9 /test/org | |
parent | 5e6a5e69994aff3c1fe9aca427c746438a22c325 (diff) | |
download | traccar-server-abe051d297b445f8fb76d4069918b79e9e74d0c9.tar.gz traccar-server-abe051d297b445f8fb76d4069918b79e9e74d0c9.tar.bz2 traccar-server-abe051d297b445f8fb76d4069918b79e9e74d0c9.zip |
Implement OBD support for Meiligao
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java b/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java index 76f62d0f5..58d761ed8 100644 --- a/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java +++ b/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java @@ -10,6 +10,9 @@ public class MeiligaoProtocolDecoderTest extends ProtocolTest { MeiligaoProtocolDecoder decoder = new MeiligaoProtocolDecoder(new MeiligaoProtocol()); + verifyAttributes(decoder, binary( + "4040005066104020094432990131302E312C302C3135362C302E30302C31392E36312C2D33342C33342E32362C32312E38332C372E39312C313033332C322E36392C362E35352C302C302C309DBF0D0A")); + verifyPosition(decoder, binary( "242400746251103044ffff99553033353033392e3939392c412c323832332e373632312c4e2c31303635322e303730342c572c3030302e302c3030302e302c3136303631362c2c2c412a37357c302e397c323038332e327c303030307c303030302c303030307c31303034333736333265780d0a")); |