Use the Init entry to specify the AT commands that are sent to initialize a modem.
One or more command strings.
The following are examples of this entry:
HKR, Init, 1,, "AT<cr>" HKR, Init, 2,, "AT &F E0 V1 &D2 &C1 W2 S95=47<cr>"
HKR, Init, 1,, "AT<cr>" HKR, Init, 2,, "AT &F E0 S0=0 $BA0 S25=20<cr>"
The Init command should put the modem in the following state:
Set Factory Defaults (&F)
No Echo (E0)
Return Result Codes (Q0)
Return all possible Negotiation and Call progress messages (W2 S95=47)
Track status of carrier-detect signal (&C1)
Monitor DTR. When an off-to-on transition occurs, hang up and enter command state (&D2)
Communicate in fixed DTE mode (&Q5)
Assert DSR always (&S0)
Do not answer automatically (S0=0)
If the modem is set to these values after the factory default reset (&F), the values need not be included in the Init command strings. It is important to verify that the factory default reset (&F) uses the correct values.
The default modulation, compression, and protocol options in the Init command strings should be set to enable maximum flexibility. Do not put any settings in the Init string that restrict these capabilities.
A large number of modems require that command lines be no greater than 40 characters in length. To be safe, Unimodem assumes that modems can only handle commands that are less than 40 characters long.
A modem is generally set to report verbose responses. However, either verbose or numeric responses are acceptable. It is important that the correct responses are put in the Responses INF file entries.
The user can define a custom Init command string in Control Panel that is issued after Unimodem completes its dynamic initialization. This setting is found in the modem program in Control Panel under the advanced modem properties tab. The field name in the dialog is Extra Settings.