Send connman mailing list submissions to
        [email protected]

To subscribe or unsubscribe 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. Dbus avoid connman storing password always request from agent
      (nick83ola)
   2. Re: [PATCH] pptp: Inform VPN agent about auth errors and unset pwd as 
hidden value
      (Jussi Laakkonen)
   3. Get 4G LTE signaling strength level (JH)


----------------------------------------------------------------------

Date: Thu, 5 Dec 2019 08:52:42 +0000
From: nick83ola <[email protected]>
Subject: Dbus avoid connman storing password always request from agent
To: [email protected]
Cc: [email protected]
Message-ID:
        <CABPh3UOicob1jGmP1VSs5aL7=a+6z_3nrjnadb4j1zrud3m...@mail.gmail.com>
Content-Type: multipart/alternative;
        boundary="000000000000520cb00598f10e03"

--000000000000520cb00598f10e03
Content-Type: text/plain; charset="UTF-8"

Dead con man developers,
I am working on a dbus client to control connman to handle WiFi connections.
I'm a bit confused about what is che right procedure.
Currently I'm getting the list of services from the Manager,  spawning an
agent for connman to retrieve the password and using the Connect
/Disconnect method of the service object to connect.
I have two issues:
- the first one is that connman after the first successful connection
doesn't call the agent anymore is possible to have this?
- is possible to detect if connman is already trying to connect to some
other network?
- if the password is wrong where I should get the error, in the agent or in
the connect?
- I have also to handle a modem: is possible to set the APN from connman?
- how I can set the priorities between Ethernet/WiFi/4g of the networks
from dbus?

Thank you
Nicola Lunghi

On Thu 5 Dec 2019, 07:46 Daniel Wagner, <[email protected]> wrote:

> Hi,
>
> On Wed, Nov 27, 2019 at 03:11:56PM +1100, JH wrote:
> > Hi,
> >
> > I am using dbus to query 4G LTE signaling strength level from
> > "Strength" and get -80 or -100, is it from RSSI?
>
> ConnMan forwards the Strength (or DataStrength in case of 1xEVDO) property
> oFono.
>
> > dbus_message_new_method_call("net.connman", "/",
> > "net.connman.Manager", "GetServices");
> > ....
> >
> > How reliable for the values getting from connman dbus 4G LTE signaling
> > strength level?
>
> IIRC, this depends on the modem firmware. If it reports correct and
> current values to oFono you should be usable.
>
> Thanks,
> Daniel
> _______________________________________________
> connman mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>

--000000000000520cb00598f10e03
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">Dead con man developers,<div dir=3D"auto">I am working on=
 a dbus client to control connman to handle WiFi connections.</div><div dir=
=3D"auto">I&#39;m a bit confused about what is che right procedure.</div><d=
iv dir=3D"auto">Currently I&#39;m getting the list of services from the Man=
ager, =C2=A0spawning an agent for connman to retrieve the password and usin=
g the Connect /Disconnect method of the service object to connect.</div><di=
v dir=3D"auto">I have two issues:</div><div dir=3D"auto">- the first one is=
 that connman after the first successful connection doesn&#39;t call the ag=
ent anymore is possible to have this?</div><div dir=3D"auto">- is possible =
to detect if connman is already trying to connect to some other network?</d=
iv><div dir=3D"auto">- if the password is wrong where I should get the erro=
r, in the agent or in the connect?</div><div dir=3D"auto">- I have also to =
handle a modem: is possible to set the APN from connman?</div><div dir=3D"a=
uto">- how I can set the priorities between Ethernet/WiFi/4g of the network=
s from dbus?</div><div dir=3D"auto"><br></div><div dir=3D"auto">Thank you</=
div><div dir=3D"auto">Nicola Lunghi</div></div><br><div class=3D"gmail_quot=
e"><div dir=3D"ltr" class=3D"gmail_attr">On Thu 5 Dec 2019, 07:46 Daniel Wa=
gner, &lt;<a href=3D"mailto:[email protected]";>[email protected]</a>&gt; wrote:<b=
r></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border=
-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
On Wed, Nov 27, 2019 at 03:11:56PM +1100, JH wrote:<br>
&gt; Hi,<br>
&gt; <br>
&gt; I am using dbus to query 4G LTE signaling strength level from<br>
&gt; &quot;Strength&quot; and get -80 or -100, is it from RSSI?<br>
<br>
ConnMan forwards the Strength (or DataStrength in case of 1xEVDO) property<=
br>
oFono. <br>
<br>
&gt; dbus_message_new_method_call(&quot;net.connman&quot;, &quot;/&quot;,<b=
r>
&gt; &quot;net.connman.Manager&quot;, &quot;GetServices&quot;);<br>
&gt; ....<br>
&gt; <br>
&gt; How reliable for the values getting from connman dbus 4G LTE signaling=
<br>
&gt; strength level?<br>
<br>
IIRC, this depends on the modem firmware. If it reports correct and<br>
current values to oFono you should be usable.<br>
<br>
Thanks,<br>
Daniel<br>
_______________________________________________<br>
connman mailing list -- <a href=3D"mailto:[email protected]"; target=3D"_=
blank" rel=3D"noreferrer">[email protected]</a><br>
To unsubscribe send an email to <a href=3D"mailto:[email protected]=
g" target=3D"_blank" rel=3D"noreferrer">[email protected]</a><br>
</blockquote></div>

--000000000000520cb00598f10e03--

------------------------------

Date: Thu, 05 Dec 2019 09:52:57 -0000
From: "Jussi Laakkonen" <[email protected]>
Subject: Re: [PATCH] pptp: Inform VPN agent about auth errors and
        unset pwd as hidden value
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"

Hi Daniel,

> Hi Jussi,
> 
> Sorry for the long delay. I was a couple of weeks on holiday and
> didn't process any emails or patches :)
> 

Thanks and no worries. I think these patches are never urgent enough to be 
holiday stoppers.

Cheers,
 Jussi

------------------------------

Date: Fri, 6 Dec 2019 10:15:17 +1100
From: JH <[email protected]>
Subject: Get 4G LTE signaling strength level
To: connman <[email protected]>
Message-ID:
        <CAA=hcwqzmw5+b2xbndoqjwcw7yt6hk1ih5x+5ccg41averb...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Hi,

How difference to get 4G LTE signaling strength level from connman
dbus queries or to use qmicli --nas-get-signal-strength
--device=/dev/cdc-wdm0? Are there equivalent that the connman dbus
queries use the same qmicli mechanism? If not, what is the safe or
preferable way to get 4G LTE signaling strength level?

Thanks for your insight comments.

Kind regards,

- jh

------------------------------

Subject: Digest Footer

_______________________________________________
connman mailing list -- [email protected]
To unsubscribe send an email to [email protected]


------------------------------

End of connman Digest, Vol 50, Issue 1
**************************************

Reply via email to