[comp.dcom.modems] Setting High Speed w/ 'AT' command set

parlier@puente.jpl.nasa.gov (Randy Parlier) (08/11/90)

	I just received an Infotel 2400 XA modem which is supposed to
	fully support the Hayes commands.  When I first plugged the
	modem in the "HS" led was lit but the "AA" led was off.

	After reading the manual I entered the command:

		"ats0=1&w0&y0"

	Which turned on the auto-answer mode.  However,  as soon as
	I did this the High-Speed LED went off.  Now whenever I receive
	a call, the modem answers in 1200 mode and I cannot get it to
	operate in 2400 baud mode.

	The manual mentions that I can configure the modem to select
	various operation speeds by entering an AT set command.  The
	only one it mentions is "ATBn" where
			n=1 selects Bell 212A in the 1200BPS mode
			n=0 selects CCITT V.22 in the 1200BPS mode.

	It does not mention anywhere on how to select 2400BPS mode.

	Can someone please help???  How do I select 2400BPS?

	Randy
	parlier@puente.jpl.nasa.gov

rsj@wa4mei.UUCP (Randy Jarrett) (08/12/90)

In <9110@jpl-devvax.JPL.NASA.GOV> parlier@puente.jpl.nasa.gov (Randy Parlier) writes:


>	I just received an Infotel 2400 XA modem which is supposed to
>	fully support the Hayes commands.  When I first plugged the
>	modem in the "HS" led was lit but the "AA" led was off.

>	After reading the manual I entered the command:

>		"ats0=1&w0&y0"

>	Which turned on the auto-answer mode.  However,  as soon as
>	I did this the High-Speed LED went off.  Now whenever I receive
		       ^^^^^^^^^^^^^^^^^^^^^^^^

>	a call, the modem answers in 1200 mode and I cannot get it to
>	operate in 2400 baud mode.

What probably happened was that your serial port was at 1200 baud
when you made this change.  Hayes and Hayes compatable modems will
default to the baud rate that was in use when the last command was
used.  You need to setup the port at 2400 baud and access the modem
and if it is truly Hayes compatable then do an "at &w" which will
write the setup back. There should be no changes but by doing this 
at 2400 baud your "hs" lamp should come back on and calling systems
should get the 2400 baud answer tones.

Another problem with Hayes and Hayes compatable modems is that if
you have a caller at at 1200 baud then someone calls at 2400 baud
the modem will answer at 1200 instead of 2400 unless an outgoing
call resets it to 2400.  When I was running 2400 baud modems I had
an script that just sent an "AT" out to the modems occasionally when
they weren't busy.



-- 
Randy Jarrett  WA4MEI 
UUCP  ...!{emory,gatech}!wa4mei!rsj   | US SNAIL: P.O. Box 941217
PHONE +1 404 493 9017		      |           Atlanta, GA 30341-0217

tnixon@hsfmsh.UUCP (Toby Nixon) (08/13/90)

In article <9110@jpl-devvax.JPL.NASA.GOV>, Randy Parlier
(parlier@puente.jpl.nasa.gov) writes:

-	The manual mentions that I can configure the modem to select
-	various operation speeds by entering an AT set command.  The
-	only one it mentions is "ATBn" where
-			n=1 selects Bell 212A in the 1200BPS mode
-			n=0 selects CCITT V.22 in the 1200BPS mode.
-
-	It does not mention anywhere on how to select 2400BPS mode.
-
-	Can someone please help???  How do I select 2400BPS?

Current Hayes modems have a register that allows you to specifically 
set the maximum connection speed.  However,the modem you havee 
probably doesn't have this, but instead uses the "last AT speed" 
(the speed at which the last AT command was issued) to determine the 
maximum speed.  When you dial a call, the speed at which you issued 
the "ATD<number>" command determines the maximum speed at which the 
modem will connect; e.g., even on a 2400bps modem, if you ATD at 
1200, the modem will not connect at higher than 1200.

When you're answering, this is a bit more of a problem, especially 
if you're AUTO ANSWERING.  If you receive a call after having reset 
the modem, how does it determine the "last AT speed", since you 
haven't given it a command?  In Hayes modems, this is determined by 
the speed at which you issued the last "&W" command to write 
parameters to non-volatile memory.  I would bet that when you did 
the "ATS0=0&W0" that you were set to 1200bps, so the modem 
"remembered" 1200bps as you "default" speed -- it recalls this speed 
as the "last AT speed" every time you power on the modem or reset 
it.

You need to update this "stored AT speed" in the modem's 
non-volatile memory by simply doing an "AT&W" command at 2400bps.

	-- Toby

P.S.  All of this assumes that your modem works like real Hayes 
modems in these respects.  If it doesn't, well, you'll have to 
contact the manufacturer.

-----------------------------------------------------------------------------
Toby Nixon, Principal Engineer     Fax:    +1-404-441-1213  Telex: 6502670805
Hayes Microcomputer Products Inc.  Voice:  +1-404-449-8791  CIS:    70271,404
Norcross, Georgia, USA             BBS:    +1-404-446-6336  MCI:       TNIXON
                                   Telemail: T.NIXON/HAYES  AT&T:     !tnixon
UUCP:   ...!uunet!hayes!tnixon     Internet:        hayes!tnixon@uunet.uu.net
MHS:    C=US / AD=ATTMAIL / PN=TOBY_L_NIXON / DD=TNIXON
-----------------------------------------------------------------------------