| 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.
|
smsc_at.diff
Description: Binary data
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 --------------------------------------------------------------- Yahoo: finkconsulting SMS: +41792457333
|