aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-09-27 21:51:29 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-09-27 21:51:29 +1200
commitfefce2dff1931e430deb4d8723d7e8362b7e7698 (patch)
tree8ba373f0bff00c6250546dc62cca2fb0c55e9ee1 /test
parent38e77023844a5c76112ed79ddf8308cedfc3e099 (diff)
downloadtrackermap-server-fefce2dff1931e430deb4d8723d7e8362b7e7698.tar.gz
trackermap-server-fefce2dff1931e430deb4d8723d7e8362b7e7698.tar.bz2
trackermap-server-fefce2dff1931e430deb4d8723d7e8362b7e7698.zip
Support Vodofo protocol
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/UproProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/UproProtocolDecoderTest.java b/test/org/traccar/protocol/UproProtocolDecoderTest.java
index 42e3d16cf..4b886902f 100644
--- a/test/org/traccar/protocol/UproProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/UproProtocolDecoderTest.java
@@ -10,6 +10,12 @@ public class UproProtocolDecoderTest extends ProtocolTest {
UproProtocolDecoder decoder = new UproProtocolDecoder(new UproProtocol());
+ verifyPosition(decoder, buffer(
+ "*HQ200999999,AB1&A1656512233362911356523660000230618&B0100060010&C00000<6<&F0000&R2405&V0109&W0000003E&K00100&T65&X(k89860045191536000374)#"));
+
+ verifyPosition(decoder, buffer(
+ "*HQ20113800138000,YAA&A0732142233550011405829060520190314&B0100000000&C00001234&R3109&T80#"));
+
verifyPosition(decoder, binary(
"2a4d473230313836383530303032303030343836372c414226413035303032343138313438373536303636303131373732323030303031313132313626583331302c3236302c34383837322c353639312c37333b34383837322c3732322c38363b34383837322c353639332c38383b34383837322c323336332c39303b34383837322c323336322c393726423030303030303030303026573030264e3230265a31342659313430303323"));