From: <ani...@pa...> - 2008-03-19 09:31:48
|
Hi All, I want to perform a serial timeout read through my gumstix ttyS2 port.I use normal read function but it gets stuck up when the controller at other end doesnot respond to it or there is no physical connection between the two . How can i give a read timeout option in C ?? I tried NON blocking option also but then i am not able to get data . Suggetions are most welcomed. Thanks in Advance Anil Quoting ani...@pa...: > Yes the modem is capable of communicating at 115200bps baud.I have > checked this in windows by establishing a dialup connection. > > Anil > > Quoting Dave Hylands <dhy...@gm...>: > >> Hi Anil, >> >>> I am trying to connect A GPRS modem through my Gumstix ttyS0 Port .The >>> gumstix connects when i keep the baud rate as 19200bps but when i >>> change it >>> to 115200bps >>> modem doesnot conncets and gives LCP timeout sending request message. >>> >>> I increased the lcp echo interval also but of no use. >>> >>> Suggestions most welcomed. >> >> Is the GPRS modem capable of communicating at 115200 baud? >> >> Does it do autobaud? Sometimes you need to connect at the default rate >> and send a command or something to change the baud rate. >> >> -- >> Dave Hylands >> Vancouver, BC, Canada >> http://www.DaveHylands.com/ >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> gumstix-users mailing list >> gum...@li... >> https://lists.sourceforge.net/lists/listinfo/gumstix-users >> > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |