Here's the part the I'm missing... how do I signal the modem that fromBasicly, you transfer data using the same channel you use to transfer commands. after you connect to the other side and get a CONNECT <speed> string, you automaticly bumped into data mode, where you are connected to the other side. by sending '+++' (w/o a delay or a new line ) you can instruct the modem to go down to controller mode where you can issue other instructions and then issue ATO to get back to data mode.
now on, I'm sending the data to the other end, and not to the modem's
controller.
If I remember correctly it has something to do with the CTS/RTS flags...
I just don't [EMAIL PROTECTED]
(And I remember something about '+++' taking the modem back to
controller mode)
for an example of how to connect to a serial modem in C, you can look at the Kannel project (http://www.kannel.org) and under the source tree (browsable using either LXR or webcvs) look for gw/smsc/smsc_at2.c .
-- Oded
::.. "Well done is better than well said." -- Benjamin Franklin
================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]