AccessPoint
Object Hierarchy:
Description:
Namespace: NM
Package: libnm
Content:
Constants:
- public const string BANDWIDTH
- public const string BSSID
- public const string FLAGS
- public const string FREQUENCY
- public const string HW_ADDRESS
- public const string LAST_SEEN
- public const string MAX_BITRATE
- public const string MODE
- public const string RSN_FLAGS
- public const string SSID
- public const string STRENGTH
- public const string WPA_FLAGS
Properties:
- public uint bandwidth { get; }
The channel bandwidth announced by the AP in MHz.
- public string bssid { get; }
The BSSID of the access point.
- public @80211ApFlags flags { get; }
The flags of the access point.
- public uint frequency { get; }
The frequency of the access point.
- public string hw_address { owned get; }
Alias for bssid .
- public int last_seen { get; }
The timestamp (in CLOCK_BOOTTIME seconds) for the last time the access point was found in scan results.
- public uint max_bitrate { get; }
The maximum bit rate of the access point in kbit/s.
- public @80211Mode mode { get; }
The mode of the access point; either "infrastructure" (a central coordinator of the wireless network allowing clients to connect) or "ad-hoc" (a network with no central controller).
- public @80211ApSecurityFlags rsn_flags { get; }
The RSN flags of the access point.
- public Bytes ssid { get; }
The SSID of the access point, or null if it is not known.
- public uint8 strength { get; }
The current signal strength of the access point.
- public @80211ApSecurityFlags wpa_flags { get; }
The WPA flags of the access point.
Creation methods:
- protected AccessPoint ()
Methods:
- public bool connection_valid (Connection connection)
Validates a given connection against a given Wi-Fi access point to ensure that the connection may be activated with that AP.
- public GenericArray<Connection> filter_connections (GenericArray<Connection> connections)
Filters a given array of connections for a given AccessPoint object and returns connections which may be activated with the access point.
- public uint32 get_bandwidth ()
Gets the bandwidth advertised by the access point in MHz.
- public unowned string get_bssid ()
Gets the Basic Service Set ID (BSSID) of the Wi-Fi access point.
- public @80211ApFlags get_flags ()
Gets the flags of the access point.
- public uint32 get_frequency ()
Gets the frequency of the access point in MHz.
- public int get_last_seen ()
Returns the timestamp (in CLOCK_BOOTTIME seconds) for the last time the access point was found in scan results.
- public uint32 get_max_bitrate ()
Gets the maximum bit rate of the access point in kbit/s.
- public @80211Mode get_mode ()
Gets the mode of the access point.
- public @80211ApSecurityFlags get_rsn_flags ()
Gets the RSN (Robust Secure Network, ie WPA version 2) flags of the access point.
- public unowned Bytes get_ssid ()
Gets the SSID of the access point.
- public uint8 get_strength ()
Gets the current signal strength of the access point as a percentage.
- public @80211ApSecurityFlags get_wpa_flags ()
Gets the WPA (version 1) flags of the access point.
Inherited Members:
All known members inherited from class GLib.Object