• WirelessAccessPoint
  • WirelessAccessPoint Class

    (nymeaserver::WirelessAccessPoint)

    Represents a wireless access point from a WirelessNetworkDevice. More...

    Header: #include <WirelessAccessPoint>
    Inherits:

    Public Types

    enum ApSecurityMode { ApSecurityModeNone, ApSecurityModePairWep40, ApSecurityModePairWep104, ApSecurityModePairTkip, ..., ApSecurityModeKeyMgmt8021X }
    flags ApSecurityModes

    Public Functions

    WirelessAccessPoint(const QDBusObjectPath & objectPath, QObject * parent = 0)
    double frequency() const
    bool isProtected() const
    QString macAddress() const
    QDBusObjectPath objectPath() const
    WirelessAccessPoint::ApSecurityModes securityFlags() const
    int signalStrength() const
    QString ssid() const

    Signals

    Detailed Description

    Represents a wireless access point from a WirelessNetworkDevice.

    See also WirelessNetworkDevice.

    Member Type Documentation

    enum WirelessAccessPoint::ApSecurityMode
    flags WirelessAccessPoint::ApSecurityModes

    ConstantValue
    nymeaserver::WirelessAccessPoint::ApSecurityModeNone0x000
    nymeaserver::WirelessAccessPoint::ApSecurityModePairWep400x001
    nymeaserver::WirelessAccessPoint::ApSecurityModePairWep1040x002
    nymeaserver::WirelessAccessPoint::ApSecurityModePairTkip0x004
    nymeaserver::WirelessAccessPoint::ApSecurityModePairCcmp0x008
    nymeaserver::WirelessAccessPoint::ApSecurityModeGroupWep400x010
    nymeaserver::WirelessAccessPoint::ApSecurityModeGroupWep1040x020
    nymeaserver::WirelessAccessPoint::ApSecurityModeGroupTkip0x040
    nymeaserver::WirelessAccessPoint::ApSecurityModeGroupCcmp0x080
    nymeaserver::WirelessAccessPoint::ApSecurityModeKeyMgmtPsk0x100
    nymeaserver::WirelessAccessPoint::ApSecurityModeKeyMgmt8021X0x200

    The ApSecurityModes type is a typedef for QFlags<ApSecurityMode>. It stores an OR combination of ApSecurityMode values.

    Member Function Documentation

    WirelessAccessPoint::WirelessAccessPoint(const QDBusObjectPath & objectPath, QObject * parent = 0)

    Constructs a new WirelessAccessPoint with the given dbus objectPath and parent.

    double WirelessAccessPoint::frequency() const

    Returns the frequency of this WirelessAccessPoint. (2.4 GHz or 5GHz)

    bool WirelessAccessPoint::isProtected() const

    Returns true if this WirelessAccessPoint is password protected.

    QString WirelessAccessPoint::macAddress() const

    Returns the mac address of this WirelessAccessPoint.

    QDBusObjectPath WirelessAccessPoint::objectPath() const

    Returns the dbus object path of this WirelessAccessPoint.

    WirelessAccessPoint::ApSecurityModes WirelessAccessPoint::securityFlags() const

    Returns the security flags of this WirelessAccessPoint.

    See also ApSecurityModes.

    int WirelessAccessPoint::signalStrength() const

    Returns the signal strength in percentage [0, 100] % of this WirelessAccessPoint.

    [signal] void WirelessAccessPoint::signalStrengthChanged()

    This signal will be emitted when the signalStrength of this WirelessAccessPoint has changed.

    QString WirelessAccessPoint::ssid() const

    Returns the ssid of this WirelessAccessPoint.