Using wpa_supplicant via dbus in python - error

James Rayner iphitus
Thu Aug 14 16:44:25 PDT 2008

On Fri, Aug 15, 2008 at 4:26 AM, Dan Williams <dcbw at> wrote:
> You do need to pass a d-bus byte array, since SSIDs can contain embedded
> NULLs and are not necessarily UTF-8.  I think you can just cast the SSID
> value to a dbus.ByteArray() when setting the dictionary member.
> Dan

Still no luck


Traceback (most recent call last):
  File "", line 35, in <module>
  File "/usr/lib/python2.5/site-packages/dbus/", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.5/site-packages/dbus/", line 140, in __call__
  File "/usr/lib/python2.5/site-packages/dbus/", line
607, in call_blocking
    message, timeout)
fi.epitest.hostap.WPASupplicant.InvalidOptions: Did not receive
correct message arguments.

Thanks for your help,


More information about the Hostap mailing list