Send connman mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.01.org/mailman/listinfo/connman
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."
Today's Topics:
1. Re: [PATCH v2] service: Allow removing service in idle state
(Daniel Wagner)
2. Re: Probably roaming right now! (Daniel Wagner)
3. Re: [PATCH] Remove IPv4.gateway key in settings if gateway is
not configured (Daniel Wagner)
----------------------------------------------------------------------
Message: 1
Date: Sun, 26 Mar 2017 20:38:26 +0200
From: Daniel Wagner <[email protected]>
To: Harish Jenny K N <[email protected]>, [email protected]
Subject: Re: [PATCH v2] service: Allow removing service in idle state
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252; format=flowed
Hi Harish,
On 03/17/2017 08:12 AM, Harish Jenny K N wrote:
> Currently only if the service state is CONNMAN_SERVICE_STATE_FAILURE,
> the service is allowed to be removed. This commit allows removing the
> service when service state is CONNMAN_SERVICE_STATE_IDLE and
> CONNMAN_SERVICE_STATE_DISCONNECT.
> This is needed if a connection attempt fails and the service State is in
> CONNMAN_SERVICE_STATE_IDLE or CONNMAN_SERVICE_STATE_DISCONNECT, Remove()
> method can be used to reset the service to clear any wrong passphrase given.
>
> Signed-off-by: Harish Jenny K N <[email protected]>
I dropped the SoB because we don't do it for ConnMan.
> ---
> doc/service-api.txt | 4 ++--
> src/service.c | 3 +--
> 2 files changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/doc/service-api.txt b/doc/service-api.txt
> index e2e9e84..c3682e2 100644
> --- a/doc/service-api.txt
> +++ b/doc/service-api.txt
> @@ -91,8 +91,8 @@ Methods dict GetProperties() [deprecated]
> to false, but that is currently not supported.
>
> In the case a connection attempt failed and the
> - service is in the State=failure, this method can
> - also be used to reset the service.
> + service is in the State=FAILURE|IDLE|DISCONNECT, this
> + method can also be used to reset the service.
I also streamlined the 'State=F...' with the rest of the document. We
list the state normally as 'idle', '...'
Patch applied with the above mentioned changes.
Thanks,
Daniel
------------------------------
Message: 2
Date: Sun, 26 Mar 2017 20:49:03 +0200
From: Daniel Wagner <[email protected]>
To: Fred Ollinger <[email protected]>, "[email protected]"
<[email protected]>
Subject: Re: Probably roaming right now!
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252; format=flowed
Hi Fred,
On 03/23/2017 12:19 AM, Fred Ollinger wrote:
> I wanted to express gratitude for past emails which were very helpful.
>
>
> I have a test that will connect and disconnect from a given access point.
>
>
> WIFI=valid access point path
>
> connmanctl connect $WIFI
>
> # wait for connected
>
> connmanctl disconnect $WIFI
> #wait for disconnect then repeat
What kind of hardware are you using? And are you using nl80211 interface
with wpa_supplicant? Is the driver in mainline or is it something closed?
> This test works for a few connects/disconnects then I get "Probably roaming
> right now!"
wpa_supplicant is coalescing state signals, and ConnMan has to guess
what is happening. The above message says, wpa_supplicant is likely to
switch to a different AP (roaming) but doesn't tell us.
> However, there's no DBUS signal that anything has changed aka that I'm
> "online".
That is correct if we really roam around.
> Trying to connect again with connmanctl says I'm all ready connected.
> But when I check for a connection via DBUS, it says I'm not
> connected.
Not sure what happens here. Can you post the exact steps?
> What's going on?
Hard to tell. Any logs?
> 1. What state am I in? Connected/disconnected?
If ConnMan says it is only you should be able to disconnect. If that is
not possible something is broken. Logs?
> 2. How can I know via DBUS what state I'm in?
Can you run 'monitor-connman' along side and post the log.
Thanks,
Daniel
------------------------------
Message: 3
Date: Sun, 26 Mar 2017 20:55:51 +0200
From: Daniel Wagner <[email protected]>
To: Craig McQueen <[email protected]>, [email protected]
Subject: Re: [PATCH] Remove IPv4.gateway key in settings if gateway is
not configured
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252; format=flowed
Hi Craig,
Patch looks good. I just wonder if we need to handle other missing
settings as well.
I went ahead and applied this one.
Thanks,
Daniel
------------------------------
Subject: Digest Footer
_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman
------------------------------
End of connman Digest, Vol 17, Issue 21
***************************************