![Quark-Elec QK-G022 Скачать руководство пользователя страница 23](http://html1.mh-extra.com/html/quark-elec/qk-g022/qk-g022_manual_3515054023.webp)
Quark-elec Manual
23 of 31
2018
V2
11. 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
888888
Register the main mobile terminal with G021
module by sending
‘888888’
to G021/22 model.
If registration is successful, the module will
reply with ‘
Your phone has been registered
.’
Each G021/22 module can only have one main
registered SIM card number. This message
should be received within the first 600 seconds
once
G021/22
powered
up,
otherwise
‘
registered disabled’
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 G021/22 module receives ‘
XGZHM
’, it will
allow any mobile terminal to replace the main
mobile number by sending ‘
888888
’ within 600
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
G021/22 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
G021/22 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.
G021/22 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.
G021/22 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
Where n is the relay number.