2N M2M Solution 2N SmartCom - User Manual 1.9.0 User Manual

Page 61

Advertising
background image

61

2N TELEKOMUNIKACE a.s., www.2n.cz

®

Now let us describe the contents of a configuration SMS and all optional parameters.

SC CNF PWD=<password> [MODE=<mode>] [232LCK=<rs232_lock>] [APN=<gprs_apn>]
[DUSR=<gprs_data_user>] [DPWD=<gprs_data_password>] [IPS=<server_ip_address>]
[PORTS=<server_port>] [NPWD=<new_password>]

The parameters in square brackets are optional and can be omitted. The password is
the only mandatory parameter! The meanings of the CNF command parameters are as
follows:

PWD=<password> – authentication password. The password has to be set up
first (AUTH_PASS configuration parameter). The password is the only

parameter in this configuration SMS!

mandatory
MODE=<mode> –
this parameter changes the mode and has the following
numerical options:

1 – TCP Client
2 – UDP Client
3 – STANDALONE

232LCK=<rs232_lock> – this parameter enforces authorisation on the RS232
port. If enabled, you have to authorise yourself by the password to get connected
via this port. 0 = disabled, 1 = enabled.
APN=<gprs_apn> – provider's Access Point Name.
DUSR=<gprs_data_user> – user name for provider connection.
DPWD=<gprs_data_password> – password for provider connection.

IPS=<server_ip_address> –2N SmartCOM

®

Server IP address (used in the

Client mode).
PORTS=<server_port> – listening server port for terminal connection (used in
the Client mode).
NPWD=<new_password> – new authorisation password.

Tip

The new authorisation password should contain 5 characters at least
to prevent communication problems with other applications.

Tip

If the SMS has been created and processed correctly, 2N

®

will send a confirmation SMS to the number from which

SmartCOM
the original SMS was sent. The confirmation SMS contains all the
recently set parameters and is used for verification of the set values.

Caution

Some GSM providers do not require user name and password for
Internet connection setup. Therefore, contact your provider to make
sure.

Example of configuration SMS:

Suppose you want to change the default password (into password 1) and set APN

Advertising