minor changes

This commit is contained in:
2017-06-06 15:03:33 +02:00
parent 2255904385
commit ba9559e5df
3 changed files with 34 additions and 0 deletions

View File

@@ -55,6 +55,17 @@ public:
}
/** does the model know the given AP? */
bool knowsAP(const MACAddress& accessPoint) {
// try to get the corresponding parameters
const auto it = accessPoints.find(accessPoint);
// AP known?
return (it != accessPoints.end());
}
virtual float getRSSI(const MACAddress& accessPoint, const Point3 position_m) const override {
// try to get the corresponding parameters