diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2022-01-27 18:26:29 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2022-01-27 18:26:29 -0800 |
commit | c45b4d8d1e29227937afa9114ead5ae16f548aa0 (patch) | |
tree | fc401bb39c9b475224cfeea83b6ab59b20193866 /src/test | |
parent | decc6d4c592b9511fda3db943f43e4a6d29841f0 (diff) | |
download | trackermap-server-c45b4d8d1e29227937afa9114ead5ae16f548aa0.tar.gz trackermap-server-c45b4d8d1e29227937afa9114ead5ae16f548aa0.tar.bz2 trackermap-server-c45b4d8d1e29227937afa9114ead5ae16f548aa0.zip |
Support Armoli OBD data
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/java/org/traccar/protocol/ArmoliProtocolDecoderTest.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/test/java/org/traccar/protocol/ArmoliProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/ArmoliProtocolDecoderTest.java index c64fbd411..da2542b34 100644 --- a/src/test/java/org/traccar/protocol/ArmoliProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/ArmoliProtocolDecoderTest.java @@ -11,11 +11,15 @@ public class ArmoliProtocolDecoderTest extends ProtocolTest { var decoder = new ArmoliProtocolDecoder(null); + verifyAttribute(decoder, text( + "[M869867039550712160821153237N41.033508E029.2697032F00036000000410006B336FFFFG458563@A6D>04410C2482>03410F56>03412F19>0441210000>034130FF>0441313A7>03410D30>04411F01B6>0341048C>04410C1C98];"), + Position.KEY_RPM, 1830L); + verifyPosition(decoder, text( "[M869867038698074210122125205N38.735641E035.4727751E003340000000C00000E9E07FF:106AG505283H60E]")); verifyAttribute(decoder, text( - "[W869867038698074,O,1234,2657,1]"), + "[W869867038698074,O,1234,2657,1]"), Position.KEY_RESULT, "O,1234,2657,1"); verifyNull(decoder, text( |