From: "Miguel-Munoz" <miguelmunoz@sepsa.es>
To: linux-ppp@vger.kernel.org
Subject: Re: pppd and AT+WMUX(Multiplex mode)
Date: Thu, 22 Jul 2004 09:11:36 +0000 [thread overview]
Message-ID: <001301c46fcb$ec299990$08330680@sepsa.es> (raw)
In-Reply-To: <loom.20040721T163210-958@post.gmane.org>
Continuing with the same issue...
I´m trying to do the same with the same modem.
I´m thinking in use a 'virtual' ttyS, changing the device driver.
So I would have a point where I could extarct the headers
(data or commands), almost from the port.
Am I wrong?
Thanks
Miguel
----- Original Message -----
From: <carlsonj@workingcode.com>
To: "Simon Chow" <simonchow@keytechsys.com.hk>
Cc: <linux-ppp@vger.kernel.org>
Sent: Wednesday, July 21, 2004 5:44 PM
Subject: Re: pppd and AT+WMUX(Multiplex mode)
> Simon Chow writes:
> > I am researching how to handle the AT packets and Data packets offered
by
> > the Wavecom GSM modem in AT+WMUX=1 mode. I want to modify the pppd
programme
> > and I think that the tty.c in pppd may be the key to change. The
charshunt
> > function manipulates both the raw bytes sent from and received by the
serial
> > port. However, I am still in an initial stage.
>
> I don't think that analysis is right. The charshunt task is invoked
> only in a few cases (e.g., where the 'record', 'notty', or 'socket'
> options are used), and isn't the normal data path. The normal data
> path is in the kernel, not user space.
>
> > I wonder if the pppd tool can handle the multiplex mode offered by
Wavecom
> > GSM modem. Thanks.
>
> Not today. I think you'd have to modify the PPP modules in the Linux
> kernel to detect the switching mechanism and feed the data up to pppd
> first. Otherwise, it'll probably be handled as bad PPP frames and
> discarded.
>
> --
> James Carlson <carlsonj@workingcode.com>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2004-07-22 9:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-21 14:33 pppd and AT+WMUX(Multiplex mode) Simon Chow
2004-07-21 15:44 ` carlsonj
2004-07-22 9:11 ` Miguel-Munoz [this message]
2004-07-23 8:47 ` Simon Chow
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='001301c46fcb$ec299990$08330680@sepsa.es' \
--to=miguelmunoz@sepsa.es \
--cc=linux-ppp@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).