Microsoft KB Archive/99479

= How to Modify MODEMS.INF for Non-Standard Modems =

Article ID: 99479

Article Last Modified on 10/31/2006



This article was previously published under Q99479



SUMMARY
This article contains information to help you modify sections in MODEMS.INF to accommodate modems not handled by standard means.



MORE INFORMATION
MODEMS.INF lists the expected responses for each modem type in a section using the form seen in this example:   [CODEX_2264.INIT.RESPONSE] OK=*cr*lfOK*cr*lf ERROR=*cr*lfERROR*cr*lf Defaults are listed at the beginning of the file and exceptions are listed in each modem's section, with .RESPONSE in the section header. Modem commands depend on the modem (not all are 100 percent Hayes command set compatible), but RAS does not understand BUSY, etc. so you must modify MODEMS.INF. The COMDEV.INI file contains the name of the modem selected and points RAS to the MODEMS.INF file for the appropriate strings.

E1 normally indicates &quot;echo validated,&quot; but in some instances it means &quot;enable command state character echo,&quot; which is not the same thing as validating the echo. (This can be done in the script file, but the modem performs no validation, it simply echos the command.)

The setting S3=13 (CR) is a default. Some modems &quot;forget&quot; to echo the (CR) character; to find out if a program is waiting for the complete echo of the string sent to the modem, check the section of MODEMS.INF file detailing your modem. See what the program is waiting for, then edit the MODEMS.INF file (use any text editor) to make it compatible with your modem.

When you enter a Dial command (ATDT), some modems send a &quot;crlf&quot; or &quot;crlfOKcrlf&quot; message before dialing and sending the expected answer. Here is how to deal with these modems:

If you use ATQ0V1 (&quot;return result codes&quot; and &quot;return result codes in verbose form&quot;), you get the message &quot;CONNECT.&quot; If you use ATX3 or ATX4 you also get &quot;BUSY.&quot; Wait until you get these results and don't be concerned if you get something else before. &quot;CONNECT&quot; or &quot;BUSY&quot; are always the last results before you can enter a new command. If this does not work you might have a timing problem. Check to see if you have to dial &quot;BLIND&quot; or increase the value of S7. The best testing technique is to set S7 to the highest possible value listed in your modem handbook.

Additional query words: 2.00 2.0 2.10 2.1 2.10a 2.1a 2.20 2.2

Keywords: KB99479

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.