diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-07-27 23:32:26 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-07-27 23:32:26 -0700 |
commit | 02156420e2b7e8ca60982c60c26245c77069dd6e (patch) | |
tree | d28a42f04eefe85383fb9aacac7eaa7de75ae0b8 /src/test/java/org/traccar/protocol | |
parent | 9188d67c08f309697fed0f4e452b06ea738a67bf (diff) | |
download | traccar-server-02156420e2b7e8ca60982c60c26245c77069dd6e.tar.gz traccar-server-02156420e2b7e8ca60982c60c26245c77069dd6e.tar.bz2 traccar-server-02156420e2b7e8ca60982c60c26245c77069dd6e.zip |
Decode individual inputs
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-rw-r--r-- | src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java index 12e64cd6d..d107387f4 100644 --- a/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java @@ -11,6 +11,10 @@ public class Gl200TextProtocolDecoderTest extends ProtocolTest { Gl200TextProtocolDecoder decoder = new Gl200TextProtocolDecoder(null); + verifyAttribute(decoder, buffer( + "+RESP:GTFRI,380903,869606020188383,,,40,1,2,43.4,80,252.4,8.606297,50.700200,20200721090109,0262,0001,1932,1BA4,00,0.0,,,,0,220100,,,,20200721090110,00B9$"), + Position.PREFIX_IN + 1, false); + verifyPositions(decoder, buffer( "+RESP:GTFRI,423031,355154083021002,Bolt4G,0,0,0,0,1,1.0,0.2,0,245.3,-85.630193,42.975280,20190729185934,310,410,500b,B0E320F,31,-1,100,20190729185934,0010$")); |