diff options
author | Anton Tananaev <anton@traccar.org> | 2023-07-03 21:21:38 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-07-03 21:21:38 -0700 |
commit | 5e18cb586d34aa3db0417cef9635bf1d9cae6e18 (patch) | |
tree | b66cfc2e3f0cc197ed63a722e10ed32fa0fef98d /src/test/java | |
parent | 44527107b2bd5798356d6639573d3ccea67fd3b4 (diff) | |
download | trackermap-server-5e18cb586d34aa3db0417cef9635bf1d9cae6e18.tar.gz trackermap-server-5e18cb586d34aa3db0417cef9635bf1d9cae6e18.tar.bz2 trackermap-server-5e18cb586d34aa3db0417cef9635bf1d9cae6e18.zip |
Support GV350M CAN messages
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java index fcd2c6be4..f0dd10772 100644 --- a/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java @@ -11,6 +11,9 @@ public class Gl200TextProtocolDecoderTest extends ProtocolTest { var decoder = inject(new Gl200TextProtocolDecoder(null)); + verifyAttributes(decoder, buffer( + "+RESP:GTCAN,F1040C,862599050497393,GV350M,0,0,FFFFFFFF,,1,,,,,,,,,,,,,,,,,,,,,,,0,,,1,0.0,70,2961.6,-78.691750,-0.951135,20230703191659,,,,,,20230703191659,5A4A$")); + verifyAttribute(decoder, buffer( "+RESP:GTBAA,F1040C,862599050497393,GV350M,FF,3,0,04,000A,780541256AE9,3065,0,0.0,213,2908.3,-78.691944,-0.951426,20230511173150,,,,,,20230511175001,0159$"), "accessoryVoltage", 3.065); |