All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
To: ofono@ofono.org
Subject: Re: bug reactivating primary context?
Date: Wed, 27 May 2015 19:02:51 +0200	[thread overview]
Message-ID: <5565F8BB.4030106@dynamicdevices.co.uk> (raw)
In-Reply-To: <CANPyyuOxb-vV6cVNA-oeHt1atNPGHPg_SPBGW3o8CUOvrVaJcw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1260 bytes --]



On 27/05/2015 18:58, Mike Williams wrote:
> Alex,
>
> On Tue, May 26, 2015 at 12:20 PM, Alex J Lennon
> <ajlennon@dynamicdevices.co.uk> wrote:
>> Would you mind sharing the auto connection patch for cellular as we have
>> been wondering here why configuring autoconnection didn't seem to make
>> any difference?
>
> It's actually a patch for connman, which needs cellular services set
> with favorite=true as well as autoconnect=true before it will
> automatically connect them. connman correctly parses 'cellular' out of
> DefaultAutoConnectTechnologies and sets the autocorrect property for
> cellular services, so this patch just sets those services' favorite
> property to the autoconnect property when they are created.
>
> I'm a complete beginner to the connman/ofono source code though, so
> use this patch at your own risk :).
>
> Mike

Thanks Mike - that sounds very much like what we need.

I had resorted to a script which forced a connection of all cellular_foo
services to cause connman to connect the service and thus set the
"favourite" property

re: beginner - me too (although I have spent more time than I care to
recall fighting with PPP and modem AT command-sets over the years! :)

Thanks again,

Alex

  reply	other threads:[~2015-05-27 17:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-26 15:38 bug reactivating primary context? Mike Williams
2015-05-26 16:20 ` Alex J Lennon
2015-05-27 16:58   ` Mike Williams
2015-05-27 17:02     ` Alex J Lennon [this message]
2015-05-26 16:21 ` Denis Kenzior
2015-05-27 16:52   ` Mike Williams
2015-05-27 17:14     ` Denis Kenzior
2015-05-27 18:52       ` Mike Williams
2015-05-27 20:35         ` Denis Kenzior
2015-05-27 17:07   ` Alex J Lennon
2015-05-27 17:16     ` Denis Kenzior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5565F8BB.4030106@dynamicdevices.co.uk \
    --to=ajlennon@dynamicdevices.co.uk \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.