mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
26 lines
378 B
C
26 lines
378 B
C
|
|
/*
|
||
|
|
* 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_ */
|