This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

wpa_supplicant D-Bus API for p2p

Hi,

I could find the wpa_supplicant D-Bus API in the below link.

http://w1.fi/wpa_supplicant/devel/dbus.html

But the link does not provide any documents for P2P. Can you point me to the right link where I can find the dbus API's for P2P?

Regards,

Johncy.

  • Hi Johncy,

    You are looking at the correct page - the official hostapd doxygen page.
    If the information is not there, then I don't think you can find it anywhere. This is not from TI, so we can't help either.

    Anyways, quickly browsing the code (dbus_new.c), I see the below information.

    Interface: fi.w1.wpa_supplicant1.P2PDevice

    Methods: Find, StopFind, Listen, ExtendedListen, PresenceRequest, ProvisionDiscoveryRequest, Connect, GroupAdd, Invite, Disconnect, RejectPeer, Flush, AddService, DeleteService, FlushService, ServiceDiscoveryRequest, ServiceDiscoveryResponse, ServiceDiscoveryCancelRequest, ServiceUpdate, ServiceDiscoveryExternal, AddPersistentGroup, RemovePersistentGroup, RemoveAllPersistentGroups

    You can check the source code for the parameters required for each method.

    Regards,
    Gigi Joseph.