Implemented wifi_mapping example on Mac OS X

This commit is contained in:
matlabbe
2015-03-26 06:58:31 -04:00
parent 2cc853b507
commit 9097c3c1ad
6 changed files with 90 additions and 9 deletions

View File

@@ -0,0 +1,25 @@
/*
* WifiOSX.h
*
* Created on: Mar 26, 2015
* Author: mathieu
*/
#ifndef WIFIOSX_H_
#define WIFIOSX_H_
#include <string>
#include <vector>
struct AccessPoint
{
std::string ssid;
std::string bssid;
int rssi;
};
int getRssi(const std::string& interfaceName);
std::vector<AccessPoint> scanAir(const std::string& interfaceName);
#endif /* WIFIOSX_H_ */