diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-16 03:32:20 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-16 03:32:20 +1300 |
commit | 57b831ca0b08c3ac2c4aa93b9ba2a3c44d78344b (patch) | |
tree | 1b8a78a7a2ed943bd5092a30d8cc315936f6a356 /test/org | |
parent | d189e3a74327a56bcddd6cc58ec16bb495aff13c (diff) | |
download | traccar-server-57b831ca0b08c3ac2c4aa93b9ba2a3c44d78344b.tar.gz traccar-server-57b831ca0b08c3ac2c4aa93b9ba2a3c44d78344b.tar.bz2 traccar-server-57b831ca0b08c3ac2c4aa93b9ba2a3c44d78344b.zip |
Decode upro odometer and OBD
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/UproProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/UproProtocolDecoderTest.java b/test/org/traccar/protocol/UproProtocolDecoderTest.java index 034fd78a1..711fe39b6 100644 --- a/test/org/traccar/protocol/UproProtocolDecoderTest.java +++ b/test/org/traccar/protocol/UproProtocolDecoderTest.java @@ -11,6 +11,9 @@ public class UproProtocolDecoderTest extends ProtocolTest { UproProtocolDecoder decoder = new UproProtocolDecoder(new UproProtocol()); verifyPosition(decoder, text( + "*MG201693502000035441,BA&A1213073325458307036690710000151116&P0730000032ce4fb3&D1&B0000000000&C005799?7&S3,20161115120025,07035.54659E,3324.87721N,3000,0,0,0,0,847,599,8,40,0,19,20&U_P\0\0\0\0\0\0\0\0\0\0\0\0\0\0&T0107#")); + + verifyPosition(decoder, text( "*MG201693502000034964,AB&A0800253335360507036975710000091116&P0730000032d2a94d&B0000000000&N13&Z12&U_P\0\0\0\u0004\0\0\0\0\0\0\0\0\0\0#"), position("2016-11-09 08:00:25.000", true, -33.58934, -70.61626)); |