All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: Sim plug-and-play
Date: Wed, 05 Sep 2012 07:51:05 -0500	[thread overview]
Message-ID: <50474AB9.5080609@gmail.com> (raw)
In-Reply-To: <loom.20120905T133456-510@post.gmane.org>

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

Hi Cornel,

On 09/05/2012 06:38 AM, Cornel Spinu wrote:
> Hi,
>
> I'm using ofono 0.48 with a cinterion modem and I want enable an plug-and-play

That version is over a year old, I strongly suggest using something much 
more recent.

> sim. Basically when I insert a sim into the modem, I want to do an pin check and
> then continue with other procedures. I was think of creating a notify function
> when AT^SCKS function returns 1 (sim inserted). The thing is I dont know where

I'm not really sure what you're asking, you'll have to provide more 
details.  What does AT^SCKS do? Is that an unsolicited notification or 
something you have to poll?

> to capture the response from that command. Can anyone give me a suggetion?
>

You can see an example of how SIM hot-swap is implemented in e.g. 
plugins/ifx.c.  Just grep for XSIM.

Regards,
-Denis

  reply	other threads:[~2012-09-05 12:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-05 11:38 Sim plug-and-play Cornel Spinu
2012-09-05 12:51 ` Denis Kenzior [this message]
2012-09-05 13:03   ` Cornel Spinu
2012-09-06  7:26     ` Cornel Spinu

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=50474AB9.5080609@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.