#include <Network.h>
|
static int | FreqToChannel (float frequency) |
| Translates a 802.11a+g frequency into the corresponding channel. More...
|
|
◆ NetworkAccessPoint()
NetworkAccessPoint::NetworkAccessPoint |
( |
const std::string & |
essId, |
|
|
const std::string & |
macAddress, |
|
|
int |
signalStrength, |
|
|
EncMode |
encryption, |
|
|
int |
channel = 0 |
|
) |
| |
|
inline |
◆ FreqToChannel()
int NetworkAccessPoint::FreqToChannel |
( |
float |
frequency | ) |
|
|
static |
Translates a 802.11a+g frequency into the corresponding channel.
- Parameters
-
frequency | The frequency of the channel in units of Hz |
- Returns
- The channel as an integer between 1 and 14 (802.11b+g) or between 36 and 165 (802.11a), or 0 if unknown.
◆ getChannel()
int NetworkAccessPoint::getChannel |
( |
| ) |
const |
|
inline |
◆ getEncryptionMode()
EncMode NetworkAccessPoint::getEncryptionMode |
( |
| ) |
const |
|
inline |
◆ getEssId()
const std::string & NetworkAccessPoint::getEssId |
( |
| ) |
const |
|
inline |
◆ getMacAddress()
const std::string & NetworkAccessPoint::getMacAddress |
( |
| ) |
const |
|
inline |
◆ getQuality()
int NetworkAccessPoint::getQuality |
( |
| ) |
const |
Returns the quality, normalized as a percentage, of the network access point.
- Returns
- The quality as an integer between 0 and 100
◆ getSignalStrength()
int NetworkAccessPoint::getSignalStrength |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: