On 10/28/2010 01:56 PM, punit bisht wrote: > On Thu, Oct 28, 2010 at 3:48 PM, Marcel Holtmann > <[email protected]> wrote: >> Hi Puneet, >> >>> Does anyone know how to detect a guest network as a captive >>> portal. I mean can i detect a network as a CAPTIVE PORTAL >>> through connman interfaces? So that i can fire a browser for >>> html login authentication. >>> I found a link http://bugs.meego.com/show_bug.cgi?id=1578#c0 >>> >>> but i need more detailed information on it. >> >> yes and we already do that. So in case you are on captive portal, >> the service will be in READY state with LoginRequired=true. Only >> when in ONLINE state you don't have a captive portal.> > >> >> Regards >> >> Marcel > > Thanks Marcel, > I am using connman version 0.54 > There are only three return types of "GetState" of > "org.moblin.connman.manager" interface. > 1.online > 2.connected > 3.offline > There is no ready state as per documents available in > http://wiki.meego.com/D-Bus/ConnMan
That is not the connman API reference, please see docs/service-api.txt in the source. 0.54 is too old though, the LoginRequired property was added later. Elliot, you wrote the wiki page in question. Would it make sense to just link to the source dir or if stable docs are required, just take copies of the text files for the reference part of that document: I have a feeling that anything else is bound to be stale and duplicate work... Now that we (almost) have several MeeGo releases out, at least version numbers should be required. - Jussi _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
