Action parameters – 2N M2M Solution 2N SmartCom - User Manual 1.9.0 User Manual
Page 123

123
Action Parameters
Use the parameters of the actions mentioned above to change the relay states and set
the address for SMS/TCP sending. Enter the parameters in the format [value]
and separate them with a space on both ends. There is no specified order for the
parameters.
IP address
Set the IP address
and default port 80 for the TCP messages. To
i[xxx.xxx.xxx.xxx]
change the port, enter
, where is the IP address of the
i[xxx.xxx.xxx.xxx:yyyyy]
x
remote server and is the port to be used for TCP sending.
y
Caution
Enter the IP address for the
action only as it is meaningless and
TCP
signalled as error for the other actions.
Telephone number
Set the telephone number
, where
is the telephone number in the national or
p[xx]
xx
international format. Hence, enter
or
p[123456789]
p[+420123456789].
Caution
The telephone number can be used for the
action only.
SMS
Enter telephone numbers consisting of 1 – 15 characters into the
parameter.
Relay state
Set the relay contact position
or
.
r[1
0]
means that the relay is closed and means that the relay is open.
1
0
Caution
The parameter can be used for the
action only.
r
REL
Timer
Set the timer
in seconds, where
is the waiting time. Refer to the
subse
t[xx]
xx
Timer
ction for details.
Caution
The timer can be used for the
and
actions only.
TCP
SMS
Message
Set the message
. The maximum message length is 40 characters. Longer
m[text]
messages will be rejected.
Note
The maximum of 40 characters is derived from the maximum length
of the SMS to be sent. If the maximum
key values are used, the
PUL
length is 160 characters.