User`s guide
If the SLTA-10 Adapter is forced to send the hangup string, and this string does not
exist in the EEPROM configuration, the response to this message will indicate a
failure. If the
i f-conf ig
byte of this message is non-zero, the SLTA-10 Adapter
sends the configuration string to the modem following the hangup process. This
provides a remote host with the ability to dial up a remote SLTA-10 Adapter, change
the configuration string, hang-up, and reconfigure the modem.
Install Password
This message stores a dial-in password in EEPROM. The default setting for this
string is a null string, which results in no password requirement by the SLTA-10
Adapter. Any node on the network may change the password, but an external host
must have already connected and used the existing password in order to change it,
unless it was blank. Any installed SLTA-10 Adapter should use a password,
otherwise an intruder might change the password to another setting.
The password string is limited to 8 characters, and may be any sequence of non-zero
eight bit values. The string must be null-terminated.
typedef struct {
byte sub-code;
// always #I
byte app-command;
// value = 9
char passwd_string[81;
) ANM-install-passwd-request;
If a password is installed in the SLTA-10 Adapter, the host must issue the
niPASSWD
network interface command to the SLTA-10 Adapter after the connection is
established. The code for this command is OxE4, and it should be followed by up to
eight password characters, null terminated. For details on sending network interface
commands, see the LONWORKS Host Application Programmer’s Guide.
If modem support is selected, a password is present in the SLTA-10 Adapter’s
configuration, and the connection state changes from
IDLE
to
CONNECTED,
the
SLTA-10 Adapter will not process any other network interface commands until the
correct password is sent downlink. If the password is correct the SLTA-10 Adapter
will respond with the
niACK
code. Otherwise the SLTA-10 Adapter will respond with
the
niNACK
code.
Install Modem Configuration String
11-14
Using the SLTA-10 Adapter with a Modem
Whenever the SLTA-10 Adapter is either powered or reset, the connection state is not
CONNECTED,
or is commanded to by the Configure Modem message, the SLTA-10
Adapter will send its modem configuration string to the modem. This string is stored
in EEPROM, and may be changed by this message.
The default setting for this string
is
"ATEO&Cl&D2SO=l!".
The commands specified in this string are:
.
EO
is the AT command to disable local echo of characters received by the
modem.
.
~1 is the AT command to enable the Data Carrier Detect (DCD) output of the
modem, which is active when the modem detects the carrier signal of another
modem on the line.