From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: driver callback naming
Date: Sun, 30 Aug 2009 15:20:55 -0500 [thread overview]
Message-ID: <200908301520.56202.denkenz@gmail.com> (raw)
In-Reply-To: <a32762a20908301310s4918ba7buf3523d1689704cd2@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1375 bytes --]
Hi Aki,
> 2009/8/30 Denis Kenzior <denkenz@gmail.com>:
> > The reason for this is e.g. airplane mode, where you physically want to
> > turn off the device. Another case is for battery / power reasons, e.g. a
> > netbook with a USB modem that is not being used.
>
> For airplane mode, you want to turn off the radios. I'm also a bit
> unclear where in the Nokia modem API the enable/disable callbacks
> would map. Offline mode can be set via the modem API, but completely
> powering the modem off is done in HW.
Turning off the radio is the intention. However, oFono is not only to be used
with proper modems, but with Bluetooth HFP, SAP, etc, where poweroff might have
different meaning. Some hardware supports even more drastic powerdown
procedures than simply turning off the radio.
>
> On a somewhat related note, I don't quite see what to do with
> deregister in the netreg driver. Is the intended end state of the
> device, in fact, similar to airplane mode?
This maps directly to AT+COPS=2, which means completely deregister from
network, but still be in full-capability mode. The usefulness of this is of
course questionable, like many other areas of the spec. I'm actually willing
to drop this from the driver, however there might be some use for this
functionality when using manual operator selection.
Regards,
-Denis
next prev parent reply other threads:[~2009-08-30 20:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-29 22:01 driver callback naming Andres Salomon
2009-08-30 18:45 ` Denis Kenzior
2009-08-30 20:00 ` Andres Salomon
2009-08-30 20:10 ` Denis Kenzior
2009-08-30 20:10 ` Aki Niemi
2009-08-30 20:20 ` Denis Kenzior [this message]
2009-08-31 8:54 ` Aki Niemi
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=200908301520.56202.denkenz@gmail.com \
--to=denkenz@gmail.com \
--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.