ts-7000
[Top] [All Lists]

[ts-7000] Re: gsm1: GPRS and SMS at the same time

To:
Subject: [ts-7000] Re: gsm1: GPRS and SMS at the same time
From: "janne.kario" <>
Date: Wed, 12 Jan 2011 08:28:41 -0000
--- In  "Doug" <> wrote:
> The protocol is pretty complicated, but there are projects out there to make 
> use of it. I believe there are efforts to create a kernel driver for CMUX in 
> 2.6 (not sure on this, though!) but I'm still using the 2.4 kernel. There is 
> an open source user space program called gsmMuxd that implements it and 
> creates virtual ports you can use. It's not as efficient as a kernel driver 
> would be, but it works great in my experience:
> 
> http://developer.berlios.de/projects/gsmmux/
> 

I'm using gsmMuxd on my TS-7260 with TS-GSM1 to multiplex the serial port. The 
command 

gsmMuxd -m generic -b 115200 -s /dev/mux -p /dev/ttyS0 -r -n /dev/ptmx 
/dev/ptmx /dev/ptmx

creates virtual serial ports /dev/mux0, /dev/mux1, dev/mux2 and I can attach 
pppd to the other one and issue SMS AT commands to the other one. Attaching 
pppd to the virtual serial port is just a matter of issuing "/dev/mux1" in your 
/etc/ppp/peers/provider and as far as pppd is concerned it acts just as any 
other serial port.

The problem I'm currently having is that the MUX session is not 100% reliable. 
It hangs once in a while which causes the overlying pppd connection to also 
hang. There is a -r in gsmMuxd which tries to detect whether the MUX session is 
healthy and re-establishes the session if the modem does not respond to ping. 
This does not work 100% either because usually there is a 10-30 minute delay in 
gsmMuxd picking up that the session is not responding.







------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU