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: Fri, 28 Mar 2014 15:54:23 -0500	[thread overview]
Message-ID: <5335E17F.6040006@gmail.com> (raw)
In-Reply-To: <lh4bcu$p02$1@ger.gmane.org>

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

Hi Eric,

> is it normal that pre_sim function is called before ofono get modem
> manufacturer and model ?
> 

Yes.  If you note, the devinfo atom is added in pre-sim.

> i would like to get model in presim to make a better patch using modem
> model with a new enum in vendor list (like simcom)
> how i can make pre_sim to wait for theses information available ?

Simply query the model/whichever numbers as part of your initialization
procedure.  e.g. run AT+FOO for the information that you need.  See how
the huawei plugin uses AT+ATI for example.

Regards,
-Denis

  parent reply	other threads:[~2014-03-28 20:54 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
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 [this message]
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=5335E17F.6040006@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.