All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: Re: [PATCH 2/2] atmodem: Probe device for previous APN.
Date: Thu, 06 Dec 2012 00:12:26 +0100	[thread overview]
Message-ID: <1354749146.1815.11.camel@aeonflux> (raw)
In-Reply-To: <20121205190204.GB27739@alittletooquiet.net>

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

Hi Forest,

> If the device has retained parameters for a previously defined IP
> context, is is probed via AT+CGDCONT?.

this is really not a good idea. The AT+CGDCONT? settings are on a per
device basis. That is not how oFono actually works. It operates on a per
SIM card basis. And since you do not know to what SIM card these
previous settings apply to, the only sensible thing to do is to ignore
them.

You do know that oFono does keep its settings per SIM card persistent.
So no matter what device you enter that SIM card into, the settings will
be available the next time you try to connect. So it is a one time
configuration option.

Regards

Marcel



  reply	other threads:[~2012-12-05 23:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-05 19:02 [PATCH 2/2] atmodem: Probe device for previous APN Forest Bond
2012-12-05 23:12 ` Marcel Holtmann [this message]
2012-12-06  2:54   ` Forest Bond
2012-12-04  4:41     ` Denis Kenzior
2012-12-06 11:45       ` Marcel Holtmann
2012-12-06 15:37         ` Forest Bond

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=1354749146.1815.11.camel@aeonflux \
    --to=marcel@holtmann.org \
    --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.