net.connman.Service setProperty

2015-10-12 Thread Francesco Bruno
Dear All,  I'm trying to set the Ipv4 configuration using the setProperty in the intefarce net.connman.Service. The documentation says that the the data passed to the interface must be a dict with same values as IPv4 property. So I've created a GVariant of type a{sv}  i.e. an array of dict entr

Re: service state transition to failure

2015-10-12 Thread Patrik Flykt
Hi, On Fri, 2015-10-09 at 10:52 -0700, Naveen Singh wrote: > This may not happen at all. My understanding is that wpa_supplicant would > time out only if the AP is not seen in subsequent scans. But the AP is > always found in scan as there is nothing wrong at 802.11 level. The user > foun

How to provide DHCP on a technology

2015-10-12 Thread John Ernberg
Hi, I'm using Connman in an embedded environment where a device will connect to us over USB, this device will provide an ethernet interface on the USB port, and the device will be in gadget mode. Thus when they connect to us we load the cdc_ether driver and create an Ethernet interface over the

Re: service state transition to failure

2015-10-12 Thread Naveen Singh
On Mon, Oct 12, 2015 at 6:31 AM, Patrik Flykt wrote: > > Hi, > > On Fri, 2015-10-09 at 10:52 -0700, Naveen Singh wrote: > > This may not happen at all. My understanding is that wpa_supplicant would > > time out only if the AP is not seen in subsequent scans. But the AP is > > always found

Re: net.connman.Service setProperty

2015-10-12 Thread Adam Moore
I¹m not sure if this will do it, but in my agent¹s RequestInput method implementation, which expects a dictionary, I had to wrap it in a tuple. This might be worth a quick try: GVariant *set_property_with_me = g_variant_new_tuple(&iResVar, 1); // Now returning ({sv}) On 10/12/15, 6:30 AM, "co

Re: net.connman.Service setProperty

2015-10-12 Thread francobruno77
Thanks. Are you able to change IPv4 configuration? I'm getting not supported error. It doesn't work even with python test application. The service stucks in configuraton state and the method cannot be changed in anything but off. Any idea? Thanks. Francesco Bruno On Mon, Oct 12, 2015

Re: service state transition to failure

2015-10-12 Thread Naveen Singh
In my previous email when I meant *"**User could be initiating scan" *I actually meant "*Application could be initiating scan".* On Mon, Oct 12, 2015 at 10:38 AM, Naveen Singh wrote: > > > On Mon, Oct 12, 2015 at 6:31 AM, Patrik Flykt < > patrik.fl...@linux.intel.com> wrote: > >> >> Hi,