User`s guide

Connection progress may then be checked periodically by interested nodes using the
Connection Status Query message. The
mode
parameter is used to control the
connection state of the SLTA-10 Adapter. The values for this parameter are:
1 Initiate a dial-out connection. If the SLTA-10 Adapter is already currently
connected, preserve that connection, and ignore the message. The SLTA-10
Adapter’s connection status changes from
IDLE
to
CALL-IN-PROCESS,
unless the
connection is already made, in which case the state stays at
CONNECTED.
The
dial-out prefm is sent first.
2 Same as ‘l’, but disconnect (hang-up) if currently connected before initiating
the new connection.
typedef enum {
DIAL-OUT
=
1,
HANGUP-DIAL-OUT
=
2
} STR-mode;
typedef struct {
byte sub-code; // always #I
byte app-command; // value = 7
STR-mode mode;
byte
dir-num;
// value = O-7 for MIP; O-4 for NSI
) ANM-dial-dir-request;
If the directory entry does not exist, the response to this message will indicate a
failure. A successful response to this message indicates that the SLTA-10 Adapter
has sent the dial-out command to the modem, not that the modem has successfully
dialed. The Connection Status Query message should be sent to determine whether a
successful connection has been established.
Hang-up
This message causes the SLTA-10 Adapter to pulse the EIA-232 DTR signal (Data
Terminal Ready) low for 500ms. If the DCD signal is still ON following this step,
then the SLTA-10 Adapter will send the hangup string (see below) if it is not a null
string. This will terminate the connection, and the SLTA-10 Adapter enters the
IDLE
state. The response will not be sent until this process is complete. Therefore the
transaction timer for this message should be set to at least 768ms if it is sent from a
node on the network. If this message is sent from a remote host, no response should
be expected, since the connection will have been broken before the response can be
sent.
typedef struct {
byte sub-code;
byte
app-command;
boolean if-config;
} ANM-hangup-request;
// always #I
// value =
a
SLTA-10 Adapter User’s Guide
11-13