LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-22-2003, 06:56 AM   #1
gilboa
LQ Newbie
 
Registered: Jun 2003
Posts: 4

Rep: Reputation: 0
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?!?!?
 
Old 06-22-2003, 08:45 AM   #2
gilboa
LQ Newbie
 
Registered: Jun 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Re: Modem server development... HELP!?!?

Nevermind... found a solution... thanks.

Quote:
Originally posted by gilboa
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?!?!?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Modem to Modem connection to test dial-up webcam server dazz Linux - Newbie 2 06-01-2005 04:43 AM
Linux Web Development Server, What Distro? Gear_freak2000 Linux - General 3 07-07-2004 03:06 AM
The server, the modem, the client Godsmackfelipe Linux - Newbie 2 03-18-2004 09:29 AM
Setting up a Web Development Server w/ Slackware Lohan Slackware 5 01-25-2004 01:32 PM
Keeping a development serving in sync with a production server. Passive Linux - Software 2 01-06-2004 11:09 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration