aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-10-19 04:35:39 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-10-19 04:35:39 +1300
commit4ba8252588c0d280434c83b9d855098be3a15dd9 (patch)
treec5b1660200e305281c8e2e5aace11706f37824ee /test/org/traccar
parent3f5a5e81fe08c7ae0b136d52b4840d5085e12f23 (diff)
downloadtrackermap-server-4ba8252588c0d280434c83b9d855098be3a15dd9.tar.gz
trackermap-server-4ba8252588c0d280434c83b9d855098be3a15dd9.tar.bz2
trackermap-server-4ba8252588c0d280434c83b9d855098be3a15dd9.zip
Update Cradlepoint decoder (fix #3581)
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/CradlepointProtocolDecoderTest.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/CradlepointProtocolDecoderTest.java b/test/org/traccar/protocol/CradlepointProtocolDecoderTest.java
index 7eae791d5..757298682 100644
--- a/test/org/traccar/protocol/CradlepointProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/CradlepointProtocolDecoderTest.java
@@ -11,6 +11,18 @@ public class CradlepointProtocolDecoderTest extends ProtocolTest {
CradlepointProtocolDecoder decoder = new CradlepointProtocolDecoder(new CradlepointProtocol());
verifyPosition(decoder, text(
+ "356526070063940,0,4337.19009,N,11612.34705,W,0.0,277.2,AT&T,,,-79,,-14.0,"));
+
+ verifyPosition(decoder, text(
+ "356526070063940,1,4337.19008,N,11612.34705,W,0.0,277.2,AT&T,,,-79,,-14.0,"));
+
+ verifyPosition(decoder, text(
+ "+14063964266,162658,4333.62404,N,11636.23469,W,0.0,,Verizon Wireless,LTE,-107,-74,-16,,100.68.169.178"));
+
+ verifyPosition(decoder, text(
+ "+12084014675,162658,4337.174385,N,11612.338373,W,0.0,,Verizon,,-71,-44,-11,,"));
+
+ verifyPosition(decoder, text(
"353547063544681,170515,3613.25,N,11559.14,W,0.0,,,,,,,,"));
verifyPosition(decoder, text(