A Windows 98 & ME forum. Win98banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Win98banter forum » Windows 98 » Shell
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

Serial IO



 
 
Thread Tools Display Modes
  #1  
Old September 11th 04, 07:20 AM
Javier
external usenet poster
 
Posts: n/a
Default Serial IO

Hi. Im trying to connect my modem and make it ring a
number using a program and sending the serial IO the next
strings:

ATE0V1H ... Initialize modem
AT &F &C1 &D2 &Q5 &K0 S46=0 ... Initialize modem
ATDT[Number] ... Dial number
AT Z H0 ... Hang up

well, they seem to be correct but I cant just make the
modem to work and ring such number... I dont know if it is
because Im not giving the irq number and the port (for ex.
3e8, 2f8)... of course in that program Im telling it the
correct COM port but anything else... as the program says
it should work that way but nothing happens
and also I cant specify the irq number and the port...

how can I make the modem to start and ring a number in a
very easy way?... I hear a sound at the modem when I start
that procedure but it doesnt ring the number!

thanks for your time & support in advance,
Javier.

  #2  
Old September 11th 04, 11:52 AM
Jeff Richards
external usenet poster
 
Posts: n/a
Default

If you are using a COM port number then you don't worry about IRQ numbers
and I/O addresses. You should be monitoring the input from the modem, so
that you can confirm each command is being received and understood - the
modem should respond OK to each command. If you are not getting this
response then the COM port is not properly configured or you are not
accessing it correctly.
--
Jeff Richards
MS MVP (Windows - Shell/User)
"Javier" wrote in message
...
Hi. Im trying to connect my modem and make it ring a
number using a program and sending the serial IO the next
strings:

ATE0V1H ... Initialize modem
AT &F &C1 &D2 &Q5 &K0 S46=0 ... Initialize modem
ATDT[Number] ... Dial number
AT Z H0 ... Hang up

well, they seem to be correct but I cant just make the
modem to work and ring such number... I dont know if it is
because Im not giving the irq number and the port (for ex.
3e8, 2f8)... of course in that program Im telling it the
correct COM port but anything else... as the program says
it should work that way but nothing happens
and also I cant specify the irq number and the port...

how can I make the modem to start and ring a number in a
very easy way?... I hear a sound at the modem when I start
that procedure but it doesnt ring the number!

thanks for your time & support in advance,
Javier.



  #3  
Old September 12th 04, 09:29 PM
Franc Zabkar
external usenet poster
 
Posts: n/a
Default

On Fri, 10 Sep 2004 23:20:12 -0700, "Javier"
put finger to keyboard and composed:

Hi. Im trying to connect my modem and make it ring a
number using a program and sending the serial IO the next
strings:


What exactly are you trying to achieve? Will Windows 98's Phone Dialer
do what you want? If so, then go to Start - Programs - Accessories
- Phone Dialer.

ATE0V1H ... Initialize modem


ATH hangs up the phone. I don't see the point of including the "H".

AT &F &C1 &D2 &Q5 &K0 S46=0 ... Initialize modem


AT&F resets the modem to factory defaults. Hence it overrides the
previous command string.

ATDT[Number] ... Dial number


AT Z H0 ... Hang up


ATZ resets the modem but also resets the data in the command line.
Hence the H0 will not be executed. Use ATH followed by ATZ.

well, they seem to be correct but I cant just make the
modem to work and ring such number... I dont know if it is
because Im not giving the irq number and the port (for ex.
3e8, 2f8)... of course in that program Im telling it the
correct COM port but anything else... as the program says
it should work that way but nothing happens
and also I cant specify the irq number and the port...

how can I make the modem to start and ring a number in a
very easy way?... I hear a sound at the modem when I start
that procedure but it doesnt ring the number!

thanks for your time & support in advance,
Javier.


If you can be more specific as to your requirements, you can tailor a
batch file (say dialer.bat) to automate your dialling, assuming your
modem is a full hardware type, or one that works in a DOS box.

For example, you could issue the following command from the DOS prompt
to communicate with a modem on COM2.

echo AT&F&C1&D2&Q5&K0S46=0E0V1L3M1DT[Number]; COM2

To hangup, use ...

echo ATH COM2

This technique could be adapted for automatic bill payment, for
example.


- Franc Zabkar
--
Please remove one 's' from my address when replying by email.
 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PS2 mouse on serial adapter Leigh Brash General 4 September 20th 04 04:26 PM
Serial Mouse Problem geoff956 General 1 August 17th 04 11:26 AM
Serial port virtualizer Dave Boland General 1 July 15th 04 05:16 PM
need help installing a serial mouse Jack Lee General 0 June 5th 04 01:50 PM
serial convertor h Hardware 1 May 18th 04 03:07 PM


All times are GMT +1. The time now is 01:33 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Win98banter.
The comments are property of their posters.