DBus Interface of wpa_supplicant

Dan Williams dcbw
Fri Oct 24 07:44:38 PDT 2008

On Fri, 2008-10-24 at 10:53 +0530, Kiran Kulkarni wrote:
> Hello,
> I was comparing the current D-Bus interface of the wpa_supplicant with 
> its socket interface. I came to know that socket interface allows 
> "status" command which can return current SSID and authentication 
> status. I know that on D-Bus "StateChange" signal gives u current state 
> of the wpa_supplicant. But I would also like to know that which SSID its 
> using it right now...

I don't think that capability exists, but was mainly left out because it
wasn't used before.  Shouldn't be too hard to add that.  My suggestion
for an implementation would be to return a dict with key values pairs

getStatus (void) returns:  a{sv}
  ssid (ay), bssid (ay), id_str (s), state (s)

And of course since it's a dict, can add more stuff later.


More information about the Hostap mailing list