Quark-elec Manual
https://www.quark-elec.com
23 of 30
2018
V2
12. Command and response SMS
Remember that all SMS text commands must always be sent using
CAPITAL
letters. Do not add spaces or any
other characters.
Function
Command
Note
Register SIM cards
Register main SIM card
88888888
Register the main mobile terminal with G021
module by sending
„88888888‟
to G022P
model.
If registration is successful, the module will
reply with „
Your phone has been registered
.
‟
Each G022P module can only have one main
registered SIM card number. This message
should be received within the first 300 seconds
once
G022P
powered
up,
otherwise
„
registered d
isabled‟
message will be send
back to inform the failure of the main SIM
registration.
Replace main SIM card
XGZHM
The registered main mobile terminal can send
„
XGZHM
‟ command at any time if a new SIM
card needs to be replaced as the main mobile.
After G022P modu
le receives „
XGZHM
‟, it will
allow any mobile terminal to replace the main
mobile number by sending „
88888888
‟ within
300 seconds.
Register additional SIM
cards
BDn(mobile number)F
n=1, 1
st
additional mobile
n=2, 2
nd
additional mobile
n=3, 3
rd
additional mobile
Once the main mobile terminal is registered
with G021/22, another three mobile terminals
can be paired with G021/22.
For example, by sending “
BD107919157124F”
,
the first additional mobile terminal (number is
07919157124) has been paired with G021/22.
Similarly,
“BD207909135124F”
means pairing
G022P with the second additional terminal
(whose number is 07909135124).
The message „
Your number n phone has
been registered
‟ will be returned by G021/22,
if mobile terminal n is successfully paired.
Delete
additional
SIM
cards
DELn
n=1, 1
st
mobile terminal
n=2, 2
nd
mobile terminal
n=3, 3
rd
mobile terminal
The registered SIM cards can be deleted from
the authorized SIM list by sending
DELn
. The
deleted SIM terminals can no longer control
G021/22.
Check
registered
SIM
numbers
WHORED
G022P will reply with the authorized SIM list in
the following format:
„
No.1 SIM is xxxxxxxx; No.2 SIM is
xxxxxxxx; No.3 SIM is xxxxxxxx.
‟
Switching relay & mode checking
Switching relay ON
DKYn
n=1, Relay 1; n=2, Relay 2;
n=3, Relay 3.
G022P will reply with the relay state
information in the following format:
„
Port n ON
‟,---working in self-lock mode
„
Port n
has been triggered‟
---working in
latching mode
Where n is the relay number.
Switching relay OFF
GBYn
n=1, Relay 1; n=2, Relay 2
n=3, Relay 3.
G022P will reply with the relay state
information in the following format:
„
Port n OFF
‟
, ---working in self-lock mode
„
External triggered, no action‟
, ---working in
latching mode