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 - Part II



 
 
Thread Tools Display Modes
  #1  
Old September 13th 04, 02:58 PM
Javier
external usenet poster
 
Posts: n/a
Default Serial IO - Part II

First of all a sincere thanks to the people that has
answer to my question

Ok, Im trying again with this but I cant really monitor
the modem activity... how can I do this... Im using an
application named Instant.EXE 2.0 to send the parameters I
mentioned you the last time... what Im really trying to do
is a routine that can activate and dial a desired phone
number... I really want to this by the program, not using
any Windows resourse as well.

The next is an example of the report log generated by my
modem (when connected by a program like windows dialer):

09-09-2004 18:43:38.98 - Initializing modem. *****
09-09-2004 18:43:38.98 - Send: ATcr
09-09-2004 18:43:38.98 - Recv: ATcr
09-09-2004 18:43:38.98 - Recv: crlfOKcrlf
09-09-2004 18:43:38.98 - Interpreted response: Ok
09-09-2004 18:43:38.98 - Send:
AT&FE0V1S0=0&C1&D2+MR=2;+DR=1;+ER=1;W2cr
09-09-2004 18:43:38.98 - Recv:
AT&FE0V1S0=0&C1&D2+MR=2;+DR=1;+ER=1;W2cr
09-09-2004 18:43:38.98 - Recv: crlfOKcrlf
09-09-2004 18:43:38.98 - Interpreted response: Ok
09-09-2004 18:43:38.98 - Send:
ATS7=255M0+ES=1,0,1;+DS=0;+IFC=2,2;X4cr
09-09-2004 18:43:38.98 - Recv: crlfOKcrlf
09-09-2004 18:43:38.98 - Interpreted response: Ok
09-09-2004 18:43:38.98 - Dialing. *****
09-09-2004 18:43:38.98 - Send: ATDT;cr
09-09-2004 18:43:41.75 - Hanging up the modem. *****
09-09-2004 18:43:41.75 - Send: cr
09-09-2004 18:43:41.75 - Recv: crlfNO CARRIERcrlf
09-09-2004 18:43:41.75 - Interpreted response: No Carrier
09-09-2004 18:43:41.75 - Send: ATHcr
09-09-2004 18:43:41.75 - Recv: crlfOKcrlf
09-09-2004 18:43:41.75 - Interpreted response: Ok

I try to do the same at that program sending:

ATcrlf

AT&FE0V1S0=0&C1&D2+MR=2;+DR=1;+ER=1;W2crlf

ATS7=255M0+ES=1,0,1;+DS=0;+IFC=2,2;X4crlf

ATDTthe number to dialcrlf

ATHcrlf

if all of these parameters are correct, why cant I connect
or make the modem ring a phone number?

can u explain me, please, what can I do in order to make
this works fine?

thanks for your cooperation,

Javier.

Note: Im entering the information for the Serial IO
parameters at the IE program.
Ok Franc, I'll try the example about sending that
information with a batch file
  #2  
Old September 14th 04, 05:41 AM
Jeff Richards
external usenet poster
 
Posts: n/a
Default

If you are trying to diagnose a modem problem using a routine that does not
allow you to see the modem responses to the commands that you are issuing,
then I doubt that you will be able to make any progress at all. You need to
reconsider the tools you are using for this job. If you absolutely have to
do it from DOS, something like QuickBASIC would be a suitable tool.

Even if you get it to work, you will need to know whether a particular
number that was dialled was engaged or out of service or whatever, and you
won't know that unless you can monitor the modem responses.
--
Jeff Richards
MS MVP (Windows - Shell/User)
"Javier" wrote in message
...
First of all a sincere thanks to the people that has
answer to my question

Ok, Im trying again with this but I cant really monitor
the modem activity... how can I do this... Im using an
application named Instant.EXE 2.0 to send the parameters I
mentioned you the last time... what Im really trying to do
is a routine that can activate and dial a desired phone
number... I really want to this by the program, not using
any Windows resourse as well.

The next is an example of the report log generated by my
modem (when connected by a program like windows dialer):

09-09-2004 18:43:38.98 - Initializing modem. *****
09-09-2004 18:43:38.98 - Send: ATcr
09-09-2004 18:43:38.98 - Recv: ATcr
09-09-2004 18:43:38.98 - Recv: crlfOKcrlf
09-09-2004 18:43:38.98 - Interpreted response: Ok
09-09-2004 18:43:38.98 - Send:
AT&FE0V1S0=0&C1&D2+MR=2;+DR=1;+ER=1;W2cr
09-09-2004 18:43:38.98 - Recv:
AT&FE0V1S0=0&C1&D2+MR=2;+DR=1;+ER=1;W2cr
09-09-2004 18:43:38.98 - Recv: crlfOKcrlf
09-09-2004 18:43:38.98 - Interpreted response: Ok
09-09-2004 18:43:38.98 - Send:
ATS7=255M0+ES=1,0,1;+DS=0;+IFC=2,2;X4cr
09-09-2004 18:43:38.98 - Recv: crlfOKcrlf
09-09-2004 18:43:38.98 - Interpreted response: Ok
09-09-2004 18:43:38.98 - Dialing. *****
09-09-2004 18:43:38.98 - Send: ATDT;cr
09-09-2004 18:43:41.75 - Hanging up the modem. *****
09-09-2004 18:43:41.75 - Send: cr
09-09-2004 18:43:41.75 - Recv: crlfNO CARRIERcrlf
09-09-2004 18:43:41.75 - Interpreted response: No Carrier
09-09-2004 18:43:41.75 - Send: ATHcr
09-09-2004 18:43:41.75 - Recv: crlfOKcrlf
09-09-2004 18:43:41.75 - Interpreted response: Ok

I try to do the same at that program sending:

ATcrlf

AT&FE0V1S0=0&C1&D2+MR=2;+DR=1;+ER=1;W2crlf

ATS7=255M0+ES=1,0,1;+DS=0;+IFC=2,2;X4crlf

ATDTthe number to dialcrlf

ATHcrlf

if all of these parameters are correct, why cant I connect
or make the modem ring a phone number?

can u explain me, please, what can I do in order to make
this works fine?

thanks for your cooperation,

Javier.

Note: Im entering the information for the Serial IO
parameters at the IE program.
Ok Franc, I'll try the example about sending that
information with a batch file



  #3  
Old September 14th 04, 08:10 AM
Franc Zabkar
external usenet poster
 
Posts: n/a
Default

On Mon, 13 Sep 2004 06:58:10 -0700, "Javier"
put finger to keyboard and composed:


09-09-2004 18:43:38.98 - Send:
ATS7=255M0+ES=1,0,1;+DS=0;+IFC=2,2;X4cr
09-09-2004 18:43:38.98 - Recv: crlfOKcrlf
09-09-2004 18:43:38.98 - Interpreted response: Ok
09-09-2004 18:43:38.98 - Dialing. *****
09-09-2004 18:43:38.98 - Send: ATDT;cr


You should wait for the modem to respond with an OK before sending the
next command. If a character is received by the modem before it
completes a dial command, then it performs a "key abort". That is what
is happening in your case. My modem requires about 5 or 6 seconds to
come back with an OK. You are allowing less than 3 secs.

09-09-2004 18:43:41.75 - Hanging up the modem. *****
09-09-2004 18:43:41.75 - Send: cr
09-09-2004 18:43:41.75 - Recv: crlfNO CARRIERcrlf
09-09-2004 18:43:41.75 - Interpreted response: No Carrier
09-09-2004 18:43:41.75 - Send: ATHcr
09-09-2004 18:43:41.75 - Recv: crlfOKcrlf
09-09-2004 18:43:41.75 - Interpreted response: Ok

I try to do the same at that program sending:

ATcrlf

AT&FE0V1S0=0&C1&D2+MR=2;+DR=1;+ER=1;W2crlf

ATS7=255M0+ES=1,0,1;+DS=0;+IFC=2,2;X4crlf

ATDTthe number to dialcrlf

ATHcrlf


ATH is the hangup command.

if all of these parameters are correct, why cant I connect
or make the modem ring a phone number?


The modem is trying to, but you are hanging up before it can complete
the call.

can u explain me, please, what can I do in order to make
this works fine?

thanks for your cooperation,

Javier.

Note: Im entering the information for the Serial IO
parameters at the IE program.
Ok Franc, I'll try the example about sending that
information with a batch file



- 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 12:22 AM.


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