All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guillaume Zajac <guillaume.zajac@linux.intel.com>
To: ofono@ofono.org
Subject: CDMA modems and oFono
Date: Fri, 04 Nov 2011 14:00:36 +0100	[thread overview]
Message-ID: <4EB3E1F4.1010007@linux.intel.com> (raw)

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

Hi Denis,

I have sent some patches concerning UIM for CDMA modem but I think I am 
missing something around modem.c so you can give them up :)

For the moment, "modem.c" is designed for GSM modem, SIM atom is watched 
to add a state watch to make modem progressing into pre_sim post_sim 
online states etc...
However in the case of a CDMA modem we will have to watch another type 
of atom (UIM for instance) and make the modem progressing into the 
following states: pre_uim post_uim etc...

So what would you suggest to introduce CDMA modem into oFono?
Should we create another src/cdma_modem.c with its own watches, states 
and cdma_atoms?
Or should we keep the current naming (e.g. pre_sim post_sim etc...) and 
change current api to create cdma modem?
Something like: ofono_modem_create(cdma=true/false) that is called from 
udevng. Then this new modem would be tagged as cdma and we would look 
for UIM atom intstead of SIM atom in case of cdma modem.

What do you think about it?

Kind regards,
Guillaume

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 1706 bytes --]

             reply	other threads:[~2011-11-04 13:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-04 13:00 Guillaume Zajac [this message]
2011-11-04 20:20 ` CDMA modems and oFono Denis Kenzior
2011-11-08 19:42   ` Philippe Nunes
2011-11-05 11:39     ` 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=4EB3E1F4.1010007@linux.intel.com \
    --to=guillaume.zajac@linux.intel.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.