aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/model
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-07-15 23:40:56 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-07-15 23:40:56 -0700
commit398a3a71fef1d7610940a8118bcf9b13782c21f3 (patch)
tree74011eacae188aebee67be8e3f111e5bf3864604 /src/main/java/org/traccar/model
parentf3f73941c17c0b1d351f65ad3f9924cf6f4fe049 (diff)
downloadtrackermap-server-398a3a71fef1d7610940a8118bcf9b13782c21f3.tar.gz
trackermap-server-398a3a71fef1d7610940a8118bcf9b13782c21f3.tar.bz2
trackermap-server-398a3a71fef1d7610940a8118bcf9b13782c21f3.zip
Decode WiFi info
Diffstat (limited to 'src/main/java/org/traccar/model')
-rw-r--r--src/main/java/org/traccar/model/Network.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/model/Network.java b/src/main/java/org/traccar/model/Network.java
index 2d56950f1..4d67fc5d8 100644
--- a/src/main/java/org/traccar/model/Network.java
+++ b/src/main/java/org/traccar/model/Network.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 Anton Tananaev (anton@traccar.org)
+ * Copyright 2016 - 2019 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.
@@ -30,6 +30,10 @@ public class Network {
addCellTower(cellTower);
}
+ public Network(WifiAccessPoint wifiAccessPoint) {
+ addWifiAccessPoint(wifiAccessPoint);
+ }
+
private Integer homeMobileCountryCode;
public Integer getHomeMobileCountryCode() {