I don't think it's exactly the same thing, please correct me if I am wrong.
The WPS PBC can be initiated by either the AP or the device. It does not need to be started on the AP side. If you cannot initiate the button press without first selecting a service to connect to, there is no way to start the WPS sequence from device side because you have already chosen which AP you want to connect to. You must be able to have the device advertising the WPS PBC before you select the AP to connect to. That way the AP can see the advertisements. wpa_supplicant / wpa_cli allow the button to be pressed before choosing the network to connect to. Thanks! On Tue, Jul 14, 2015 at 11:52 PM, Tomasz Bursztyka < tomasz.burszt...@linux.intel.com> wrote: > Hi, > >> Is there any way to accomplish using connman? I don't see a way to send a >> WPS push button without first connecting to a service and having the user >> agent request the WPS pin or push button. >> > > That's the software WPS push button you want. There is no other way. > > When the user physically press a real button: it means he wants to connect. > So here, that's exactly the same thing: he needs first to request a > connection > and then connman (since it detects the service as WPS ready) asks you about > which method you want to use. > > Note that WPS is usually badly implemented in AP side. So depending on > those, > you may see connman no requesting you the method through the agent if the > AP > does its job well, i.e.: advertizing properly it's running a WPS PBC > sequence. > (thus connman detects it, and then do not ask the user about the method and > uses PBC automatically) > > Tomasz > _______________________________________________ > connman mailing list > connman@connman.net > https://lists.connman.net/mailman/listinfo/connman > -- *James Zipperer* Software Engineer Synapse Product Development mail 1511 6th Ave Suite 400, Seattle, WA 98101 direct 206-832-1269,3614 | office 206-381-0898 | mobile 206-399-6228 james.zippe...@synapse.com | http://www.synapse.com This email and any files transmitted with it are confidential. Unauthorized publication, use or dissemination of this email is prohibited. Please consider the environment before printing. _______________________________________________ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman