aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-02-05 18:53:49 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-02-05 18:53:49 -0800
commit9cd715dffe8efdcb6c3e87fa56e1c67f7cd870d5 (patch)
tree2a30b05aba8cb48d6e7a607b3c155d63a022037f /test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
parent6810c4c75fd2f7c388b0b8058f6c327ae15ca53e (diff)
downloadtrackermap-server-9cd715dffe8efdcb6c3e87fa56e1c67f7cd870d5.tar.gz
trackermap-server-9cd715dffe8efdcb6c3e87fa56e1c67f7cd870d5.tar.bz2
trackermap-server-9cd715dffe8efdcb6c3e87fa56e1c67f7cd870d5.zip
Fix GPS103 course decoding
Diffstat (limited to 'test/org/traccar/protocol/Gps103ProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/Gps103ProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
index b44eb26f9..da8d8ff5a 100644
--- a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
@@ -11,6 +11,10 @@ public class Gps103ProtocolDecoderTest extends ProtocolTest {
Gps103ProtocolDecoder decoder = new Gps103ProtocolDecoder(null);
+ verifyAttribute(decoder, text(
+ "imei:868683023212255,tracker,190205084503,,F,064459.000,A,4915.1221,N,01634.5655,E,3.91,83.95;"),
+ "course", 83.95);
+
verifyPosition(decoder, text(
"imei:864180034124375,vt14,190116192753,,F,172750.000,A,3649.2186,N,00235.8411,W,0.00,0,,0,0,51.93%,,+22;"));