Modem server development... HELP!?!?
Hello All,
I'm stuck...
I'm writing a modem server in C (quasi dial-up server that connects remote clients to an internal sub-system/hardware.)
Last time I wrote something like was ages ago, and in Pascal/ASM and I don't remember squat.
I know that I can access/control the modem using the termios library.
I remember the AT(Z/DT/DP/H) commands... but I don't remember the control registers and I can't seem to find the documentation on the
Internet).
Now if anyone could help, I'll be forever in his debt.
Here's the general design.
ATZ (OK)
AT<init string> (OK).
ATDT<number> (CONNECTED 56000)
Here's the part the I'm missing... how do I signal the modem that from
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 remember!!@$%#
(And I remember something about '+++' taking the modem back to
controller mode)
HELP?!?!?
|