Copyright © NetPing east Co., Ltd E-mail:
Phone:+886-2-23121582
support@netpingdevice.com
SxR-
Forbid automatic return to the main input for a group of sockets x, where x - is a number of a group of sockets: 1 (sockets 1..4) or 2
(sockets 5..8)
SxR
Perform a return to the main input for a group of sockets x, where x - is a number of a group of sockets: 1 (sockets 1..4) or 2 (sockets
5..8)
Lm+
Switch a line m into a status logic 1, where m - is a number of an IO line (1..8)
Lm-
Switch a line m into a status logic 0, where m - is a number of an IO line (1..8)
LmP
Issue a pulse to a line m, where m - is a number of an IO line(1..8)
Lm?
Request a status of a line m, where m - is a number of an IO line (1..8)
L?
Request a status of all IO lines in a brief form
N?
Request a status of a pinger
Ka
Transmit an IR command through the module IRC-TRv2, where a is a command number
Tb?
Request readings of a temperature sensor b, where b - is a number of a temperature sensor
H?
Request readings of a humidity sensor
Examples of SMS Commands
A command for switching on a relay 1 of a device:
A command for switching off a relay 2 of a device:
Response Messages to SMS Commands
Confirmation of executing a command, such as switching a relay or changing a status of a discrete output line:
where:
fff
– is a code of an outgoing command, executing which is confirmed by this notification. For example, Р1+
kkkkk – is an identifier of a request (a random number from 3 to 9 numbers). It is repeated in a response for compliance between a request and a
response. It is an optional element of a command. If there is no identifier in a command, there will be no identifier in a response (the second command).
An error while a device is analyzing a command. Most probably, a text of an outgoing command is incorrect:
where:
Outgoing command – is a text of an outgoing command, enclosed in quotes completely.
Incorrect password (Community) in an outgoing command:
P1+ SWITCH
NETPING
P2- SWITCH
NETPING
NP DONE fff kkkkkk
NP DONE fff
NP WRONG CMD: «outgoing command»