diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-02-25 18:54:00 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-02-25 18:54:00 -0800 |
commit | 01e0702d64330d6862dfb94816d2bfaf2d9f4eeb (patch) | |
tree | 20b7c02c8ad5838930222cfce47765099cbdb82a /test/org/traccar | |
parent | 041c2b897c28dc316e8613c9ea38dee48dd64482 (diff) | |
download | trackermap-server-01e0702d64330d6862dfb94816d2bfaf2d9f4eeb.tar.gz trackermap-server-01e0702d64330d6862dfb94816d2bfaf2d9f4eeb.tar.bz2 trackermap-server-01e0702d64330d6862dfb94816d2bfaf2d9f4eeb.zip |
Support Cguard battery voltage
Diffstat (limited to 'test/org/traccar')
-rw-r--r-- | test/org/traccar/protocol/CguardProtocolDecoderTest.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/CguardProtocolDecoderTest.java b/test/org/traccar/protocol/CguardProtocolDecoderTest.java index 1be301069..a386b6b47 100644 --- a/test/org/traccar/protocol/CguardProtocolDecoderTest.java +++ b/test/org/traccar/protocol/CguardProtocolDecoderTest.java @@ -14,6 +14,15 @@ public class CguardProtocolDecoderTest extends ProtocolTest { "IDRO:354868050655283")); verifyPosition(decoder, text( + "NV:190225 144543:55.776505:37.729000:0:10:0:0")); + + verifyAttributes(decoder, text( + "BC:190225 144543:CSQ1:64:NSQ1:0:NSQ2:1:BAT1:100")); + + verifyAttributes(decoder, text( + "BC:190225 142653:CSQ1:80:NSQ1:0:NSQ2:1:BAT1:3.53")); + + verifyPosition(decoder, text( "NV:170409 031456:56.808553:60.595476:0:NAN:0")); verifyAttributes(decoder, text( |