#ifndef WIFISENSOR_H
#define WIFISENSOR_H

#include "../misc/fixc11.h"
#include <string>
#include <sstream>
#include "Sensor.h"
#include <Indoor/sensors/radio/WiFiMeasurements.h>

//struct WiFiSensorDataEntry {
//	std::string bssid;
//	float rssi;
//	WiFiSensorDataEntry(const std::string& bssid, const float rssi) : bssid(bssid), rssi(rssi) {;}
//	std::string asString() const {
//		std::stringstream ss;
//		ss << bssid << '\t' << (int)rssi;
//		return ss.str();
//	}
//};


//struct WiFiSensorData {
//	std::vector<WiFiSensorDataEntry> entries;
//	std::string asString() const {
//		std::stringstream ss;
//		for(const WiFiSensorDataEntry& e : entries) {ss << e.asString() << '\n';}
//		return ss.str();
//	}
//};


/** interface for all wifi sensors */
class WiFiSensor : public Sensor<WiFiMeasurements> {

protected:

	/** hidden ctor. use SensorFactory */
	WiFiSensor() {

	}

};

#endif // WIFISENSOR_H
