From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: RE: [PATCH 2/2] ifxmodem: add enable/disable ctm support
Date: Wed, 12 Jan 2011 08:55:48 -0800 [thread overview]
Message-ID: <1294851348.3873.105.camel@aeonflux> (raw)
In-Reply-To: <B668883EB5DD7144ADFC248A72176EA802D59E62@fioues07.ebgroup.elektrobit.com>
[-- Attachment #1: Type: text/plain, Size: 1334 bytes --]
Hi Jeevaka,
> > Now this is something I don't like at all. It is copied code from the
> > modem plugin.
>
> Its the same audio configuration code except that there is a new
> parameter added
> at the end of the parameter list for TTY case.
I really hate duplicating magic numbers in two places. Can we do this
without +XDRV for now and put a /* TODO mark */ in the code. I do need
to think about this audio settings handling a bit more.
So you might have to keep the +XDRV local in your code for testing, but
I'd rather get the other TTY logic in place and worry about the audio
stuff in a second round of patches.
> > Also if this is required, we might need to figure out a
> > complete different way of handling this. We can't have this
> > in two places since that means a full disconnect. Maybe
> > putting this into the audio settings atom might be better.
> > However before we can do anything, I have to understand the
> > semantics behind XDRV, normal voice calls and TTY calls.
> >
>
> Correct me if I'm wrong. If we move this to the audio settings atom,
> then I'm
> afraid that it will end up in used by only ifx modem.
I am not following. This whole stuff is IFX specific. So yes, it will
only be used by IFX. All other vendors have to do their own stuff.
Regards
Marcel
prev parent reply other threads:[~2011-01-12 16:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-10 15:54 [PATCH 0/2] Add ifxmodem support for enable/disable tty Jeevaka Badrappan
2011-01-10 15:54 ` [PATCH 1/2] ctm: add ofono_ctm_get_modem interface Jeevaka Badrappan
2011-01-12 5:59 ` Marcel Holtmann
2011-01-10 15:55 ` [PATCH 2/2] ifxmodem: add enable/disable ctm support Jeevaka Badrappan
2011-01-12 5:59 ` Marcel Holtmann
2011-01-12 12:58 ` Jeevaka.Badrappan
2011-01-12 16:55 ` Marcel Holtmann [this message]
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=1294851348.3873.105.camel@aeonflux \
--to=marcel@holtmann.org \
--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.