System information
_____________________________________________________________
Modem Operation
Blastware Operator Manual 7–11
enclosed in square brackets [ ]. When a procedure is run, all commands between the procedure
block title and the next procedure block title are run. The procedures are:
Identification Modem identification that helps you choose a driver.
Connect Commands to make a connection with a remote modem.
Disconnect Commands to break a connection or hang–up the line.
Initialize_PC Contains commands to initialize the modem that will be attached to the
PC at the time of making a connection.
Initialize_Remote Contains commands to initialize the modem that will be attached to the
monitor.
End This procedure block has no body and is used to identify the end of the
script file.
Each procedure block can consist of one or more commands. The commands are in the form
"Command= %d" or "Command= %s" where %d is an integer number and %s is an
alphanumeric text string. There must be a space <space> after the equal sign. All unrecognized
commands are ignored so you can easily add documentation to your file by starting the line with a
"*" as we have done in our drivers. Commands are recognized as part of the programming
language used to set up modems and are described in the table below. An example of each
command as it would appear in a typical script file is also shown.
Typical procedures used to program a Generic Modem as found in Gen_AT.MDM follow the
table below.
COMMAND DESCRIPTION EXAMPLE
Title= %s
Placed in the Initialization procedure to provide
Title= Generic Modem
the PC user with some additional information with which
to identify the modem driver. The text is truncated to
25 characters.
UserNotes= %s
Placed in the initialization procedure to provide
Usernotes= The Generic AT
additional help information to the PC user. This text
Command Set Modem Driver
string can be up to 78 characters long. It is shown
at the bottom of the screen when selecting a new modem
driver from a list.
Dial= %s
This command does the actual dialing. The telephone
Dial= ATD
number or remote modem ID number is appended to the
command string specified by the %s parameter.
CheckResponse= %d %s
This command instructs the program to look for the
Checkresponse= 40 CONNECT
text response specified by the %s parameter for up to
the number of seconds specified by the %d parameter.
COMMAND DESCRIPTION EXAMPLE
Byte= %d
Sends the byte specified by the %d parameter to the
modem. This is required to send special control characters
that cannot be embedded in a text string.
Byte= 13
Pause= %d
Causes the modem program to pause the number of
seconds specified by the %d parameter before executing
the next command.
Pause= 1
ShowResponse= %d
Shows the modem response over the number of seconds
ShowResponse= 1
specified by the %d parameter.










