Microsoft KB Archive/246773

= HOWTO: Specify Modem Initialization Commands =

PSS ID Number: 246773

Article Last Modified on 10/2/2003

-

The information in this article applies to:


 * Microsoft Windows CE Platform Builder 2.11
 * Microsoft Windows CE Platform Builder 2.12

-



This article was previously published under Q246773



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SUMMARY
This article describes how to specify modem initialization commands by using the registry.



MORE INFORMATION
The location of the modem initialization commands depends on whether the modem is built-in, external, or on a PC card (PCMCIA). The initialization commands are listed in the Init subkey of the driver key. These commands have numeric value names, and are listed in the sequence in which the commands need to be issued.

For a built-in modem, the best place to put the initialization settings is in the driver key for the comm device:

HKEY_LOCAL_MACHINE\Drivers\Builtin\OEMSerial1 "Dll"="serial.dll" "Tsp"="unimodem.dll" .......

HKEY_LOCAL_MACHINE\Drivers\Builtin\OEMSerial1\Init "1"="AT" "2"="ATE0V1&C1&D2" ......

You can also override the standard Hayes commands by changing the values in the modem Settings key. The default initializations commands are as follows:

[HKEY_LOCAL_MACHINE\Drivers\Unimodem\Init] "1"="AT" "2"="ATE0V1&C1&D2"

[HKEY_LOCAL_MACHINE\Drivers\Unimodem\Settings] "Prefix"="AT" "Terminator"="" "DialPrefix"="D" "DialSuffix"=";" "Pulse"="P" "Tone"="T" "Blind_Off"="X4" "Blind_On"="X3" "CallSetupFailTimeout"="ATS7=<#>" "Reset"="ATZ"

Microsoft does not recommend that you change the default values because it will affect other modems (external as well as PCMCIA).

Keywords: kbhowto KB246773

Technology: kbAudDeveloper kbSDKSearch kbWinCESDK211 kbWinCESDK212 kbWinCESDKSearch kbWinCESearch

-

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

© 2004 Microsoft Corporation. All rights reserved.