diff options
author | Anton Tananaev <anton@traccar.org> | 2022-03-02 21:02:06 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-03-02 21:02:06 -0800 |
commit | 8561b2480c2a0c7d87a5dbbb789e180b4c61fb0a (patch) | |
tree | 3d9b2b6be3690aa20a0fbb6b3e4758eb70eba92d /src/test/java/org/traccar/protocol | |
parent | a28e97150614a23e8a492e9379a579aa7240a0cd (diff) | |
download | trackermap-server-8561b2480c2a0c7d87a5dbbb789e180b4c61fb0a.tar.gz trackermap-server-8561b2480c2a0c7d87a5dbbb789e180b4c61fb0a.tar.bz2 trackermap-server-8561b2480c2a0c7d87a5dbbb789e180b4c61fb0a.zip |
Decode GL200 validity flag
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-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 9fab7e010..429ee15c7 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 = new Gl200TextProtocolDecoder(null); + verifyPosition(decoder, buffer( + "+RESP:GTFRI,5E0100,861971050039361,,,,10,1,1,10.4,140,196.9,-80.709946,35.016525,20220302220944,0310,0260,1CE9,52A1,00,0.0,,,,,420000,,,,20220302220948,1B0B$")); + verifyAttribute(decoder, buffer( "+RESP:GTFRI,423031,866873025895726,,0,1,1,0,1,16,0.0,351,51.6,121.391063,31.164633,20181212072535,460,00,1877,DAE,00,3,85,20181212072535,002C$"), Position.KEY_BATTERY_LEVEL, 85); |