From 01e0702d64330d6862dfb94816d2bfaf2d9f4eeb Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 25 Feb 2019 18:54:00 -0800 Subject: Support Cguard battery voltage --- test/org/traccar/protocol/CguardProtocolDecoderTest.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test/org/traccar/protocol') 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 @@ -13,6 +13,15 @@ public class CguardProtocolDecoderTest extends ProtocolTest { verifyNull(decoder, text( "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")); -- cgit v1.2.3