Re: Rif: RE: speed (smsc_at2.c)

"Bruno David Rodrigues" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <013e01c1d5a2$e6e2b540$6e01290a@hobbes>
But that's why there is a "speed" in modems.conf. That's why Siemens M20
have a 19200, because *every* works at 19200 and not at 9600.

But the problem is that *every*. There's equal modems at one speed and
others
at other speed (wavecom).

That's why there is a speed in smsc group, to force a speed different from
the
speed defined in modems.conf.

I'm commiting a patch to change this behaviour.

If smsc->speed is defined, use it.
Else try to use modem->speed (if defined, of course).
If this one fails, try to autodetect

Is it ok ?


----- Original Message -----
From: "Stipe Tolj" <[email protected]>
To: <[email protected]>
Cc: "Oded Arbel" <[email protected]>; <[email protected]>
Sent: Wednesday, March 27, 2002 10:18 AM
Subject: Re: Rif: RE: speed (smsc_at2.c)


> [email protected] wrote:
> >
> > > I think that at2 should autodetect speed if it doesn't find any speed
> > > setting, in the smsc group or modems.conf, or if the smsc speed
setting
> > > is set to 0 regardless of the modems.conf setting, or the modems.conf
> > > setting is set to 0 - isn't that the case now ?
> >
> > No. Now you must set speed=0 if you want speed to be autodetected,
otherwise it behaves as you
> > set speed = 9600.
> > That's why I think if no speed is specified than it should be
autodetect.
>
> +1 from me. If no 'speed' directive is specified in the group,
> autodetect should be used, because you don't have a garantee that a
> 9600 speeded device is attached to the port.
>
> Stipe
>
> [email protected]
> -------------------------------------------------------------------
> Wapme Systems AG
>
> Münsterstr. 248
> 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
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.