aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-05-24 02:06:50 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-05-24 02:06:50 +1200
commite93f4bc11bda5f6851b6be4bd35e552435e31418 (patch)
tree0f629e11d016eaaa678ce0f766904294c108ce96 /src/org
parentd87982ac9af60b505b045e499615bc6859bd86c5 (diff)
downloadtrackermap-server-e93f4bc11bda5f6851b6be4bd35e552435e31418.tar.gz
trackermap-server-e93f4bc11bda5f6851b6be4bd35e552435e31418.tar.bz2
trackermap-server-e93f4bc11bda5f6851b6be4bd35e552435e31418.zip
Update Cradlepoint decoder
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/CradlepointProtocolDecoder.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/org/traccar/protocol/CradlepointProtocolDecoder.java b/src/org/traccar/protocol/CradlepointProtocolDecoder.java
index f74830756..48bd67021 100644
--- a/src/org/traccar/protocol/CradlepointProtocolDecoder.java
+++ b/src/org/traccar/protocol/CradlepointProtocolDecoder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 - 2017 Anton Tananaev (anton@traccar.org)
+ * Copyright 2016 - 2018 Anton Tananaev (anton@traccar.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -83,9 +83,9 @@ public class CradlepointProtocolDecoder extends BaseProtocolDecoder {
position.set("carrid", parser.next());
position.set("serdis", parser.next());
- position.set("rsrp", parser.next());
- position.set("dbm", parser.next());
- position.set("rsrq", parser.next());
+ position.set("rsrp", parser.nextInt());
+ position.set(Position.KEY_RSSI, parser.nextInt());
+ position.set("rsrq", parser.nextInt());
position.set("ecio", parser.next());
return position;