All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: Small query
Date: Tue, 24 Mar 2015 09:01:58 -0500	[thread overview]
Message-ID: <55116E56.4090909@gmail.com> (raw)
In-Reply-To: <222E70FA67D72A4FB8EEDF5AF01724ACCA1831@BGSMSX102.gar.corp.intel.com>

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

Hi Ram

On 03/24/2015 05:44 AM, Kallumari Nagaraja Rao, RammohanX wrote:
> Hi,
>
> I am trying to update APN via my C code.
>
> Procedure which I am following,
>
> 1.Trying to de activate the context [ “Active” -> 0 ]
>
> 2.Set APN property
>
> 3.Activate the context [“Active” -> 1 ]
>
> I am able to get the modem, get the context.
>
> I am also able to set the APN via C code if the context is deactivated.
> Here context deactivation happened via python script under /test folder.
>
> Deactivation via c code is not happening, sometimes even if I am trying
> to deactivate ofonod daemon is activating it.

oFono only does what it is told.  Some other service must be activating 
it.  ConnMan has logic in it to re-activate contexts in case of network 
failures, etc.  You probably need to tell ConnMan not to do its thing 
while you're messing with the settings.  Or set 
org.ofono.ConnectionManager.Powered property to False.

>
> Let me know if you can pin point at any mistake. Thanks.
>

Regards,
-Denis

  reply	other threads:[~2015-03-24 14:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-24 10:44 Small query Kallumari
2015-03-24 14:01 ` Denis Kenzior [this message]
2015-04-24  4:22 ` Kallumari
2015-04-24 15:15   ` 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=55116E56.4090909@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.