Using wpa_supplicant via dbus in python - error
James Rayner
iphitus
Thu Aug 14 06:53:33 PDT 2008
Hi
I'm writing a client using python and the dbus interface. Having
looked at the example and the wpa_supplicant code, I've got as far as
being able to scan, add/remove networks and interfaces. However when I
try to set anything for a new network, it complains at the .set():
dbus.exceptions.DBusException:
fi.epitest.hostap.WPASupplicant.InvalidOptions: Did not receive
correct message arguments.
As suggested to someone else on the list, passing as a dbus Byte array
didn't help.
The code is here: http://pastebin.com/f122abeb8
Thanks in advance!
James
More information about the Hostap
mailing list