Ip access – 2N M2M Solution 2N SmartCom - User Manual 1.9.0 User Manual

Page 63

Advertising
background image

63

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

®

1 – relay is closed (on)

relay is open (off)

0 –

S1 or

define the relay state after the terminal restart:

S2 –

1 – relay is closed after restart
0 – relay is open after restart
2 – relay retains the pre–restart state

Tip

The relay gets off (contacts get released) after power off and,
normally, the terminal does not remember the relay states. Therefore,
the S1 and S2 parameters have been introduced, defining to which
state the relay should be switched after power up.

Example:

Suppose you want relay 1 to be switched into the open state now and into the closed
state after restart, and relay 2 to close and retain so after restart. Hence, send the
following configuration SMS:

SC REL PWD=Password R1=0 R2=1 S1=1 S2=2

The command will be executed and the terminal will send the following reply:

R1=0 R2=1 S1=1 S2=2

IP Access

You can also set IP address access authorisation using SMS. By enabling the IP Access
you will restrict the access to the terminal configuration to selected IP addresses. You
can select up to 5 different IP addresses.

The configuration SMS is as follows:

SC IPA PWD=<Password> [AUTH=<ip_auth>] [ADD=<ip_addr>] [DEL=<ip_id>]
_[REP=<ip_addr_1>,<ip_addr_2>,…<ip_addr_5>]

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

The parameters in square brackets are optional and can be omitted. The password is
the only mandatory parameter! The meanings of the IPA 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

!

AUTH=<ip_auth> –this parameter changes the mode and has the following
numerical options:

0 – disabled
1 – enabled

Advertising