From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: Re: Gatmux doubt and suggestion
Date: Thu, 19 Aug 2010 12:51:27 +0200 [thread overview]
Message-ID: <1282215087.23399.169.camel@localhost.localdomain> (raw)
In-Reply-To: <B668883EB5DD7144ADFC248A72176EA8029A7E46@fioues07.ebgroup.elektrobit.com>
[-- Attachment #1: Type: text/plain, Size: 929 bytes --]
Hi Arun,
> In mux_query_cb(), the frame size is taken as default (31 or 64). We
> have a case where the default values are not accepted by the modem.
>
> Gatmux is a generic component, and so makes all modem to use the
> default values, one needs to modify the gatmux to enable for example,
> a larger frame size.
>
> Why not let the modem plug-in parse the CMUX query and decide on a
> suitable configuration for enabling MUX?
>
> What is your opinion?
patches are welcome.
However you do know that the GAtMux has setup functions for basic and
advanced mode. So you could parse AT+CMUX all by yourself in the modem
plugin.
GAtMux *g_at_mux_new_gsm0710_basic(GIOChannel *channel, int framesize);
GAtMux *g_at_mux_new_gsm0710_advanced(GIOChannel *channel, int framesize);
There is no requirement to actually use g_at_mux_setup_gsm0710(), but it
is a lot more convenient.
Regards
Marcel
next prev parent reply other threads:[~2010-08-19 10:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-19 9:27 Gatmux doubt and suggestion Arun.Ravindran
2010-08-19 10:51 ` Marcel Holtmann [this message]
2010-08-19 11:08 ` Arun.Ravindran
2010-08-19 11:22 ` Marcel Holtmann
2010-08-19 13:22 ` Arun.Ravindran
2010-08-19 14:27 ` 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=1282215087.23399.169.camel@localhost.localdomain \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox