diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-06-11 05:49:35 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-06-11 05:49:35 +1200 |
commit | 9cbd8fafc312996b9b5dae68b6c3ecf68d8facf0 (patch) | |
tree | 0c8c863e145d688b7885235aeb27b170f4644617 /test/org/traccar/protocol/L100FrameDecoderTest.java | |
parent | 77f5a12b9c50cdf317528a8e1569c3cf47b251f4 (diff) | |
download | trackermap-server-9cbd8fafc312996b9b5dae68b6c3ecf68d8facf0.tar.gz trackermap-server-9cbd8fafc312996b9b5dae68b6c3ecf68d8facf0.tar.bz2 trackermap-server-9cbd8fafc312996b9b5dae68b6c3ecf68d8facf0.zip |
Implement Atlanta OBD protocol
Diffstat (limited to 'test/org/traccar/protocol/L100FrameDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/L100FrameDecoderTest.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/L100FrameDecoderTest.java b/test/org/traccar/protocol/L100FrameDecoderTest.java index 7cb385d3e..a94f2eb0d 100644 --- a/test/org/traccar/protocol/L100FrameDecoderTest.java +++ b/test/org/traccar/protocol/L100FrameDecoderTest.java @@ -11,6 +11,10 @@ public class L100FrameDecoderTest extends ProtocolTest { L100FrameDecoder decoder = new L100FrameDecoder(); verifyFrame( + binary("4c2c41544c2c3836363739353033303437373935322c30312c303033352c"), + decoder.decode(null, null, binary("4c2c41544c2c3836363739353033303437373935322c30312c303033352c2a28"))); + + verifyFrame( binary("41544c3335363839353033373533333734352c244750524d432c3131313731392e3030302c412c323833382e303034352c4e2c30373731332e333730372c452c302e30302c2c3132303831302c2c2c412a3735242c2330313130303131313030313031302c4e2e432c4e2e432c4e2e432c31323334352e36372c33312e342c342e322c32312c4d43432c4d4e432c4c41432c43656c6c494441544c"), decoder.decode(null, null, binary("200141544c3335363839353033373533333734352c244750524d432c3131313731392e3030302c412c323833382e303034352c4e2c30373731332e333730372c452c302e30302c2c3132303831302c2c2c412a3735242c2330313130303131313030313031302c4e2e432c4e2e432c4e2e432c31323334352e36372c33312e342c342e322c32312c4d43432c4d4e432c4c41432c43656c6c494441544c027a"))); |