examples: simplify system wifi connection example
This commit is contained in:
@@ -27,9 +27,8 @@ s_con = dbus.Dictionary({
|
|||||||
'uuid': '7371bb78-c1f7-42a3-a9db-5b9566e8ca07',
|
'uuid': '7371bb78-c1f7-42a3-a9db-5b9566e8ca07',
|
||||||
'id': 'My Wifi'})
|
'id': 'My Wifi'})
|
||||||
|
|
||||||
ssid = dbus.Array([dbus.Byte('h'), dbus.Byte('o'), dbus.Byte('m'), dbus.Byte('e')], signature=dbus.Signature('y'))
|
|
||||||
s_wifi = dbus.Dictionary({
|
s_wifi = dbus.Dictionary({
|
||||||
'ssid': ssid,
|
'ssid': dbus.ByteArray("homewifi"),
|
||||||
'security': '802-11-wireless-security'})
|
'security': '802-11-wireless-security'})
|
||||||
|
|
||||||
s_wsec = dbus.Dictionary({'key-mgmt': 'wpa-eap'})
|
s_wsec = dbus.Dictionary({'key-mgmt': 'wpa-eap'})
|
||||||
|
Reference in New Issue
Block a user