[PATCH] AT smsc module support for high speed modems

P. A. Bagyenda bagyenda at dsmagic.com
Sun Feb 15 15:33:14 CET 2009


Thanks.

  On the issue of non-standard speeds, I've tested this on Mac OS X  
(which uses bps value as actual speed value) with a 460800 (i.e. non- 
standard) modem, and it works just fine. Said modem also works well  
under Linux. I believe no issue arises since it is the user  
responsibility to provide the correct speed -- and also buy a  
supported modem :)

On Feb 14, 2009, at 22:53, Nikos Balkanas wrote:

> Looks OK. I hope in the default case, the systems that accept actual  
> bps, have no problem with non standard speeds.
>  +1
>
> BR,
> Nikos
> ----- Original Message -----
> From: P. A. Bagyenda
> To: Kannel Devel
> Sent: Saturday, February 14, 2009 5:36 PM
> Subject: [PATCH] AT smsc module support for high speed modems
>
> A while back I made some changes to the AT2 module to get it working  
> with a 460800 baud modem. Here is a cleaned up version of the patch:  
> It merely includes more speed cases, and allows the default to be  
> any speed (rather than 9600) *if* the OS behaves like OSX where  
> B9600 == 9600 (not so under Linux).
>
> Paul.
>
>
>
>
> On Aug 03, 2007, at 09:29, Andreas Fink wrote:
>
>>
>> On 01.08.2007, at 12:16, P. A. Bagyenda wrote:
>>
>>> Thanks Andreas,
>>>
>>>  As I indicated, this was just a rough stab to get it to work for  
>>> me. Here is what happens without these changes: Regular modem  
>>> initialisation seems to work fine, until you try to send out a  
>>> message. Then, for some reason, the modem is deemed (by the AT2  
>>> module) to never answer the request. Issue the same send request  
>>> from minicom and all works fine.
>>>
>>>  We'd need, as you rightly point out, some form of ifdef usage to  
>>> only make the changes for OSX (are there any OSX machines with  
>>> serial ports anymore??). Perhaps others could try this out and  
>>> advise first...
>>
>> Yes there are OSX machines with serial ports. The XServe has a 9pin  
>> sub-D connector at the back. Furthermore all of this works  
>> perfectly fine on USB serial adapters.
>> I would advise you to add modifications one by one and see which  
>> one starts making it work. I presume it might be hardware handshake  
>> or something like that which is not really used on RF based  
>> bluetooth or so.
>>
>>
>>
>>
>>
>> Andreas Fink
>>
>> Fink Consulting GmbH
>> Global Networks Schweiz AG
>> BebbiCell AG
>>
>> ---------------------------------------------------------------
>> Tel: +41-61-6666330 Fax: +41-61-6666331  Mobile: +41-79-2457333
>> Address: Clarastrasse 3, 4058 Basel, Switzerland
>> E-Mail:  andreas at fink.org
>> www.finkconsulting.com www.global-networks.ch www.bebbicell.ch
>> ---------------------------------------------------------------
>> ICQ: 8239353 MSN: msn1 at gni.ch AIM: smsrelay Skype: andreasfink
>> Yahoo: finkconsulting SMS: +41792457333
>>
>>
>>
>>
>>
>
>
>
> A while back I made some changes to the AT2 module to get it working
> with a 460800 baud modem. Here is a cleaned up version of the patch:
> It merely includes more speed cases, and allows the default to be any
> speed (rather than 9600) *if* the OS behaves like OSX where B9600 ==
> 9600 (not so under Linux).
>
> Paul.
>
>
> On Aug 03, 2007, at 09:29, Andreas Fink wrote:
>
> >
> > On 01.08.2007, at 12:16, P. A. Bagyenda wrote:
> >
> >> Thanks Andreas,
> >>
> >>  As I indicated, this was just a rough stab to get it to work for
> >> me. Here is what happens without these changes: Regular modem
> >> initialisation seems to work fine, until you try to send out a
> >> message. Then, for some reason, the modem is deemed (by the AT2
> >> module) to never answer the request. Issue the same send request
> >> from minicom and all works fine.
> >>
> >>  We'd need, as you rightly point out, some form of ifdef usage to
> >> only make the changes for OSX (are there any OSX machines with
> >> serial ports anymore??). Perhaps others could try this out and
> >> advise first...
> >
> > Yes there are OSX machines with serial ports. The XServe has a 9pin
> > sub-D connector at the back. Furthermore all of this works perfectly
> > fine on USB serial adapters.
> > I would advise you to add modifications one by one and see which one
> > starts making it work. I presume it might be hardware handshake or
> > something like that which is not really used on RF based bluetooth
> > or so.
> >
> >
> >
> >
> >
> > Andreas Fink
> >
> > Fink Consulting GmbH
> > Global Networks Schweiz AG
> > BebbiCell AG
> >
> > ---------------------------------------------------------------
> > Tel: +41-61-6666330 Fax: +41-61-6666331  Mobile: +41-79-2457333
> > Address: Clarastrasse 3, 4058 Basel, Switzerland
> > E-Mail:  andreas at fink.org
> > www.finkconsulting.com www.global-networks.ch www.bebbicell.ch
> > ---------------------------------------------------------------
> > ICQ: 8239353 MSN: msn1 at gni.ch AIM: smsrelay Skype: andreasfink
> > Yahoo: finkconsulting SMS: +41792457333
> >
> >
> >
> >
> >
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.kannel.org/pipermail/devel/attachments/20090215/63157e95/attachment-0002.html>


More information about the devel mailing list