Open Source Telephony
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: Alcatel Onetouch X515 support
Date: Thu, 08 Nov 2012 08:16:43 -0600	[thread overview]
Message-ID: <509BBECB.80809@gmail.com> (raw)
In-Reply-To: <CABvLYuB1FDRiL7n3u3XmDqRpKz8z5j0PxnXH00MPfEMeY3dc=w@mail.gmail.com>

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

Hi Cedric,

On 11/08/2012 04:12 AM, Cedric Jehasse wrote:
> Hi,
>
> I'm looking to extend the alcatel plugin to be able to setup a pdp
> context with an Alcatel dongle.
>
> The first issue i ran into is right after entering the pin, "AT+CPIN?"
> is returning a CME Error: SIM busy. And the PinRequired property is not
> updated.
> I have taken logs with the software from Alcatel, and in those logs i
> see "AT+CNUM" and "AT+CSCA?" also return the same error.
> I think we can get these errors while the sim is initializing.
>
> It looks like AT+CPIN? should be polled on this device. I wanted to do
> this from the alcatel plugin, but I don't know how to update the sim
> state from there to change Pinrequired.
> It would be done automatically if i would call __ofono_sim_recheck_pin
> from the plugin, but i'm not sure if it can be called from a plugin.
>
> Do you have any advice for me on this?
>

Check how other plugins do this, in particular pay attention to 
at_util_sim_state_query usage.

Regards,
-Denis

  reply	other threads:[~2012-11-08 14:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-08 10:12 Alcatel Onetouch X515 support Cedric Jehasse
2012-11-08 14:16 ` Denis Kenzior [this message]
2012-11-08 15:02   ` Cedric Jehasse
2012-11-08 15:10     ` Denis Kenzior
2012-11-08 15:29       ` Cedric Jehasse
2012-11-08 15:43         ` Denis Kenzior
2012-11-08 16:43           ` Cedric Jehasse
2012-11-08 17:29             ` 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=509BBECB.80809@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox