wloc 1.1.0
Simple Wi-Fi geolocation library and tool
wloc.fetchers.linux.netman.NetworkManagerNativeAPI Class Reference
Inheritance diagram for wloc.fetchers.linux.netman.NetworkManagerNativeAPI:
wloc.fetchers.native.NativeBackendCommon

Public Member Functions

list get_networks (self)
 

Protected Member Functions

None _fetch_list (self)
 
None _scan_networks (self, device)
 

Protected Attributes

list _network_list = []
 
int _sleep_seconds = 5
 

Detailed Description

Class for working with Network Manager using GObject API.

Member Function Documentation

◆ _fetch_list()

None wloc.fetchers.linux.netman.NetworkManagerNativeAPI._fetch_list ( self)
protected
Fetches the list of available Wi-Fi networks using GObject API
methods.

Reimplemented from wloc.fetchers.native.NativeBackendCommon.

◆ _scan_networks()

None wloc.fetchers.linux.netman.NetworkManagerNativeAPI._scan_networks ( self,
device )
protected
Forces scanning of available Wi-Fi networks on the specified
physical network device.
:param device: A physical network device to use.

◆ get_networks()

list wloc.fetchers.native.NativeBackendCommon.get_networks ( self)
inherited
Gets the list of available Wi-Fi networks with their BSSID and
signal strength.
:return: The list of available Wi-Fi networks.