Open Source Telephony
 help / color / mirror / Atom feed
From: Guillaume Zajac <guillaume.zajac@linux.intel.com>
To: ofono@ofono.org
Subject: Re: Implement signal strength polling in plugin/driver
Date: Mon, 11 Jun 2012 16:00:23 +0200	[thread overview]
Message-ID: <4FD5F9F7.4010005@linux.intel.com> (raw)
In-Reply-To: <d9e9c17c27aa80d12803dbaa87b8b971@toulouse.viveris.com>

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

Hi Audric,

On 07/06/2012 17:20, Audric Schiltknecht wrote:
> Hi guys,
>
> It seems my first post was lost, so here is a new try.
>
> I am currently developing an ofono-based GSM control interface, using 
> a Sagem
> Hilo modem (I wrote the appropriate plugin) with the atmodem driver.
>
> I am having trouble with signal strength reporting. The terminal does 
> not report
> signal strength by event. Hence, it is not possible to get the value 
> from Ofono,
> since Ofono expects it to be updated on a +CIEV event. I implemented a
> new DBus method in the NetworkRegistration interface to force AT+CSQ 
> command and
> update the property value, but this is clearly not a valid solution.

Do you know in modem specifications if Sagem is using a specific signal 
strength notifications command?
If yes, then you should update in drivers/atmodem/network-registration.c 
the at_creg_set_cb() function to handle OFONO_VENDOR_SAGEM case.
Thus you can use register to the good comman notification.

Could you also give us your AT log and more particulary the 
"AT+CMER=3,0,0,1" answer?
Maybe, this configuration is not supported by your modem and you should 
change it.

>
> I found by looking in include/netreg.h that it should be up to the 
> plugin to
> implement CSQ polling, however I can't find how it is supposed to be 
> done.
> Indeed, the plugin has no access to the netreg atom nor structure, so 
> how is it
> supposed to update one of these properties ?

Indeed, if you use it for instance with ConnMan signal strength 
notification won't work or maybe I miss something.

Kind regards,
Guillaume


  parent reply	other threads:[~2012-06-11 14:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-07 15:20 Implement signal strength polling in plugin/driver Audric Schiltknecht
2012-06-09  6:16 ` Denis Kenzior
2012-06-11 14:00 ` Guillaume Zajac [this message]
2012-06-11 14:28   ` Audric Schiltknecht
  -- strict thread matches above, loose matches on Subject: below --
2012-06-14 12:21 Audric Schiltknecht

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=4FD5F9F7.4010005@linux.intel.com \
    --to=guillaume.zajac@linux.intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox