1957
by Marcel Holtmann
Add test script for new supplicant interface |
1 |
#!/usr/bin/python
|
2 |
||
3 |
import dbus |
|
4 |
||
5 |
WPA_NAME='fi.w1.wpa_supplicant1' |
|
6 |
WPA_INTF='fi.w1.wpa_supplicant1' |
|
7 |
WPA_PATH='/fi/w1/wpa_supplicant1' |
|
8 |
||
9 |
bus = dbus.SystemBus() |
|
10 |
||
11 |
dummy = dbus.Interface(bus.get_object(WPA_NAME, WPA_PATH), |
|
12 |
'org.freedesktop.DBus.Introspectable') |
|
13 |
||
14 |
print dummy.Introspect() |