All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: problem sim status
Date: Thu, 27 Mar 2014 15:30:50 -0500	[thread overview]
Message-ID: <53348A7A.3040805@gmail.com> (raw)
In-Reply-To: <lh218l$pqc$1@ger.gmane.org>

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

Hi Eric,

> ok, i will add this, but if i understand well, this is for +CPIN request
> AFTER sending a PIN. (but i mean my modem need this too.)
> 
> my problem is when modem is added throught dbus/ofono, ofono send somes
> init commands and finaly i mean sim-manager send an +CPIN request to
> know if SIM is locked or not... THIS request fail with CME error 14
> because of too fast query.
> 

Ah, its one of those modems that doesn't have a sim ready notification.
 In that case you probably need to run CPIN queries as part of the modem
power-up procedure.  See examples in plugins/zte.c and plugins/speedup.c
(cfun_enable & sim_state_cb)

Regards,
-Denis

  reply	other threads:[~2014-03-27 20:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-27 18:55 problem sim status Eric BOUXIROT
2014-03-27 20:05 ` Denis Kenzior
2014-03-27 20:21   ` Eric BOUXIROT
2014-03-27 20:30     ` Denis Kenzior [this message]
2014-03-27 21:34       ` Eric BOUXIROT
2014-03-27 22:14         ` Eric BOUXIROT
2014-03-28 17:27       ` Eric BOUXIROT
2014-03-28 17:31         ` Eric BOUXIROT
2014-03-28 20:54         ` Denis Kenzior
2014-03-29 13:35           ` Eric BOUXIROT
2014-03-31 15:30             ` 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=53348A7A.3040805@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.