RE: Serial port problems (Was: Win2k (cygwin) Kannel CVS - COM Port Access)
"Oded Arbel" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
With pleasure. hope the patch attached is satisfactory. -- Oded Arbel m-Wise Mobile Solutions [email protected] Mobile: +972-67-340014 Tel: +972-9-9581711 (ext: 116) ::.. SHIFT TO THE LEFT! SHIFT TO THE RIGHT! POP UP, PUSH DOWN, BYTE, BYTE, BYTE! > -----Original Message----- > From: Stipe Tolj [mailto:[email protected]] > Sent: Thursday, June 20, 2002 2:03 PM > To: Oded Arbel > Cc: Andrea Viscovich; Troy Kelly; Kannel-devel (E-mail) > Subject: Re: Serial port problems (Was: Win2k (cygwin) Kannel > CVS - COM Port Access) > > > Oded, can you sum up that issue to an entry in the STATUS file and > send us in a patch for STATUS and I'll commit it, please? > > BTW, thanks for pointing this out! > > Stipe > > [email protected] > ------------------------------------------------------------------- > Wapme Systems AG > > Vogelsanger Weg 80 > 40470 Düsseldorf > > Tel: +49-211-74845-0 > Fax: +49-211-74845-299 > > E-Mail: [email protected] > Internet: http://www.wapme-systems.de > ------------------------------------------------------------------- > wapme.net - wherever you are >
STATUS.patch
(application/octet-stream, 1.4 KB)
--- gateway/STATUS 2002-04-18 14:22:51.000000000 +0300 +++ gateway/STATUS 2002-06-20 15:27:26.000000000 +0300 @@ -87,6 +87,22 @@ Open issues: + * AT2 module fails to open serial ports after system startup. + The reason is that the default serial port parameters are not peroper + for connecting to modems. to work around the problem you can open the modem + port with a terminal program, make sure it works, close the terminal + program and use the stty program (available on linux and other unixes. check + your system's documentation for an equivilent program) to record the port parameters : + stty -g -F /dev/<serial device> + and then write a startup script to setup the port with those parameters : + stty -F /dev/<serial device> <output of stty -g> + The following line "works for me"(tm) on a Linux Mandrake 8.2 with wavecom modem + connected to a USB port extender: + stty -F /dev/usb/tts/0 1:0:800008bd:0:3:1c:7f:15:4:5:1:0:11:13:1a:0:12:f:17:16:0:0:2f:0:0:0:0:0:0:0:0:0:0:0:0:0 + Posted by: Oded Arbel <[email protected]> + Message-ID: <[email protected]> + Status: AT2 module should be fixed to do that internally + * Clashing unified-prefix when several SMSCs send their incoming messages with or without international prefix. Suggested solution: introduce unified-prefix on smsc group level