User`s guide

is a connection operation, the selected network interface protocol is enabled. If
the
-X
option is specified, modem support is disabled.
Finally, if the user has indicated that a password is to be used, HCU will send
the password command plus the password to the remote SLTA-10 Adapter, and
wait for a response. If the response does not appear within five seconds, or if
the response is not an acknowledgment, the process is repeated up to two
additional times.
HCU will exit with a status of zero if the connection or hangup was successful.
Otherwise the exit status will be ‘1’. Upon successful exit the network driver
state will be set to modem responses off. This implies that if the connection is
broken during the course of a host application execution the network driver will
not start sending modem responses back to the host application, since it may
not know how to handle them.
If operating under Microsoft Windows 3.1x, dialing out to a remote SLTA-10
Adapter requires running the DOS program
HCU . EXE
in a session prior to running
the Windows API application. The HCU source code is available from Echelon for
integration into a DOS application.
~
When using HCU with the Windows 95/93 operating system, use the following
procedure:
l Start Windows 95198.
l Start a DOS box. Make the DOS box a small window.
l Run HCU in the DOS box.
l After the message “successfully connected” and the DOS prompt appears, EXIT
(type c: \>exit) DOS box.
l Then run the application.
Usage Examples
To connect at 9600 bps with a modem initialization string included in the
process:
HCU -b9600 -pSLTA-2.0 "ATMlElS8=1!" "ATDT9,555-1234!"
It is important to remember to include the carriage return (‘!‘> at the end of
each command string argument.
To hangup:
HCU -h
"---+++---ATHO! M
which includes the Hayes AT command mode escape sequence.
The following is a DOS batch file which will make the connection using a script
'dial. cmd',
execute a host program
'hos tapp
. exe’, and then hangup:
@echo off
12-4
Using the DOS Host Co(mect Utility with SLTA-10 MIP Mode