All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: Network information can't be updated dynamically
Date: Wed, 29 Jul 2009 12:24:23 -0500	[thread overview]
Message-ID: <200907291224.24273.denkenz@gmail.com> (raw)
In-Reply-To: <B94C62E7C2870743865418621F040C1302053C4EFB@pdsmsx502.ccr.corp.intel.com>

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

Hi,

> Hi,
> I take a phone as modem to use ofono and find the network information can't
> be updated dynamically in ofono: so the network status always is roaming.
> Because ofono get the response is roaming status at beginning.
>   ofonod[10503]:  Response line: +CREG: 2,5,"188E","00006302"
>
> The network status and signal strength will update dynamically but ofono
> can't receive it automatically because modem can't send it regular. or
> anything wrong in my understanding?

The only thing that oFono core will poll periodically is the network 
operators.  Everything else must be handled by the driver.  For network status 
updates atmodem sends an AT+CREG=2, quoting 27.007:

"2 - enable network registration and location information unsolicited result 
code +CREG: <stat>[,<lac>,<ci>[,<AcT>]]"

This seems to work ok on my devices.  Are you sure your modem re-registers to 
the home network?

For signal strength oFono explicitly doesn't poll this in the reference 
driver.  This is because vast majority of vendors out there have their own 
specific command to turn on period signal strength updates.  If you want this 
feature, you need to submit a patch that enables this support explicitly.

>
> Can ofono send the CREG command regular to get the network information look
> like COPS command?

No.

>
> If we expect application to initialize this request then which interface
> for it? Get properties and properties_changed can't get the updated
> information so far.

Nope, nothing like this is required.

Regards,
-Denis

  parent reply	other threads:[~2009-07-29 17:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-29  8:28 Network information can't be updated dynamically Li, Zhigang
2009-07-29  9:41 ` Li, Zhigang
2009-07-29 17:24 ` Denis Kenzior [this message]
2009-07-30  1:51   ` Li, Zhigang
2009-07-30  2:01     ` Denis Kenzior
2009-07-30  2:18       ` Li, Zhigang
2009-07-30  2:45         ` Denis Kenzior
2009-07-30  7:22           ` Li, Zhigang

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=200907291224.24273.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.