Re: AT2 module on Mac OS X
Andreas Fink <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
On 30.07.2007, at 16:39, P. A. Bagyenda wrote: > For some reason, the stock AT2 SMSC module does not quite work > right under OSX (bluetooth serial). After making the changes > (attached), largely by inspecting minicom's code, it works fine. No > time to figure out why, but perhaps somebody can take a look and > make sense of it. > > P. > > <smsc_at.diff> This surprises me as I wrote that part under MacOS X...(however not as bluetooth serial). Looking at your diff, I can't see much difference except the tios initialisation (which I copied over from AT1 module...) and that you clear O_NDELAY with a fcntl after the open (). (by the way, dont use C ++ style in a C programm like initializing a variable n in the middle of a block). As this patch per se could break stuff on other platforms, it would be advisable to only change what's really needed. And so far I can't see what that would be. 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: [email protected] www.finkconsulting.com www.global-networks.ch www.bebbicell.ch --------------------------------------------------------------- ICQ: 8239353 MSN: [email protected] AIM: smsrelay Skype: andreasfink Yahoo: finkconsulting SMS: +41792457333