aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java b/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java
index eb0a80e05..3ee9d9732 100644
--- a/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java
@@ -551,7 +551,7 @@ public class MeitrackProtocolDecoder extends BaseProtocolDecoder {
case 0x24:
case 0x25:
String wifiMAC = ByteBufUtil.hexDump(buf.readSlice(6));
- int wifiRSSI = buf.readUnsignedShortLE();
+ int wifiRSSI = buf.readShortLE();
network.addWifiAccessPoint(WifiAccessPoint.from(wifiMAC, wifiRSSI));
break;
case 0x0E:
@@ -563,7 +563,7 @@ public class MeitrackProtocolDecoder extends BaseProtocolDecoder {
int stationMNC = buf.readUnsignedShortLE();
int stationLAC = buf.readUnsignedShortLE();
long stationID = buf.readUnsignedIntLE();
- int stationRX_LEVEL = buf.readUnsignedShortLE();
+ int stationRX_LEVEL = buf.readShortLE();
network.addCellTower(CellTower.from(stationMCC, stationMNC, stationLAC, stationID,
stationRX_LEVEL));
break;