NM.SettingWifiP2P¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/en |
|||
r/w/en |
|||
r/w/en |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class NM.SettingWifiP2P(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Wi-Fi P2P Settings
New in version 1.16.
- classmethod new()¶
- Returns:
the new empty
NM.SettingWifiP2P
object- Return type:
Creates a new
NM.SettingWifiP2P
object with default values.New in version 1.16.
- get_peer()¶
- Returns:
the
NM.SettingWifiP2P
:peer
property of the setting- Return type:
New in version 1.16.
- get_wfd_ies()¶
- Returns:
the #NMSettingWiFiP2P:wfd-ies property of the setting
- Return type:
New in version 1.16.
- get_wps_method()¶
- Returns:
the
NM.SettingWifiP2P
:wps-method
property of the setting- Return type:
New in version 1.16.
Property Details¶
- NM.SettingWifiP2P.props.peer¶
- Name:
peer
- Type:
- Default Value:
- Flags:
The P2P device that should be connected to. Currently, this is the only way to create or join a group.
New in version 1.16.
- NM.SettingWifiP2P.props.wfd_ies¶
- Name:
wfd-ies
- Type:
- Default Value:
- Flags:
The Wi-Fi Display (WFD) Information Elements (IEs) to set.
Wi-Fi Display requires a protocol specific information element to be set in certain Wi-Fi frames. These can be specified here for the purpose of establishing a connection. This setting is only useful when implementing a Wi-Fi Display client.
New in version 1.16.
- NM.SettingWifiP2P.props.wps_method¶
- Name:
wps-method
- Type:
- Default Value:
0
- Flags:
Flags indicating which mode of WPS is to be used.
There’s little point in changing the default setting as NetworkManager will automatically determine the best method to use.
New in version 1.16.