Shandong USR IOT Technology USRGM3 Serial to GPRS Module User Manual

Shandong USR IOT Technology Limited Serial to GPRS Module

User Manual

USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited1/55tec@usr.cn
USR-GM3/GM3s
U SR-GM3/GM3s
USR-GM3/GM3s
USR-GM3/GM3sUser
U ser
User
UserGuide
G uide
Guide
Guide
(USR-GM3/GM3s)
Fileversion:Ver1.08
USR-GM3/GM3sishighly-integratedUARTtoGSM/GPRSmodule,Userscaneasilymake
communicationbetweenserialdeviceandcellphoneandnetworkdevicewithit.
Thismoduleisdifferentfromthecommonmodulesonthemarket,itisthesmallestGPRSDTU,
plug-and-playdevice.USR-GM3swillbewithSIMcardinside,moreeasiertouse,itjustneed
powersupply.
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited2/55tec@usr.cn
Content
USR-GM3/GM3sUserGuide.........................................................................................................................................1
QuickStart.........................................................................................................................................................................3
1.1.Testingenvironment.........................................................................................................................................3
1.2.Transmission.....................................................................................................................................................4
2.Introduction...................................................................................................................................................................6
2.1.ShortDescription..............................................................................................................................................6
2.2.Characteristic....................................................................................................................................................6
2.3.Features.............................................................................................................................................................6
2.4.ApplicationField................................................................................................................................................7
3.Hardware.......................................................................................................................................................................8
3.1.PinDescription..................................................................................................................................................8
3.1.1.OutsideView..........................................................................................................................................8
3.1.2.PinAssignment
Top
.......................................................................................................................8
3.1.3.PCBLayout............................................................................................................................................8
3.1.4.PinDescription.......................................................................................................................................9
3.1.5.OutsideAntenna..................................................................................................................................
11
3.2.HardwareBlockDiagram..............................................................................................................................
11
4.ModuleFunctions......................................................................................................................................................
11
4.1.WorkMode......................................................................................................................................................12
4.1.1.SwitchingWorkMode.........................................................................................................................12
4.1.2.Networktransmission.........................................................................................................................12
4.1.3.HTTPDFunction.................................................................................................................................20
4.1.4.SMSMessageTransmission.............................................................................................................23
4.2.RegisterPackage...........................................................................................................................................27
4.2.1.Description...........................................................................................................................................28
4.2.2.Usage....................................................................................................................................................28
4.3.HeartBeatPackage.......................................................................................................................................29
4.3.1.Description...........................................................................................................................................30
4.3.2.Usage....................................................................................................................................................30
4.4.UART................................................................................................................................................................31
4.4.1.RS485...................................................................................................................................................32
4.4.2.SimilarRFC2217.................................................................................................................................32
5.ParametersSetting....................................................................................................................................................33
5.1.Operating
AT
command.................................................................................................................................34
5.2.
AT
CommandFormat.....................................................................................................................................35
5.3.
AT
CommandSet...........................................................................................................................................37
AppendixA:Contact......................................................................................................................................................54
AppendixB:Disclaimer.................................................................................................................................................55
AppendixC:UpdateHistory.........................................................................................................................................55
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited3/55tec@usr.cn
Quick
Quick
Quick
QuickStart
S tart
Start
Start
ThischapterisaquickstartguideforusingUSR-GM3/GM3smodule.Ifitisthefirsttimeto
useUSR-GM3/GM3sforyou,youshouldreadthischaptercarefully,andthenfollowthetips,
trytodosometestsbyyourself.ItwillhelpyoutoknowaboutUSR-GM3/GM3sgenerally.If
youhaveexperienceofusingUSR-GM3/GM3s,pleaseescapethischapter.
Inthischapter,youwillbetoldhowtomakecommunicationbetweenserialdeviceandTCP
server.Underdefaultsetting,GM3moduleworksinnetworktransmissionmode,itconnects
toourTCPtestserver,addressistest.usr.cn,portis2317.Theserverwillrespondwhatit
receives.
Allthesoftwareusedinthisdocumentcanbeobtainedfromourwebsitewww.usriot.com
w ww.usriot.com
www.usriot.com
www.usriot.com.
You
canalsoaccessUSRcustomersupportcenter:http://h.usriot.com
http://h.usriot.com
http://h.usriot.com
http://h.usriot.com.
1.1.
1.1.
1.1.
1.1.Testing
T esting
Testing
Testingenvironment
e nvironment
environment
environment
ThevoltageofmoduleisTTL3.3V,soyoushouldnotconnectitwithcomputerserialport
directly,anadapterisnecessary.
NOTE:
NOTE:
NOTE:
NOTE:
1.
1.
1.
1.If
I f
If
Ifit
i t
it
itis
i s
is
isthe
t he
the
thefirst
f irst
first
firsttime
t ime
time
timeto
t o
to
touse
u se
use
useour
o ur
our
ourmodule
m odule
module
modulefor
f or
for
foryou,
y ou,
you,
you,please
p lease
please
pleaseuse
u se
use
useour
o ur
our
ourEV
E V
EV
EVK(Evaluation
K (Evaluation
K(Evaluation
K(EvaluationKit)
K it)
Kit)
Kit),
,
,
,it
i t
it
it
may
may
may
maysave
s ave
save
saveyou
y ou
you
youlot
l ot
lot
lotof
o f
of
oftrouble
t rouble
trouble
troubleand
a nd
and
andtime.
t ime.
time.
time.
2.
2.
2.
2.keep
k eep
keep
keepdefault
d efault
default
defaultsetting
s etting
setting
settingin
i n
in
inthis
t his
this
thistest.
t est.
test.
test.
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited4/55tec@usr.cn
1.2.
1.2.
1.2.
1.2.Transmission
T ransmission
Transmission
Transmission
1.PutSIMcardintothesocketonEVK,connectCOM1toPC
sserialportwithcable.
2.Opentestsoftware”USR-TCP232-Test”,setrightserialportnumberandbaudrate,and
openit.Asthefollowingfigure.
3.PoweruptheEVKwithDC5Vadapter,thenthePOWERledwillbeon,severalseconds
later,theWORKledwilltwinkle,andthenGPRSLINKAledwillbeon.
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited5/55tec@usr.cn
Meaningofled:
POWER“on”meansnormalpowersupply,“offmeanspowersupplyfailure.
WORK“blink”meansrunningcorrectly,off”meansnotrunning.
GPRS“on”meansattached,“off”meansattachfailure.
LINKA“on”meanssocket
A
hasconnectedtoserver,“off”meansnotconnect.
LINKB“on”meanssocketBhasconnectedtoserver,“off”meansnotconnect.
DATA“blink”meanstransmission,“offmeansnotransmission.
4.WaitforLINKAledon,senddatatomoduleviaserialport.Forexample,ifyousend
“www.usr.cn”,atthesametime,the
DATA
ledwillbeonforawhile.Then,youwillget
“www.usr.cn”inthereceivingwindowfromourtestserver.
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited6/55tec@usr.cn
2.
2.
2.
2.Introduction
I ntroduction
Introduction
Introduction
2.1.
2.1.
2.1.
2.1.Short
S hort
Short
ShortDescription
D escription
Description
Description
USR-GM3/GM3sisnewlistingat2015,itisoneembeddedGSMmodule.USR-GM3/GM3s
isdesignedforembeddedsystem,itissosmallandconvenientthatyoucanintegrateitto
yoursystemeasily.
2.2.
2.2.
2.2.
2.2.Characteristic
C haracteristic
Characteristic
Characteristic
SmallandcompletedfunctionGPRSDTU,transmissionbetweenserialandGPRS
SupportGSM850/900,DCS1800/1900
SupportGSM/GPRS/EDGE,support2G/3G/4GSIMcard,butbasedon2Gnetwork
Support2sockets,SupportTCPandUDP
4KBcacheforeachofsockets,usercanchoosetocachedataornot
Supportregisterpackageandheartbeatpackage
SupportsettingparametersviaSMSmessage
Support4workmodes:SMSmessagetransmissionmode,networktransmissionmode
andHTTPDmode
Supportbasicandextend
AT
commandsets
SupportsimilarRFC2217
Supportflowcontrol:RTS/CTS
SupportRS485
2.3.
2.3.
2.3.
2.3.Features
F eatures
Features
Features
Baudrate:2400,4800,9600,14400,19200,28800,33600,38400,57600115200,
230400,460800,921600.
Operatingvoltage:3.40V~4.20V
Operatingcurrent:average55mA~80mA,maximum750mA
Operatingtemperature:-25~+85°C
Storagetemperature:-40~+125°C
Storagehumidity:5%~95%RH
MaxTXpower:GSM900class4(2W)DCS1800class1(1W)
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited7/55tec@usr.cn
2.4.
2.4.
2.4.
2.4.Application
A pplication
Application
ApplicationField
F ield
Field
Field
Inpowerindustry,USR-GM3/GM3scanembeddedintheelectricmeter,powerapplication
terminalsandotherequipmenttorealizeofreactivepower
compensationmonitoring,distributionmonitoring,metercollectionandcopy,
streetlampcontrollingandotherapplications,toachievesmartcity.
InHeatingfield,USR-GM3/GM3scanbeembeddedinm-BUSconcentratortoachievethe
integrationoftheconcentratorandwirelesscommunication.
Inwaterindustry,USR-GM3/GM3sisalsoplaysasignificantroleinsystemofwatersetco
py,waterresourcemanagementandremotemonitoring,wirelesscommunicationofwater
pipenetworkmonitoring.
InEnvironmentalprotection,USR-GM3/GM3smodulecanbeintegratedintotheon-line
monitoringsystemoffluegason-linemonitoring(CEMS),waterqualityonlinemonitoring.
Inthefieldofequipmentmaintenance(Equipmentmaintenancefield),USR-GM3/GM3suse
inthesystemofequipmentremotemonitoring,suchaselevatormonitoring,airconditioning
monitoring.
OtherGPRScommunicationapplications.
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited8/55tec@usr.cn
3.
3.
3.
3.Hardware
H ardware
Hardware
Hardware
3.1.
3.1.
3.1.
3.1.Pin
P in
Pin
PinDescription
D escription
Description
Description
3.1.1.
3.1.1.
3.1.1.
3.1.1.Outside
O utside
Outside
OutsideView
V iew
View
View
3.1.2.
3.1.2.
3.1.2.
3.1.2.Pin
P in
Pin
PinAssignment
A ssignment
Assignment
AssignmentTop
T op
Top
Top
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited9/55tec@usr.cn
3.1.3.
3.1.3.
3.1.3.
3.1.3.PCB
P CB
PCB
PCBLayout
L ayout
Layout
Layout
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited10/55tec@usr.cn
3.1.4.
3.1.4.
3.1.4.
3.1.4.Pin
P in
Pin
PinDescription
D escription
Description
Description
Note:‘P
forpower,‘I
forinput,‘O
foroutput,‘N
fornotconnect
Pin
Pin
Pin
Pin Name
Name
Name
Name Type
Type
Type
Type Description
Description
Description
Description
1VCCPPowersupply3.4Vto4.2V
2VCCPPowersupply3.4Vto4.2V
3GNDPPowerground
4GNDPPowerground
5ReloadIPull-down1srestoredefaultsetting,>3srestorefactorysetting
6NCNKeepnoconnecting
7RS485OControlRS485RX/TX
8NCNKeepnoconnecting
9ResetIRestart,pull-down1sforrestart
10GPRSOGPRSstatus,highforattached,lowfornotattached
11LINKAOSocketAstatus,highforconnected,lowfornotconnected
12LINKBOSocketBstatus,highforconnected,lowfornotconnected
13DATAODatastatus,highfortransmission,lowfornottransmission
14WORKORunningstatus,highfornormal,lowforfailure
15SHUTIShutdown,pull-downforshutmodule
16NCNKeepnoconnecting
17GNDPPowerground
18SPEAKER-OSpeakernegativeterminal
19SPEAKER+OSpeakerpositiveterminal
20MIC-IMicrophonenegativeterminal
21MIC+IMicrophonepositiveterminal
22VSIMPPowersupplyforSIMcard
23SIM_CLKOClocklineforSIM
24SIM_DATI/ODatalineforSIM
25SIM_RSTOResetlineforSIM
26NCNKeepnoconnecting
27HST_TXDOUpgradefromuart
28HST_RXDIUpgradefromuart
29V_PADP2.8Voutput
30NCNKeepnoconnecting
31NCNKeepnoconnecting
32NCNKeepnoconnecting
33NCNKeepnoconnecting
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited
11
/55tec@usr.cn
34NCNKeepnoconnecting
35TXD1OTXlineforuart1
36RXD1IRXlineforuart1
37CTS1OCTSlineforuart1
38RTS1IRTSlineforuart1
39GNDPPowerground
40GNDPPowerground
41RFORFoutput
42GNDPPowerground
3.1.5.
3.1.5.
3.1.5.
3.1.5.Outside
O utside
Outside
OutsideAntenna
A ntenna
Antenna
Antenna
1.ThelineofAntennashouldbeshorttomaketheinsertlosslowerandroutedasRF
linestrictlytokeep50ohmmatching.
2.It
sbettertoputtheantennapadontheedgeofthePCB.
3.2.
3.2.
3.2.
3.2.Hardware
H ardware
Hardware
HardwareB
B
B
Block
l ock
lock
lockD
D
D
Diagram
i agram
iagram
iagram
Theinterfacemoduleprovidesincludes:powerinput,output,on/offcontrol,resettorestart
control,control,restorethefactorySettings,workingmodule,analogaudioinput,output,UART,
SIM,RFantenna.
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited12/55tec@usr.cn
4.
4.
4.
4.Module
M odule
Module
ModuleFunctions
F unctions
Functions
Functions
4.1.
4.1.
4.1.
4.1.Work
W ork
Work
WorkMode
M ode
Mode
Mode
USR-GM3/GM3smodulecanworkin3modes
SMSmessagetransmissionmode
networktransmissionmode
HTTPDmode
4.1.1.
4.1.1.
4.1.1.
4.1.1.Switching
S witching
Switching
SwitchingWork
W ork
Work
WorkMode
M ode
Mode
Mode
Choosebybuttonyouwanttoworkmode
Andthenselectsaveallparameters
Cansavethedefaultparametersfortheuser,clickontherestartaftereffectiveworking
mode.
Note:ifyoucan'tfindtheabovetoolbuttonspleaserefertothepicture'spositiononthe
drive,youcanseethehiddenbutton
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited13/55tec@usr.cn
4.1.2.
4.1.2.
4.1.2.
4.1.2.Network
N etwork
Network
Networktransmission
t ransmission
transmission
transmission
4.1.2.1.
4.1.2.1.
4.1.2.1.
4.1.2.1.Description
D escription
Description
Description
Underthismode,customer
sserialdevicecansenddatatoTCPorUDPserverviathis
module,Modulecanalsoreceivedatafromserver,andtransmitthedatatocustomer
s
serialdevice.
Customersdon’tneedtoknowthedetailofcommunication,justneedsomesimplesetting.
GM3support2sockets,socket
A
andsocketB,theyarestandalonewitheachother.GM3
onlysupportsTCPClientandUDPClient.
4.1.2.2.
4.1.2.2.
4.1.2.2.
4.1.2.2.Application
A pplication
Application
ApplicationScenarios
S cenarios
Scenarios
Scenarios
Ifuserwanttomakecommunicationbetweenserialdevicesanddevicesonthenetwork,
butintheplacewhereserialdevicestaysusingroutertoconnecttonetworkisnot
convenientforuser.Butsignalfrombasestationisavailable,soGM3modulecanbuilda
bridgebetweenserialdeviceanddevicesonthenetwork.
4.1.2.3.
4.1.2.3.
4.1.2.3.
4.1.2.3.Usage
U sage
Usage
Usage
Note:Allthe
AT
commandsterminatewithcarriagereturn(0x0D),weignoreithere.
Abouthowtouse
AT
commands,pleaserefertochapter5.
Wehaveonesoftwareforcustomerstouse,customerscangetitfromour
website:http://www.usriot.com/Download/248.html.
http://www.usriot.com/Download/248.html.
http://www.usriot.com/Download/248.html.
http://www.usriot.com/Download/248.html.
Andwehaveonesoftwareforcustomerstodoserialandnetworktests,customerscanget
itfromourwebsite:http://www.usriot.com/Product/78.html
h ttp://www.usriot.com/Product/78.html
http://www.usriot.com/Product/78.html
http://www.usriot.com/Product/78.html.
TCP/UDP
data
SerialdataGM3
TCP/UDP
data
Internet
PC
Serialdevice
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited14/55tec@usr.cn
1.SetTCPserversoftware,loginremoteserverviaremotedesktopconnection.
Thenopennetworktestsoftware,settheparametersasthebellowing.
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited15/55tec@usr.cn
2.SetModuleParameters
1)Setworkmodeasnetworktransmission
2)EnablesocketA
3)Setsocket
A
asTCPclient,serveraddressistest.usr.cn(domain),serverportis10000.
3.RestartGM3,waittheconnectionofsocket
A
hasbeenestablished,senddatato
moduleviaserialport,thenyouwillgetdataatnetworkserversoftware.Andsenddata
tomodulevianetwork,thenthedatawillbegotatmoduleserialport.
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited16/55tec@usr.cn
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited17/55tec@usr.cn
4.1.2.4.
4.1.2.4.
4.1.2.4.
4.1.2.4.Special
S pecial
Special
SpecialType
T ype
Type
TypeOf
O f
Of
OfSending
S ending
Sending
SendingCommand
C ommand
Command
Command
Besidesunder
AT
commandmode”,customerscanalsosendAtcommandsundernetwork
transmissionmodeviaserialornetwork.Thiskindofcommandsisdifferentfromcommonones,
customersshouldaddcommandpasswordand#atthefrontofcommoncommandstring,.
Note:everycommandstringshouldterminatewithcarriagereturn.Hereweuse[0D].
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited18/55tec@usr.cn
4.1.2.4.1.
4.1.2.4.1.
4.1.2.4.1.
4.1.2.4.1.Serial
S erial
Serial
Serial
AT
A T
AT
AT
Command
C ommand
Command
Command
1.Setworkmodeasnetworktransmission.
2.Enableserialcommandfunction.
3.Querycommandpassword.
Aftersettingsuccessful,restartGM3,thensend“usr.cn#AT+VER”viaserial.
ThenGM3willrespondthefirmwareversion.
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited19/55tec@usr.cn
4.1.2.4.2.
4.1.2.4.2.
4.1.2.4.2.
4.1.2.4.2.Network
N etwork
Network
Network
AT
A T
AT
AT
command
c ommand
command
command
1.Enablenetworkcommandfunction.
2.Querycommandpassword.
Besides,customersneedtoconfiguresocket
A
orsocketBfornetworkconnection,referto
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited20/55tec@usr.cn
chapter4.1.2.3.Aftersettingsuccessful,restartGM3.Whenconnectionisestablishing,
send“usr.cn#AT+VER”fromnetwork.
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited21/55tec@usr.cn
4.1.3.
4.1.3.
4.1.3.
4.1.3.HTTPD
H TTPD
HTTPD
HTTPDFunction
F unction
Function
Function
4.1.3.1.
4.1.3.1.
4.1.3.1.
4.1.3.1.Description
D escription
Description
Description
Underthismode,customer
sserialdevicecanrequestdatafromHTTPserverviathis
module,ModulecanalsoreceivedatafromHTTPserver,analysisthedataandtransmitthe
datatocustomer
sserialdevice.
Customersdon’tneedtoknowthedetailofcommunication,justneedsomesimplesetting.
4.1.3.2.
4.1.3.2.
4.1.3.2.
4.1.3.2.Application
A pplication
Application
ApplicationScenarios
S cenarios
Scenarios
Scenarios
IfcustomerwanttorequestdatafromHTTPserver,andcustomer
sserialdevicecan’t
connecttoInternetviaarouter.Butsignalfrombasestationisavailable,socustomercan
useGM3moduletomakethiscommunication.Customerjustneedtodosomesimple
setting,andsendrequestdata.GM3couldgettheresultfromHTTPserver,andanalysisit
togettheusefuldata,sendthedatatoserialdevice.
4.1.3.3.
4.1.3.3.
4.1.3.3.
4.1.3.3.Usage
U sage
Usage
Usage
Note:Allthe
AT
commandsterminatewithcarriagereturn(0x0D),weignoreithere.
Abouthowtouse
AT
commands,pleaserefertochapter5.
Wehaveonesoftwareforcustomerstouse,customerscangetitfromour
website:http://www.usriot.com/Download/248.html.
http://www.usriot.com/Download/248.html.
http://www.usriot.com/Download/248.html.
http://www.usriot.com/Download/248.html.
Andwehaveonesoftwareforcustomerstodoserialandnetworktests,customerscanget
HTTP
data
SerialdataGM3
HTTP
data
Internet
HTTP
server
Serialdevice
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited22/55tec@usr.cn
itfromourwebsite:http://www.usriot.com/Product/78.html
h ttp://www.usriot.com/Product/78.html
http://www.usriot.com/Product/78.html
http://www.usriot.com/Product/78.html.
1.Setting
1)SetworkmodeasHTTPD.
2)SetrequesttypeasGET.
3)SettheaddressofHTTPserveras“www.usr.cn”,andsetserverportas80.
4)SettherequestURLas”/1.php?”
5)Setrequestheadstring.
Accept:text/html[0D][0A]Accept-Language:zh-CN[0D][0A]User-Age
A ccept:text/html[0D][0A]Accept-Language:zh-CN[0D][0A]User-Age
Accept:text/html[0D][0A]Accept-Language:zh-CN[0D][0A]User-Age
Accept:text/html[0D][0A]Accept-Language:zh-CN[0D][0A]User-Agent:
n t:
nt:
nt:
Mozilla/5.0[0D][0A]Connection:
Mozilla/5.0[0D][0A]Connection:
Mozilla/5.0[0D][0A]Connection:
Mozilla/5.0[0D][0A]Connection:Keep-Alive[0D][0A]
K eep-Alive[0D][0A]
Keep-Alive[0D][0A]
Keep-Alive[0D][0A]
NOTE:
[0D]meanscarriagereturn,itis0x0Dinhexnumber.[0A]meanslinefeed,itis
0x0Ainhexnumber.Becausethiskindofdataisnotabletobeputinto
AT
commands
string,soitistropical.Theruleistwobytesin[]meansonebyteinhexform.
Forexample,
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited23/55tec@usr.cn
“[0D]”meanscarriagereturn,0x0Dinhexnumber.
“[20]”meansspace,0x20inhexnumber.
2.Restartmodule,thensend“data=www.usr.cn”toHTTPserverviaserialportyouwill
get[www.usr.cn]fromserver.
NOTE:theserver“www.usr.cn”isUSR
sHTTPtestserver,ifyousend
“data=www.usr.cn”toit,itwillfeedbackthedataafter“=”with“[]”including.
Inthestep1,serialdevicesend“data=www.usr.cntoGM3,thenGM3preparesHTTP
packagewithheadinformationsetbefore,sothepackagedatais:
GET/1.php?data=www.usr.cnHTTP/1.1
Host:www.usr.cn
Accept:text/html
Accept-Language:zh-CN
User-Agent:Mozilla/5.0
Connection:Keep-Alive
After
After
After
Aftersending
s ending
sending
sendingdata,
d ata,
data,
data,GM3
G M3
GM3
GM3receives
r eceives
receives
receivesdata:
d ata:
data:
data:
HTTP/1.1200OK
Date:Wed,24Jun201504:08:35GMT
Server:Apache/2.0.63(Win32)mod_ssl/2.0.65OpenSSL/0.9.8oPHP/5.2.14
X-Powered-By:PHP/5.2.14
Cache-Control:max-age=600
Expires:Wed,24Jun201504:18:35GMT
Content-Length:19
Keep-Alive:timeout=15,max=99
Connection:Keep-Alive
Content-Type:text/html
[www.usr.cn]
AfterGM3receivestheabovedata,itwillanalysistheinformation,andsendtheresultto
serialdevice.
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited24/55tec@usr.cn
4.1.4.
4.1.4.
4.1.4.
4.1.4.SMS
S MS
SMS
SMSMessage
M essage
Message
MessageTransmission
T ransmission
Transmission
Transmission
4.1.4.1.
4.1.4.1.
4.1.4.1.
4.1.4.1.Description
D escription
Description
Description
Underthismode,customer
sserialdevicecansendSMSmessagetoacellphoneviathis
module,ModulecanalsoreceiveSMSmessagefromcellphone,andtransmitthemessage
inserialdatatocustomer
sserialdevice.
Customersdon’tneedtoknowthedetailofcommunication,justneedsomesimplesetting.
4.1.4.2.
4.1.4.2.
4.1.4.2.
4.1.4.2.Application
A pplication
Application
ApplicationScenarios
S cenarios
Scenarios
Scenarios
Ifuser
sdeviceisaserialdevice,itisplacedatremotearea.Userwantstocommunicate
withthisdevicebySMSmessage,tocheckwhatstatusthedeviceisin,ortocontrolthe
device.
4.1.4.3.
4.1.4.3.
4.1.4.3.
4.1.4.3.Usage
U sage
Usage
Usage
Note:Allthe
AT
commandsterminatewithcarriagereturn(0x0D),weignoreithere.
Abouthowtouse
AT
commands,pleaserefertochapter5.
Wehaveonesoftwareforcustomerstouse,customerscangetitfromour
website:http://www.usriot.com/Download/248.html.
http://www.usriot.com/Download/248.html.
http://www.usriot.com/Download/248.html.
http://www.usriot.com/Download/248.html.
Andwehaveonesoftwareforcustomerstodoserialandnetworktests,customerscanget
itfromourwebsite:http://www.usriot.com/Product/78.html
h ttp://www.usriot.com/Product/78.html
http://www.usriot.com/Product/78.html
http://www.usriot.com/Product/78.html.
SMS
SMS
Serialdata
GM3
Basestation
cell
phone
Serial
Device
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited25/55tec@usr.cn
1.Setting
1)Setthedestinationphonenumber.
2)SetworkmodeasSMSmessagetransmission.
2.Resetmodule,andsendmessagetomoduleviaserialport,thenyouwillgetthe
messageonyourcellphone.Thensendamessagebacktomodule,thenyouwillget
themessagefrommodule
sserialport.
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited26/55tec@usr.cn
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited27/55tec@usr.cn
4.1.4.4.
4.1.4.4.
4.1.4.4.
4.1.4.4.SMS
S MS
SMS
SMS
AT
A T
AT
AT
Command
C ommand
Command
Command
Note:everycommandstringshouldterminatewithcarriagereturn.Hereweuse[0D].
1.Querycommandpassword.
Besides,customersneedtoconfigureSMSmessagetransmission,refertochapter4.1.4.3.
Aftersettingsuccessful,restartGM3.send“usr.cn#AT+VER”toGM3fromcellphone,then
thenyouwillgetresponsefromGM3.
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited28/55tec@usr.cn
4.2.
4.2.
4.2.
4.2.Register
R egister
Register
RegisterPackage
P ackage
Package
Package
4.2.1.
4.2.1.
4.2.1.
4.2.1.Description
D escription
Description
Description
Undernetworktransmissionmode,customerscansendRegisterPackage,RegisterPackageis
usedtomakeserverknowwhatdeviceissendingdata,orasapassword.Customerscan
choosetosendregisterpackagetonetworkserver,orserialdevice.RegisterPackagecouldbe
sentwhennetworkconnectionisestablished,orastheheadofeveryTCP/UDPpackage.The
typeofregisterpackagecouldbeICCID,IMEI,oruser-defineddata.
4.2.2.
4.2.2.
4.2.2.
4.2.2.Usage
U sage
Usage
Usage
1.Enablesendingregisterpackage.
2.Setthetypeofregisterpackagedata.forinstance,usinguser-defineddata.
3.Setuser-definedregisterdata,forinstance,setdataasstring“www.usr.cn”,youneedto
convertittohexstring“7777772E7573722E636E”.
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited29/55tec@usr.cn
4.Setsendingtype,forinstance,senddatawhenconnectionisestablished.
Besides,customersneedtoconfiguresocket
A
orsocketBfornetworkconnection,referto
chapter4.1.2.3.Aftersettingsuccessful,restartGM3.Whenconnectionisestablishing,
GM3willsendstring“www.usr.cn”toserverviasocket
A
andsocketB.
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited30/55tec@usr.cn
4.3.
4.3.
4.3.
4.3.Heart
H eart
Heart
HeartBeat
B eat
Beat
BeatPackage
P ackage
Package
Package
4.3.1.
4.3.1.
4.3.1.
4.3.1.Description
D escription
Description
Description
Undernetworktransmissionmode,customerscansendHeartBeatPackagetonetworkserver
orserialdevice.
Sendingheartbeatdatatonetworkserver,isusedtocheckifconnectionisalive.IfGM3sends
dataunsuccessfulfor3times,itwilltrytoreconnecttoserver.
Sendingheartbeatdatatoserialdevice,isusuallyusedtoqueryinformationfromserialdevice
insteadofsendingquerycommandfromserver,
To
dothiscancutsomecommunicationflow.
4.3.2.
4.3.2.
4.3.2.
4.3.2.Usage
U sage
Usage
Usage
1.Enablesendingheartbeatpackage.
2.Setthedestinationofheartbeatpackagedata.forinstance,tonetworkserver.
3.Setheartbeatdata,forinstance,setdataasstring“www.usr.cn”,customerneedtoconvert
ittohexstring“7777772E7573722E636E”.
4.Setsendingperiod,forinstance,30seconds.
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited31/55tec@usr.cn
Besides,customersneedtoconfiguresocket
A
orsocketBfornetworkconnection,referto
chapter4.1.2.3.Aftersettingsuccessful,restartGM3.Whenconnectionisestablishing,If
deviceisidlefor30seconds,GM3willsendstring“www.usr.cn”toserverviasocket
A
and
socketB.
4.4.
4.4.
4.4.
4.4.UART
U ART
UART
UART
4.4.1.
4.4.1.
4.4.1.
4.4.1.RS485
R S485
RS485
RS485
4.4.1.1.
4.4.1.1.
4.4.1.1.
4.4.1.1.Description
D escription
Description
Description
GM3modulesupportsRS485function.RS485ishalfduplex,thedirectionoftransmittingdata
shouldbecontrolledmanually.Ifcustomerenablesmodule
sRS485function,thepin7of
moduleisusedtocontrolthedirectionofcommunication.
RefertocommandAT+UART
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited32/55tec@usr.cn
4.4.1.2.
4.4.1.2.
4.4.1.2.
4.4.1.2.RS485
R S485
RS485
RS485Reference
R eference
Reference
ReferenceCircuit
C ircuit
Circuit
Circuit
4.4.2.
4.4.2.
4.4.2.
4.4.2.Similar
S imilar
Similar
SimilarRFC2217
R FC2217
RFC2217
RFC2217
4.4.2.1.
4.4.2.1.
4.4.2.1.
4.4.2.1.Description
D escription
Description
Description
ThisfunctionissimilartoRFC2217.Customercanchangetheparametersofserialport
dynamicallyvianetwork.Thismodificationistemporary,whenmodulerestarts,the
parameterschangedwillreturnbacktopreviousvalues.
4.4.2.2.
4.4.2.2.
4.4.2.2.
4.4.2.2.Definition
D efinition
Definition
Definitionof
o f
of
ofsimilar
s imilar
similar
similarRFC2217
R FC2217
RFC2217
RFC2217
Thisprotocolcontains8bytes,detailsasthefollowingform
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited33/55tec@usr.cn
Interpretationofbitsparameters
BitsInterpretationValueDescription
1:0Databits
00NotUsed
01NotUsed
107
11
8
2Stopbits01
12
3Enable/disableparity0disable
1enable
5:4Paritytype
00ODD
01EVEN
10NotUsed
11
NotUsed
7:6Nodefined00NotUsed
5.
5.
5.
5.Parameters
P arameters
Parameters
ParametersSetting
S etting
Setting
Setting
Sending
AT
commandsistheonlywaytosettheparametersofGM3module.Therearetwo
kindsofcommands,basic
AT
commandsandextended
AT
commands.
ItemHeadBaudRateBitsParametersCheckSum
bytes3311
interpretationFixed
dataMSBRefertothe
followingtable
SumofBaudRate
andBitsParameters
Exmaple1
(115200,N,8,1)55AA5501C2008346
Exmaple2
(9600,N,8,1)55AA550025808328
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited34/55tec@usr.cn
Basic
AT
commandsareusedtosettingtherunningparametersofGM3underSMS
messagetransmission,networktransmissionandHTTPDmodes.
Extended
AT
commandsareusedtodesignnewfunctionsbycustomers.Abouthowtouse
extended
AT
command,pleasereferto“GM3extended
AT
commandsUserGuide”.
5.1.
5.1.
5.1.
5.1.Operating
O perating
Operating
Operating
AT
A T
AT
AT
command
c ommand
command
command
WhenGM3worksinoneofthethreemodes:SMSmessagetransmission,network
transmissionorHTTPDmode.
You
cangetmoduleinto“commandmode”bysending
specifictimingdatatoit,thensendcommandstochangemodule
srunningparameters.If
changingisdone,getmodulebacktopreviousworkmode.
Intheabovefigure,abscissaaxismeanstime,thedataabovetimeaxisissenttomodule
fromdevice,andthedatabellowtimeaxisissenttodevicefrommodule.
timerequirement:
T1>200ms
T2<50ms
T3<50ms
T5<3s
Go
Go
Go
Gointo
i nto
into
intocommand
c ommand
command
commandmode:
m ode:
mode:
mode:
1.ModuleisinSMSmessagetransmission,networktransmissionorHTTPDmode.
2.Devicesend“+++”tomodule,thenmodulesend‘a
todevice.
T7 T5
T1T2
T4
T3
T6
Sendingdatatodevice
TIME
T IME
TIME
TIME
+
Sendingdatatomodule
+
+
a
a
+ok
AT+ENTM
OK
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited35/55tec@usr.cn
3.Ifdevicereceives‘a’,itmustsend‘a
tomodulewithin3seconds.
4.Modulereceives‘a’,andsends“+ok”todevice.
5.Devicereceives“+ok”,itmeansmodulehasgonetotemporarycommandmode,so
devicecansend
AT
commandstomodule.
Back
B ack
Back
Backto
t o
to
toprevious
p revious
previous
previousmode:
m ode:
mode:
mode:
1.Devicesendcommand“AT+ENTM”tomodule.
2.Modulereceives“AT+ENTM”,andsend“OK”todevice.
3.Devicereceives“OK”,itmeansmodulehasgonebacktopreviousmode.
5.2.
5.2.
5.2.
5.2.
AT
A T
AT
AT
Command
C ommand
Command
CommandFormat
F ormat
Format
Format
AT
commandsworkinasking-answeringmode,“asking”meansdevicesendscommandsto
module,“answering”meansmodulerespondstodevice.
Symbol
Symbol
Symbol
SymbolDescription:
D escription:
Description:
Description:
<>contentinsideisnecessary.
[]contentinsideisnotnecessary.
{}range,forexample,A~Bmeanstherangeisfrom
A
toB.
~carriagereturn,hexnumberis0D.
CMDcommandcode
OPoperator
PARAparameter
CRcarriagereturn
LFlinefeed
1)
1)
1)
1)The
T he
The
Theformat
f ormat
format
formatof
o f
of
ofasking
a sking
asking
asking
Command
Command
Command
Commandstring:
s tring:
string:
string:<AT+>[CMD][OP][PARA]<CR>
< AT+>[CMD][OP][PARA]<CR>
<AT+>[CMD][OP][PARA]<CR>
<AT+>[CMD][OP][PARA]<CR>
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited36/55tec@usr.cn
Type
T ype
Type
Typeof
o f
of
ofcommand
c ommand
command
command
type
type
type
type Command
Command
Command
Commandstring
s tring
string
string description
description
description
description
0AT+{CMD}?{CR}queryparameters
1AT+{CMD}=?{CR}Querythevalueofparameter
2AT+{CMD}{CR}executeactionorqueryparameters
3AT+{CMD}={PARAM}{CR}Setthevalueofparameter
2)
2)
2)
2)The
T he
The
Theformat
f ormat
format
formatof
o f
of
ofanswering
a nswering
answering
answering
Therearetwokindsofresponse,withorwithoutecho.
Allthefollowingsareusingwithoutechoasexamples.
Command
Command
Command
Commandstring:
s tring:
string:
string:[CR][LF][+CMD][OP][PARA][CR][LF]<CR><LF>[OK]<CR><LF>
[ CR][LF][+CMD][OP][PARA][CR][LF]<CR><LF>[OK]<CR><LF>
[CR][LF][+CMD][OP][PARA][CR][LF]<CR><LF>[OK]<CR><LF>
[CR][LF][+CMD][OP][PARA][CR][LF]<CR><LF>[OK]<CR><LF>
Type
T ype
Type
Typeof
o f
of
ofcommand
c ommand
command
command
type
type
type
type Command
Command
Command
Commandstring
s tring
string
string description
description
description
description
0<CR><LF><OK><CR><LF>successful
1<CR><LF><+CMD:><PARA><CR><LF><CR><LF><OK><CR><LF>returnparameter
Code
Code
Code
Code meaning
meaning
meaning
meaning necessary
necessary
necessary
necessary
AT+
AT
commandheadYes
CMDpurposeofcommandYes
OPactiontypeofcommandNo
PARAparametersofcommandNo
CRterminationofcommandYes
Code
Code
Code
Code meaning
meaning
meaning
meaning necessary
necessary
necessary
necessary
CRcarriagereturnNo
LFlinefeedNo
+CMDresponseheadNo
OPoperatorNo
PARAparameterNo
CRcarriagereturnNo
LFlinefeedNo
CRcarriagereturnYes
LFlinefeedYes
OKoperatingsuccessfulNo
CRcarriagereturnYes
LFlinefeedYes
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited37/55tec@usr.cn
5.3.
5.3.
5.3.
5.3.
AT
A T
AT
AT
Command
C ommand
Command
CommandSet
S et
Set
Set
NO.
NO.
NO.
NO. command
command
command
command description
description
description
description
Management
Management
Management
Managementcommands
c ommands
commands
commands
1Hhelpmessage
2Zrestart
3Equeryandsetenable/disableecho
4ENTMquitfromcommandmode
5WKMODqueryorsetworkmode
6CALENqueryorsetifallowtocall
7NATENqueryorsetenable/disablenetworkcommand
8UATENqueryorsetenable/disableserialportcommand
9CMDPWqueryorsetcommandpassword
10CACHENqueryorsetenable/disabledatacache
11
STMSGqueryorsetwelcomemessage
Configuration
Configuration
Configuration
Configurationcommands
c ommands
commands
commands
12SSavecurrentsettings
13RELDrestoredefaultsettings
14CLEARrestorefactorysettings
15CFGTFsavecurrentsettingasdefaultsetting
Query
Query
Query
Queryinformation
i nformation
information
informationcommands
c ommands
commands
commands
16VERqueryfirmwareversion
17SNquerySNcode
18ICCIDqueryCCIDcode
19IMEIqueryIMEIcode
20CNUMquerytheMSISDNrelatedtothesubscriber
UART
UART
UART
UARTparameters
p arameters
parameters
parameterscommands
c ommands
commands
commands
21UARTqueryorsetserialportparameters
22RFCENqueryorsetenable/disablesimilarRFC2117
Socket
Socket
Socket
Socketparameters
p arameters
parameters
parameterscommands
c ommands
commands
commands
23APNqueryorsetAPNcode
24SOCKAqueryorsetsocket
A
parameters
25SOCKBqueryorsetsocketBparameters
26SOCKAENqueryorsetenable/disablesocketA
27SOCKBENqueryorsetenable/disablesocketB
28SOCKASLqueryorsetsocket
A
longorshortconnection
29SOCKBSLqueryorsetsocketBlongorshortconnection
30SOCKALKquerysocket
A
connectionstatus
31SOCKBLKquerysocketBconnectionstatus
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited38/55tec@usr.cn
Register
Register
Register
Registerpackage
p ackage
package
packageparameters
p arameters
parameters
parameterscommands
c ommands
commands
commands
32REGENqueryorsetregisterpackagetype
33REGTPqueryorsetregisterpackagedatatype
34REGIDqueryorsetregisterIDusedforD2D
35REGDTqueryorsetregisteruser-defineddata
36REGSNDqueryorsetregisterpackagesendingtype
Heartbeat
Heartbeat
Heartbeat
Heartbeatpackage
p ackage
package
packageparameters
p arameters
parameters
parameterscommands
c ommands
commands
commands
37HEARTENqueryorsetenable/disableheartbeat
38HEARTDTqueryorsetheartbeatdata
39HEARTTPqueryorsetheartbeatpackagesendingtype
40HEARTTMqueryorsetheartbeattime
HTTPD
HTTPD
HTTPD
HTTPDparameters
p arameters
parameters
parameterscommands
c ommands
commands
commands
41HTPTPqueryorsetHTTPrequesttype
42HTPURLqueryorsetHTTPURL
43HTPSVqueryorsetHTTPserveraddressandport
44HTPHDqueryorsetHTTPrequesthead
SMS
SMS
SMS
SMSmessage
m essage
message
messageparameters
p arameters
parameters
parameterscommands
c ommands
commands
commands
45DSTNUMqueryorsetdestinationphonenumber
46SMSENDsendSMSmessage
1)AT+H
function:helpmessage.
format:
query:
AT+H{CR}
A T+H{CR}
AT+H{CR}
AT+H{CR}
{CR}{LF}help
{CR}{LF}help
{CR}{LF}help
{CR}{LF}helpmessage{CR}{LF}{CR}{LF}OK{CR}{LF}
m essage{CR}{LF}{CR}{LF}OK{CR}{LF}
message{CR}{LF}{CR}{LF}OK{CR}{LF}
message{CR}{LF}{CR}{LF}OK{CR}{LF}
parameter:
helpmessage:commandsintroduction
2)AT+Z
function:restart
format:
AT+Z{CR}
AT+Z{CR}
AT+Z{CR}
AT+Z{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
3)AT+E
function:queryandsetenable/disableecho.
format:
Queryparameterintroductions:
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited39/55tec@usr.cn
AT+E=?{CR}
A T+E=?{CR}
AT+E=?{CR}
AT+E=?{CR}
{CR}{LF}+E:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+E:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+E:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+E:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
AT+E{CR}
AT+E{CR}
AT+E{CR}
AT+E{CR}or
o r
or
orAT+E?{CR}
A T+E?{CR}
AT+E?{CR}
AT+E?{CR}
{CR}{LF}+E:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+E:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+E:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+E:status{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+E=status{CR}
AT+E=status{CR}
AT+E=status{CR}
AT+E=status{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
status:enableordisableecho
“on”:enable
“off”:disable
4)AT+ENTM
function:quitfromcommandmode.
format:
setting:
AT+ENTM{CR}
AT+ENTM{CR}
AT+ENTM{CR}
AT+ENTM{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
5)AT+WKMOD
function:queryorsetworkmode.
format:
queryparameterintroductions:
AT+WKMOD=?{CR}
AT+WKMOD=?{CR}
AT+WKMOD=?{CR}
AT+WKMOD=?{CR}
{CR}{LF}+WKMOD:<"CMD","SMS","NET","HTTPD">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+WKMOD:<"CMD","SMS","NET","HTTPD">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+WKMOD:<"CMD","SMS","NET","HTTPD">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+WKMOD:<"CMD","SMS","NET","HTTPD">{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
AT+WKMOD{CR}
A T+WKMOD{CR}
AT+WKMOD{CR}
AT+WKMOD{CR}or
o r
or
orAT+WKMOD?{CR}
A T+WKMOD?{CR}
AT+WKMOD?{CR}
AT+WKMOD?{CR}
{CR}{LF}+WKMOD:mode{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+WKMOD:mode{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+WKMOD:mode{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+WKMOD:mode{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+WKMOD=mode{CR}
AT+WKMOD=mode{CR}
AT+WKMOD=mode{CR}
AT+WKMOD=mode{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
mode:workmode
“CMD”:ATcommandmode
“SMS”:SMSmessagetransmissionmode
“NET”:networktransmissionmode
“HTTPD”:HTTPDmode
6)AT+CALEN
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited40/55tec@usr.cn
function:queryorsetifallowtocall.
format:
queryparameterintroductions:
AT+CALEN=?{CR}
A T+CALEN=?{CR}
AT+CALEN=?{CR}
AT+CALEN=?{CR}
{CR}{LF}+CALEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+CALEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+CALEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+CALEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
AT+CALEN{CR}
AT+CALEN{CR}
AT+CALEN{CR}
AT+CALEN{CR}or
o r
or
orAT+CALEN?{CR}
A T+CALEN?{CR}
AT+CALEN?{CR}
AT+CALEN?{CR}
{CR}{LF}+CALEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+CALEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+CALEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+CALEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+CALEN=status{CR}
AT+CALEN=status{CR}
AT+CALEN=status{CR}
AT+CALEN=status{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
status:enableordisablecall
“on”:enable
“off”:disable
7)AT+NATEN
function:queryorsetenable/disablenetworkcommand.
format:
queryparameterintroductions:
AT+NATEN=?{CR}
AT+NATEN=?{CR}
AT+NATEN=?{CR}
AT+NATEN=?{CR}
{CR}{LF}+NATEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+NATEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+NATEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+NATEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
AT+NATEN{CR}
AT+NATEN{CR}
AT+NATEN{CR}
AT+NATEN{CR}or
o r
or
orAT+NATEN?{CR}
A T+NATEN?{CR}
AT+NATEN?{CR}
AT+NATEN?{CR}
{CR}{LF}+NATEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+NATEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+NATEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+NATEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+NATEN=status{CR}
AT+NATEN=status{CR}
AT+NATEN=status{CR}
AT+NATEN=status{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
status:enableordisablenetworkcommand
“on”:enable
“off”:disable
8)AT+UATEN
function:queryorsetenable/disableserialportcommand
format:
queryparameterintroductions:
AT+UATEN=?{CR}
AT+UATEN=?{CR}
AT+UATEN=?{CR}
AT+UATEN=?{CR}
{CR}{LF}+UATEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+UATEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+UATEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+UATEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
AT+UATEN{CR}
AT+UATEN{CR}
AT+UATEN{CR}
AT+UATEN{CR}or
o r
or
orAT+UATEN?{CR}
A T+UATEN?{CR}
AT+UATEN?{CR}
AT+UATEN?{CR}
{CR}{LF}+UATEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+UATEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+UATEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+UATEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited41/55tec@usr.cn
setparameter:
AT+UATEN=status{CR}
A T+UATEN=status{CR}
AT+UATEN=status{CR}
AT+UATEN=status{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
status:enableordisableserialportcommand.
“on”:enable
“off”:disable
9)AT+CMDPW
function:queryorsetcommandpassword
format:
queryparameterintroductions:
AT+CMDPW=?{CR}
AT+CMDPW=?{CR}
AT+CMDPW=?{CR}
AT+CMDPW=?{CR}
{CR}{LF}+CMDPW:<"password">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+CMDPW:<"password">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+CMDPW:<"password">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+CMDPW:<"password">{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
AT+CMDPW{CR}
AT+CMDPW{CR}
AT+CMDPW{CR}
AT+CMDPW{CR}or
o r
or
orAT+CMDPW?{CR}
A T+CMDPW?{CR}
AT+CMDPW?{CR}
AT+CMDPW?{CR}
{CR}{LF}+CMDPW:password{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+CMDPW:password{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+CMDPW:password{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+CMDPW:password{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+CMDPW=password{CR}
AT+CMDPW=password{CR}
AT+CMDPW=password{CR}
AT+CMDPW=password{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
password:commandpassword
10)AT+CACHEN
function:queryorsetenable/disabledatacache.
format:
queryparameterintroductions:
AT+CACHEN=?{CR}
AT+CACHEN=?{CR}
AT+CACHEN=?{CR}
AT+CACHEN=?{CR}
{CR}{LF}+CACHEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+CACHEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+CACHEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+CACHEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
AT+CACHEN{CR}
AT+CACHEN{CR}
AT+CACHEN{CR}
AT+CACHEN{CR}or
o r
or
orAT+CACHEN?{CR}
A T+CACHEN?{CR}
AT+CACHEN?{CR}
AT+CACHEN?{CR}
{CR}{LF}+CACHEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+CACHEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+CACHEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+CACHEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+CACHEN=status{CR}
AT+CACHEN=status{CR}
AT+CACHEN=status{CR}
AT+CACHEN=status{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
status:enable/disabledatacache.
“on”:enable
“off”:disable
11)AT+STMSG
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited42/55tec@usr.cn
function:queryorsetwelcomemessage.
format:
queryparameterintroductions:
AT+STMSG=?{CR}
A T+STMSG=?{CR}
AT+STMSG=?{CR}
AT+STMSG=?{CR}
{CR}{LF}+STMSG:<"welcome
{CR}{LF}+STMSG:<"welcome
{CR}{LF}+STMSG:<"welcome
{CR}{LF}+STMSG:<"welcomemessage">{CR}{LF}{CR}{LF}OK{CR}{LF}
m essage">{CR}{LF}{CR}{LF}OK{CR}{LF}
message">{CR}{LF}{CR}{LF}OK{CR}{LF}
message">{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
AT+STMSG{CR}
AT+STMSG{CR}
AT+STMSG{CR}
AT+STMSG{CR}or
o r
or
orAT+STMSG?{CR}
A T+STMSG?{CR}
AT+STMSG?{CR}
AT+STMSG?{CR}
{CR}{LF}+STMSG:message{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+STMSG:message{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+STMSG:message{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+STMSG:message{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+STMSG=message{CR}
AT+STMSG=message{CR}
AT+STMSG=message{CR}
AT+STMSG=message{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
message:welcomemessagewhenmodulepowersup,itwillshowthem,thiscanbe
usedtocheckifmodulestartsupnormally.
12)AT+S
function:savecurrentsettings.
format:
setting:
AT+
AT+
AT+
AT+S
S
S
S{CR}
{ CR}
{CR}
{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
13)AT+RELD
function:restoredefaultsettings.
format:
setting:
AT+RELD{CR}
AT+RELD{CR}
AT+RELD{CR}
AT+RELD{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
14)AT+CLEAR
function:restorefactorysettings.
format:
setting:
AT+CLEAR{CR}
AT+CLEAR{CR}
AT+CLEAR{CR}
AT+CLEAR{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
15)AT+CFGTF
function:savecurrentsettingasdefaultsetting.
format:
setting:
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited43/55tec@usr.cn
AT+CFGTF{CR}
A T+CFGTF{CR}
AT+CFGTF{CR}
AT+CFGTF{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
16)AT+VER
function:queryversion.
format:
querycurrentvalueofparameter:
AT+VER{CR}
AT+VER{CR}
AT+VER{CR}
AT+VER{CR}or
o r
or
orAT+VER?{CR}
A T+VER?{CR}
AT+VER?{CR}
AT+VER?{CR}
{CR}{LF}+VER:version{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+VER:version{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+VER:version{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+VER:version{CR}{LF}{CR}{LF}OK{CR}{LF}
parameter:
version:firmwareversion
17)AT+SN
function:querySNcode.
format:
querycurrentvalueofparameter:
AT+SN{CR}
AT+SN{CR}
AT+SN{CR}
AT+SN{CR}or
o r
or
orAT+SN?{CR}
A T+SN?{CR}
AT+SN?{CR}
AT+SN?{CR}
{CR}{LF}+SN:code{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SN:code{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SN:code{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SN:code{CR}{LF}{CR}{LF}OK{CR}{LF}
parameter:
code:SNcode
18)AT+ICCID
function:queryICCIDcode.
format:
querycurrentvalueofparameter:
AT+ICCID{CR}
AT+ICCID{CR}
AT+ICCID{CR}
AT+ICCID{CR}or
o r
or
orAT+ICCID?{CR}
A T+ICCID?{CR}
AT+ICCID?{CR}
AT+ICCID?{CR}
{CR}{LF}+ICCID:code{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+ICCID:code{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+ICCID:code{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+ICCID:code{CR}{LF}{CR}{LF}OK{CR}{LF}
parameter:
code:ICCIDcode
19)AT+IMEI
function:queryIMEIcode.
format:
querycurrentvalueofparameter:
AT+IMEI{CR}
AT+IMEI{CR}
AT+IMEI{CR}
AT+IMEI{CR}or
o r
or
orAT+IMEI?{CR}
A T+IMEI?{CR}
AT+IMEI?{CR}
AT+IMEI?{CR}
{CR}{LF}+IMEI:code{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+IMEI:code{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+IMEI:code{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+IMEI:code{CR}{LF}{CR}{LF}OK{CR}{LF}
parameter:
code:IMEIcode
20)AT+CNUM
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited44/55tec@usr.cn
function:querytheMSISDNrelatedtothesubscriber.
format:
querycurrentvalueofparameter:
AT+CNUM{CR}
A T+CNUM{CR}
AT+CNUM{CR}
AT+CNUM{CR}or
o r
or
orAT+CNUM?{CR}
A T+CNUM?{CR}
AT+CNUM?{CR}
AT+CNUM?{CR}
{CR}{LF}+CNUM:phone
{CR}{LF}+CNUM:phone
{CR}{LF}+CNUM:phone
{CR}{LF}+CNUM:phonenumber{CR}{LF}{CR}{LF}OK{CR}{LF}
n umber{CR}{LF}{CR}{LF}OK{CR}{LF}
number{CR}{LF}{CR}{LF}OK{CR}{LF}
number{CR}{LF}{CR}{LF}OK{CR}{LF}
parameter:
phonenumber:phonenumber
21)AT+UART
function:queryorsetserialportparameters.
format:
queryparameterintroductions:
AT+UART=?{CR}
AT+UART=?{CR}
AT+UART=?{CR}
AT+UART=?{CR}
{CR}{LF}+UART:<2400,4800,9600,14400,19200,28800,33600,38400,57600,115200,
{CR}{LF}+UART:<2400,4800,9600,14400,19200,28800,33600,38400,57600,115200,
{CR}{LF}+UART:<2400,4800,9600,14400,19200,28800,33600,38400,57600,115200,
{CR}{LF}+UART:<2400,4800,9600,14400,19200,28800,33600,38400,57600,115200,
230400,460800,921600>,<"NONE","ODD","EVEN">,<7,8>,<1,2>,<"NONE","CRTS",
230400,460800,921600>,<"NONE","ODD","EVEN">,<7,8>,<1,2>,<"NONE","CRTS",
230400,460800,921600>,<"NONE","ODD","EVEN">,<7,8>,<1,2>,<"NONE","CRTS",
230400,460800,921600>,<"NONE","ODD","EVEN">,<7,8>,<1,2>,<"NONE","CRTS",
"RS485">{CR}{LF}{CR}{LF}OK{CR}{LF}
"RS485">{CR}{LF}{CR}{LF}OK{CR}{LF}
"RS485">{CR}{LF}{CR}{LF}OK{CR}{LF}
"RS485">{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
AT+UART{CR}
AT+UART{CR}
AT+UART{CR}
AT+UART{CR}or
o r
or
orAT+UART?{CR}
A T+UART?{CR}
AT+UART?{CR}
AT+UART?{CR}
{CR}{LF}+UART:baud,parity,data
{CR}{LF}+UART:baud,parity,data
{CR}{LF}+UART:baud,parity,data
{CR}{LF}+UART:baud,parity,databit,stop
b it,stop
bit,stop
bit,stopbit,flow
b it,flow
bit,flow
bit,flow
control{CR}{LF}{CR}{LF}OK{CR}{LF}
control{CR}{LF}{CR}{LF}OK{CR}{LF}
control{CR}{LF}{CR}{LF}OK{CR}{LF}
control{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+UART=baud,parity,data
AT+UART=baud,parity,data
AT+UART=baud,parity,data
AT+UART=baud,parity,databit,stop
b it,stop
bit,stop
bit,stopbit,flow
b it,flow
bit,flow
bit,flowcontrol{CR}
c ontrol{CR}
control{CR}
control{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
baud:baudrate
2400,4800,9600,14400,19200,28800,33600,38400,57600,115200,230400,460800,921
600
parity:
“NONE”:noparity
“ODD”:oddparity
“EVEN”:evenparity
databit:
7:7databits
8:8databits
flowcontrol:
“NONE”:noflowcontrol
“CRTS”:useRTS/CTSforflowcontrol
“RS485”:useRS485function
22)AT+RFCEN
function:queryorsetenable/disablesimilarRFC2117.
format:
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited45/55tec@usr.cn
queryparameterintroductions:
AT+RFCEN=?{CR}
A T+RFCEN=?{CR}
AT+RFCEN=?{CR}
AT+RFCEN=?{CR}
{CR}{LF}+RFCEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+RFCEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+RFCEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+RFCEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
AT+RFCEN{CR}
AT+RFCEN{CR}
AT+RFCEN{CR}
AT+RFCEN{CR}or
o r
or
orAT+RFCEN?{CR}
A T+RFCEN?{CR}
AT+RFCEN?{CR}
AT+RFCEN?{CR}
{CR}{LF}+RFCEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+RFCEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+RFCEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+RFCEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+RFCEN=status{CR}
AT+RFCEN=status{CR}
AT+RFCEN=status{CR}
AT+RFCEN=status{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
status:enable/disablesimilarRFC2117
“on”:enable
“off”:disable
23)AT+APN
function:queryorsetAPNcode.
format:
queryparameterintroductions:
AT+APN=?{CR}
AT+APN=?{CR}
AT+APN=?{CR}
AT+APN=?{CR}
{CR}{LF}+APN:<"code">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+APN:<"code">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+APN:<"code">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+APN:<"code">{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
AT+APN{CR}
AT+APN{CR}
AT+APN{CR}
AT+APN{CR}or
o r
or
orAT+APN?{CR}
A T+APN?{CR}
AT+APN?{CR}
AT+APN?{CR}
{CR}{LF}+APN:code{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+APN:code{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+APN:code{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+APN:code{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+APN=code{CR}
AT+APN=code{CR}
AT+APN=code{CR}
AT+APN=code{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
code
code
code
code:APNcode
24)AT+SOCKA
function:queryorsetsocket
A
parameters.
format:
queryparameterintroductions:
AT+SOCKA=?{CR}
A T+SOCKA=?{CR}
AT+SOCKA=?{CR}
AT+SOCKA=?{CR}
{CR}{LF}+SOCKA:<"TCP","UDP">,<"address">,<port>{CR}{LF}{CR}{LF}OK{CR}{
{CR}{LF}+SOCKA:<"TCP","UDP">,<"address">,<port>{CR}{LF}{CR}{LF}OK{CR}{
{CR}{LF}+SOCKA:<"TCP","UDP">,<"address">,<port>{CR}{LF}{CR}{LF}OK{CR}{
{CR}{LF}+SOCKA:<"TCP","UDP">,<"address">,<port>{CR}{LF}{CR}{LF}OK{CR}{
LF}
LF}
LF}
LF}
querycurrentvalueofparameter:
AT+SOCKA{CR}
AT+SOCKA{CR}
AT+SOCKA{CR}
AT+SOCKA{CR}or
o r
or
orAT+SOCKA?{CR}
A T+SOCKA?{CR}
AT+SOCKA?{CR}
AT+SOCKA?{CR}
{CR}{LF}+SOCKA:protocol,address,port{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKA:protocol,address,port{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKA:protocol,address,port{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKA:protocol,address,port{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+SOCKA=protocol,address,port{CR}
AT+SOCKA=protocol,address,port{CR}
AT+SOCKA=protocol,address,port{CR}
AT+SOCKA=protocol,address,port{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited46/55tec@usr.cn
parameter:
protocol:communicationprotocol
“TCP”:TCP
“UDP”:UDP
address:serveraddress,IPordomainname
port:serverport1~65535
25)AT+SOCKB
function:queryorsetsocketBparameters.
format:
queryparameterintroductions:
AT+SOCKB=?{CR}
A T+SOCKB=?{CR}
AT+SOCKB=?{CR}
AT+SOCKB=?{CR}
{CR}{LF}+SOCKB:<"TCP","UDP">,<"address">,<port>{CR}{LF}{CR}{LF}OK{CR}{
{CR}{LF}+SOCKB:<"TCP","UDP">,<"address">,<port>{CR}{LF}{CR}{LF}OK{CR}{
{CR}{LF}+SOCKB:<"TCP","UDP">,<"address">,<port>{CR}{LF}{CR}{LF}OK{CR}{
{CR}{LF}+SOCKB:<"TCP","UDP">,<"address">,<port>{CR}{LF}{CR}{LF}OK{CR}{
LF}
LF}
LF}
LF}
querycurrentvalueofparameter:
AT+SOCKB{CR}
AT+SOCKB{CR}
AT+SOCKB{CR}
AT+SOCKB{CR}or
o r
or
orAT+SOCKB?{CR}
A T+SOCKB?{CR}
AT+SOCKB?{CR}
AT+SOCKB?{CR}
{CR}{LF}+SOCKB:protocol,address,port{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKB:protocol,address,port{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKB:protocol,address,port{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKB:protocol,address,port{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+SOCKB=protocol,address,port{CR}
AT+SOCKB=protocol,address,port{CR}
AT+SOCKB=protocol,address,port{CR}
AT+SOCKB=protocol,address,port{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
protocol:communicationprotocol
“TCP”:TCP
“UDP”:UDP
address:serveraddress,IPordomainname
port:serverport1~65535
26)AT+SOCKAEN
function:queryorsetenable/disablesocketA.
format:
queryparameterintroductions:
AT+SOCKAEN=?{CR}
AT+SOCKAEN=?{CR}
AT+SOCKAEN=?{CR}
AT+SOCKAEN=?{CR}
{CR}{LF}+SOCKAEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKAEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKAEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKAEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
AT+SOCKAEN{CR}
AT+SOCKAEN{CR}
AT+SOCKAEN{CR}
AT+SOCKAEN{CR}or
o r
or
orAT+SOCKAEN?{CR}
A T+SOCKAEN?{CR}
AT+SOCKAEN?{CR}
AT+SOCKAEN?{CR}
{CR}{LF}+SOCKAEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKAEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKAEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKAEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+SOCKAEN=status{CR}
AT+SOCKAEN=status{CR}
AT+SOCKAEN=status{CR}
AT+SOCKAEN=status{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
status:enableordisablesocketA
“on”:enable
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited47/55tec@usr.cn
“off”:disable
27)AT+SOCKBEN
function:queryorsetenable/disablesocketB.
format:
queryparameterintroductions:
AT+SOCKBEN=?{CR}
A T+SOCKBEN=?{CR}
AT+SOCKBEN=?{CR}
AT+SOCKBEN=?{CR}
{CR}{LF}+SOCKBEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKBEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKBEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKBEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
AT+SOCKBEN{CR}
AT+SOCKBEN{CR}
AT+SOCKBEN{CR}
AT+SOCKBEN{CR}or
o r
or
orAT+SOCKBEN?{CR}
A T+SOCKBEN?{CR}
AT+SOCKBEN?{CR}
AT+SOCKBEN?{CR}
{CR}{LF}+SOCKBEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKBEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKBEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKBEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+SOCKBEN=status{CR}
AT+SOCKBEN=status{CR}
AT+SOCKBEN=status{CR}
AT+SOCKBEN=status{CR}
{CR}{LF}OK{CR}{LF}
{ CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
status:enableordisablesocketB.
“on”:enable
“off”:disable
28)AT+SOCKASL
function:queryorsetsocket
A
longorshortconnection.
format:
queryparameterintroductions:
AT+SOCKASL=?{CR}
AT+SOCKASL=?{CR}
AT+SOCKASL=?{CR}
AT+SOCKASL=?{CR}
{CR}{LF}+SOCKASL:<"short","long">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKASL:<"short","long">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKASL:<"short","long">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKASL:<"short","long">{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
AT+SOCKASL{CR}
AT+SOCKASL{CR}
AT+SOCKASL{CR}
AT+SOCKASL{CR}or
o r
or
orAT+SOCKASL?{CR}
A T+SOCKASL?{CR}
AT+SOCKASL?{CR}
AT+SOCKASL?{CR}
{CR}{LF}+SOCKASL:type{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKASL:type{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKASL:type{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKASL:type{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+SOCKASL=type{CR}
AT+SOCKASL=type{CR}
AT+SOCKASL=type{CR}
AT+SOCKASL=type{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
type:connectionstyle
“short”:shortconnection
“long”:longconnection
29)AT+SOCKBSL
function:queryorsetsocketBlongorshortconnection.
format:
queryparameterintroductions:
AT+SOCKBSL=?{CR}
AT+SOCKBSL=?{CR}
AT+SOCKBSL=?{CR}
AT+SOCKBSL=?{CR}
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited48/55tec@usr.cn
{CR}{LF}+SOCKBSL:<"short","long">{CR}{LF}{CR}{LF}OK{CR}{LF}
{ CR}{LF}+SOCKBSL:<"short","long">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKBSL:<"short","long">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKBSL:<"short","long">{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
AT+SOCKBSL{CR}
AT+SOCKBSL{CR}
AT+SOCKBSL{CR}
AT+SOCKBSL{CR}or
o r
or
orAT+SOCKBSL?{CR}
A T+SOCKBSL?{CR}
AT+SOCKBSL?{CR}
AT+SOCKBSL?{CR}
{CR}{LF}+SOCKBSL:type{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKBSL:type{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKBSL:type{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKBSL:type{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+SOCKBSL=type{CR}
AT+SOCKBSL=type{CR}
AT+SOCKBSL=type{CR}
AT+SOCKBSL=type{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
type:connectionstyle
“short”:shortconnection
“long”:longconnection
30)AT+SOCKALK
function:querysocket
A
connectionstatus.
format:
querycurrentvalueofparameter:
AT+SOCKALK{CR}
AT+SOCKALK{CR}
AT+SOCKALK{CR}
AT+SOCKALK{CR}or
o r
or
orAT+SOCKALK?{CR}
A T+SOCKALK?{CR}
AT+SOCKALK?{CR}
AT+SOCKALK?{CR}
{CR}{LF}+SOCKALK:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKALK:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKALK:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKALK:status{CR}{LF}{CR}{LF}OK{CR}{LF}
parameter:
status:socketAconnectionstatus.
“connected”:connected
“disconnected”:disconnected
31)AT+SOCKBLK
function:querysocketBconnectionstatus.
format:
querycurrentvalueofparameter:
AT+SOCKBLK{CR}
AT+SOCKBLK{CR}
AT+SOCKBLK{CR}
AT+SOCKBLK{CR}or
o r
or
orAT+SOCKBLK?{CR}
A T+SOCKBLK?{CR}
AT+SOCKBLK?{CR}
AT+SOCKBLK?{CR}
{CR}{LF}+SOCKBLK:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKBLK:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKBLK:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SOCKBLK:status{CR}{LF}{CR}{LF}OK{CR}{LF}
parameter:
status:socketBconnectionstatus.
“connected”:connected
“disconnected”:disconnected
32)AT+REGEN
function:queryorsetenable/disableregisterpackage.
format:
queryparameterintroductions:
AT+REGEN=?{CR}
AT+REGEN=?{CR}
AT+REGEN=?{CR}
AT+REGEN=?{CR}
{CR}{LF}+REGEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+REGEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+REGEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+REGEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited49/55tec@usr.cn
AT+REGEN{CR}
A T+REGEN{CR}
AT+REGEN{CR}
AT+REGEN{CR}or
o r
or
orAT+REGEN?{CR}
A T+REGEN?{CR}
AT+REGEN?{CR}
AT+REGEN?{CR}
{CR}{LF}+REGEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+REGEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+REGEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+REGEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+REGEN=status{CR}
AT+REGEN=status{CR}
AT+REGEN=status{CR}
AT+REGEN=status{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
status:enableordisableregisterpackage
“on”:enable
“off”:disable
33)AT+REGTP
function:queryorsetregisterpackagedatatype.
format:
queryparameterintroductions:
AT+REGTP=?{CR}
AT+REGTP=?{CR}
AT+REGTP=?{CR}
AT+REGTP=?{CR}
{CR}{LF}+REGTP:<"ICCID","IMEI","REGID","REGDT">{CR}{LF}{CR}{LF}OK{CR}{
{CR}{LF}+REGTP:<"ICCID","IMEI","REGID","REGDT">{CR}{LF}{CR}{LF}OK{CR}{
{CR}{LF}+REGTP:<"ICCID","IMEI","REGID","REGDT">{CR}{LF}{CR}{LF}OK{CR}{
{CR}{LF}+REGTP:<"ICCID","IMEI","REGID","REGDT">{CR}{LF}{CR}{LF}OK{CR}{
LF}
LF}
LF}
LF}
querycurrentvalueofparameter:
AT+REGTP{CR}
AT+REGTP{CR}
AT+REGTP{CR}
AT+REGTP{CR}or
o r
or
orAT+REGTP?{CR}
A T+REGTP?{CR}
AT+REGTP?{CR}
AT+REGTP?{CR}
{CR}{LF}+REGTP:type{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+REGTP:type{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+REGTP:type{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+REGTP:type{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+REGTP=type{CR}
AT+REGTP=type{CR}
AT+REGTP=type{CR}
AT+REGTP=type{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
type:typeofregisterdata
“ICCID”:ICCIDcode
“IMEI”:IMEIcode
“REGID”:registerID(forD2Dfunction)
“REGDT”:user-defineddata
34)AT+REGID
function:queryorsetregisterID(usedforD2D).
format:
queryparameterintroductions:
AT+REGID=?{CR}
AT+REGID=?{CR}
AT+REGID=?{CR}
AT+REGID=?{CR}
{CR}{LF}+REGID:<id>{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+REGID:<id>{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+REGID:<id>{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+REGID:<id>{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
AT+REGID{CR}
AT+REGID{CR}
AT+REGID{CR}
AT+REGID{CR}or
o r
or
orAT+REGID?{CR}
A T+REGID?{CR}
AT+REGID?{CR}
AT+REGID?{CR}
{CR}{LF}+REGID:id{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+REGID:id{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+REGID:id{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+REGID:id{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+REGID=id{CR}
AT+REGID=id{CR}
AT+REGID=id{CR}
AT+REGID=id{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited50/55tec@usr.cn
parameter:
id:registerID
35)AT+REGDT
function:queryorsetregisteruser-defineddata.
format:
queryparameterintroductions:
AT+REGDT=?{CR}
A T+REGDT=?{CR}
AT+REGDT=?{CR}
AT+REGDT=?{CR}
{CR}{LF}+REGDT:<data>{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+REGDT:<data>{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+REGDT:<data>{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+REGDT:<data>{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
AT+REGDT{CR}
AT+REGDT{CR}
AT+REGDT{CR}
AT+REGDT{CR}or
o r
or
orAT+REGDT?{CR}
A T+REGDT?{CR}
AT+REGDT?{CR}
AT+REGDT?{CR}
{CR}{LF}+REGDT:data{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+REGDT:data{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+REGDT:data{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+REGDT:data{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+REGDT=data{CR}
AT+REGDT=data{CR}
AT+REGDT=data{CR}
AT+REGDT=data{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
data:user-definedregisterdata,hexstring,maxlengthis80bytes,
forexample,“7777772E7573722E636E”means“www.usr.cn”inASCII.
36)AT+REGSND
function:queryorsetregisterpackagesendingtype.
format:
queryparameterintroductions:
AT+REGSND=?{CR}
AT+REGSND=?{CR}
AT+REGSND=?{CR}
AT+REGSND=?{CR}
{CR}{LF}+REGSND:<"link","data","link&data">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+REGSND:<"link","data","link&data">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+REGSND:<"link","data","link&data">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+REGSND:<"link","data","link&data">{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
AT+REGSND{CR}
AT+REGSND{CR}
AT+REGSND{CR}
AT+REGSND{CR}or
o r
or
orAT+REGSND?{CR}
A T+REGSND?{CR}
AT+REGSND?{CR}
AT+REGSND?{CR}
{CR}{LF}+REGSND:type{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+REGSND:type{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+REGSND:type{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+REGSND:type{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+REGSND=type{CR}
AT+REGSND=type{CR}
AT+REGSND=type{CR}
AT+REGSND=type{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
type:sendingtype
“link”:sendregisterdatawhensocketconnects
“data”:sendregisterdataastheheadofeveryTCP/UDPpackage
“link&data”:supportbothofabovetwoways
37)AT+HEARTEN
function:queryorsetenable/disableheartbeat.
format:
queryparameterintroductions:
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited51/55tec@usr.cn
AT+HEARTEN=?{CR}
A T+HEARTEN=?{CR}
AT+HEARTEN=?{CR}
AT+HEARTEN=?{CR}
{CR}{LF}+HEARTEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HEARTEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HEARTEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HEARTEN:<"on","off">{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
AT+HEARTEN{CR}
AT+HEARTEN{CR}
AT+HEARTEN{CR}
AT+HEARTEN{CR}or
o r
or
orAT+HEARTEN?{CR}
A T+HEARTEN?{CR}
AT+HEARTEN?{CR}
AT+HEARTEN?{CR}
{CR}{LF}+HEARTEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HEARTEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HEARTEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HEARTEN:status{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+HEARTEN=status{CR}
AT+HEARTEN=status{CR}
AT+HEARTEN=status{CR}
AT+HEARTEN=status{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
status:enable/disableheartbeatfunction
“on”:enable
“off”:disable
38)AT+HEARTDT
function:queryorsetheartbeatdata.
format:
queryparameterintroductions:
AT+HEARTDT=?{CR}
AT+HEARTDT=?{CR}
AT+HEARTDT=?{CR}
AT+HEARTDT=?{CR}
{CR}{LF}+HEARTDT:<
{CR}{LF}+HEARTDT:<
{CR}{LF}+HEARTDT:<
{CR}{LF}+HEARTDT:<
data
d ata
data
data
>{CR}{LF}{CR}{LF}OK{CR}{LF}
> {CR}{LF}{CR}{LF}OK{CR}{LF}
>{CR}{LF}{CR}{LF}OK{CR}{LF}
>{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
AT+HEARTDT{CR}
AT+HEARTDT{CR}
AT+HEARTDT{CR}
AT+HEARTDT{CR}or
o r
or
orAT+HEARTDT?{CR}
A T+HEARTDT?{CR}
AT+HEARTDT?{CR}
AT+HEARTDT?{CR}
{CR}{LF}+HEARTDT:data{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HEARTDT:data{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HEARTDT:data{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HEARTDT:data{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+HEARTDT=data{CR}
AT+HEARTDT=data{CR}
AT+HEARTDT=data{CR}
AT+HEARTDT=data{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
data:heartbeatdata,hexstring,maxlengthis80bytes,
forexample,“7777772E7573722E636E”means“www.usr.cn”inASCII.
39)AT+HEARTTP
function:queryorsetheartbeatpackagesendingtype.
format:
queryparameterintroductions:
AT+HEARTTP=?{CR}
AT+HEARTTP=?{CR}
AT+HEARTTP=?{CR}
AT+HEARTTP=?{CR}
{CR}{LF}+HEARTTP:<"COM","NET">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HEARTTP:<"COM","NET">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HEARTTP:<"COM","NET">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HEARTTP:<"COM","NET">{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
AT+HEARTTP{CR}
AT+HEARTTP{CR}
AT+HEARTTP{CR}
AT+HEARTTP{CR}or
o r
or
orAT+HEARTTP?{CR}
A T+HEARTTP?{CR}
AT+HEARTTP?{CR}
AT+HEARTTP?{CR}
{CR}{LF}+HEARTTP:type{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HEARTTP:type{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HEARTTP:type{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HEARTTP:type{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+HEARTTP=type{CR}
AT+HEARTTP=type{CR}
AT+HEARTTP=type{CR}
AT+HEARTTP=type{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited52/55tec@usr.cn
type:sendingtype
“COM”:senddatatoserialport
“NET”:senddatatonetwork
40)AT+HEARTTM
function:queryorsetheartbeattime.
format:
queryparameterintroductions:
AT+HEARTTM=?{CR}
A T+HEARTTM=?{CR}
AT+HEARTTM=?{CR}
AT+HEARTTM=?{CR}
{CR}{LF}+HEARTTM:<"time">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HEARTTM:<"time">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HEARTTM:<"time">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HEARTTM:<"time">{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
AT+HEARTTM{CR}
AT+HEARTTM{CR}
AT+HEARTTM{CR}
AT+HEARTTM{CR}or
o r
or
orAT+HEARTTM?{CR}
A T+HEARTTM?{CR}
AT+HEARTTM?{CR}
AT+HEARTTM?{CR}
{CR}{LF}+HEARTTM:time{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HEARTTM:time{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HEARTTM:time{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HEARTTM:time{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+HEARTTM=time{CR}
AT+HEARTTM=time{CR}
AT+HEARTTM=time{CR}
AT+HEARTTM=time{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
time:strobeperiodunitissecond
41)AT+HTPTP
function:queryorsetHTTPrequesttype.
format:
queryparameterintroductions:
AT+HTPTP=?{CR}
AT+HTPTP=?{CR}
AT+HTPTP=?{CR}
AT+HTPTP=?{CR}
{CR}{LF}+HTPTP:<"GET","POST">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HTPTP:<"GET","POST">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HTPTP:<"GET","POST">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HTPTP:<"GET","POST">{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
AT+HTPTP{CR}
AT+HTPTP{CR}
AT+HTPTP{CR}
AT+HTPTP{CR}or
o r
or
orAT+HTPTP?{CR}
A T+HTPTP?{CR}
AT+HTPTP?{CR}
AT+HTPTP?{CR}
{CR}{LF}+HTPTP:type{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HTPTP:type{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HTPTP:type{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HTPTP:type{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+HTPTP=type{CR}
AT+HTPTP=type{CR}
AT+HTPTP=type{CR}
AT+HTPTP=type{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
type:HTTPrequesttype
“GET”:get
“POST”:post
42)AT+HTPURL
function:queryorsetHTTPURL.
format:
queryparameterintroductions:
AT+HTPURL=?{CR}
AT+HTPURL=?{CR}
AT+HTPURL=?{CR}
AT+HTPURL=?{CR}
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited53/55tec@usr.cn
{CR}{LF}+HTPURL:<"URL">{CR}{LF}{CR}{LF}OK{CR}{LF}
{ CR}{LF}+HTPURL:<"URL">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HTPURL:<"URL">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HTPURL:<"URL">{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
AT+HTPURL{CR}
AT+HTPURL{CR}
AT+HTPURL{CR}
AT+HTPURL{CR}or
o r
or
orAT+HTPURL?{CR}
A T+HTPURL?{CR}
AT+HTPURL?{CR}
AT+HTPURL?{CR}
{CR}{LF}+HTPURL:URL{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HTPURL:URL{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HTPURL:URL{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HTPURL:URL{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+HTPURL=URL{CR}
AT+HTPURL=URL{CR}
AT+HTPURL=URL{CR}
AT+HTPURL=URL{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
URL:HTTPrequestURL
43)AT+HTPSV
function:queryorsetHTTPserveraddressandport.
format:
queryparameterintroductions:
AT+HTPSV=?{CR}
AT+HTPSV=?{CR}
AT+HTPSV=?{CR}
AT+HTPSV=?{CR}
{CR}{LF}+HTPSV:<"address">,<port>{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HTPSV:<"address">,<port>{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HTPSV:<"address">,<port>{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HTPSV:<"address">,<port>{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
AT+HTPSV{CR}
AT+HTPSV{CR}
AT+HTPSV{CR}
AT+HTPSV{CR}or
o r
or
orAT+HTPSV?{CR}
A T+HTPSV?{CR}
AT+HTPSV?{CR}
AT+HTPSV?{CR}
{CR}{LF}+HTPSV:address,port{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HTPSV:address,port{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HTPSV:address,port{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HTPSV:address,port{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+HTPSV=address,port{CR}
AT+HTPSV=address,port{CR}
AT+HTPSV=address,port{CR}
AT+HTPSV=address,port{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
address:serveraddressIPordomainname
port:serverport1~65535
44)AT+HTPHD
function:queryorsetHTTPrequesthead.
format:
queryparameterintroductions:
AT+HTPHD=?{CR}
AT+HTPHD=?{CR}
AT+HTPHD=?{CR}
AT+HTPHD=?{CR}
{CR}{LF}+HTPHD:<"head">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HTPHD:<"head">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HTPHD:<"head">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HTPHD:<"head">{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
AT+HTPHD{CR}
AT+HTPHD{CR}
AT+HTPHD{CR}
AT+HTPHD{CR}or
o r
or
orAT+HTPHD?{CR}
A T+HTPHD?{CR}
AT+HTPHD?{CR}
AT+HTPHD?{CR}
{CR}{LF}+HTPHD:head{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HTPHD:head{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HTPHD:head{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+HTPHD:head{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+HTPHD=head{CR}
AT+HTPHD=head{CR}
AT+HTPHD=head{CR}
AT+HTPHD=head{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
head:HTTPrequesthead
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited54/55tec@usr.cn
45)AT+DSTNUM
function:queryorsetdestinationphonenumber.
format:
queryparameterintroductions:
AT+DSTNUM=?{CR}
A T+DSTNUM=?{CR}
AT+DSTNUM=?{CR}
AT+DSTNUM=?{CR}
{CR}{LF}+DSTNUM:<"number">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+DSTNUM:<"number">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+DSTNUM:<"number">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+DSTNUM:<"number">{CR}{LF}{CR}{LF}OK{CR}{LF}
querycurrentvalueofparameter:
AT+DSTNUM{CR}
AT+DSTNUM{CR}
AT+DSTNUM{CR}
AT+DSTNUM{CR}or
o r
or
orAT+DSTNUM?{CR}
A T+DSTNUM?{CR}
AT+DSTNUM?{CR}
AT+DSTNUM?{CR}
{CR}{LF}+DSTNUM:number{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+DSTNUM:number{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+DSTNUM:number{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+DSTNUM:number{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+DSTNUM=number{CR}
AT+DSTNUM=number{CR}
AT+DSTNUM=number{CR}
AT+DSTNUM=number{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
number:destinationphonenumberin“SMS”mode.
46)AT+SMSEND
function:sendSMSmessage.
format:
queryparameterintroductions:
AT+SMSEND=?{CR}
AT+SMSEND=?{CR}
AT+SMSEND=?{CR}
AT+SMSEND=?{CR}
{CR}{LF}+SMSEND:<"number">,<1,2,3>,<"data">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SMSEND:<"number">,<1,2,3>,<"data">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SMSEND:<"number">,<1,2,3>,<"data">{CR}{LF}{CR}{LF}OK{CR}{LF}
{CR}{LF}+SMSEND:<"number">,<1,2,3>,<"data">{CR}{LF}{CR}{LF}OK{CR}{LF}
setparameter:
AT+SMSEND=number,type,data{CR}
AT+SMSEND=number,type,data{CR}
AT+SMSEND=number,type,data{CR}
AT+SMSEND=number,type,data{CR}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
{CR}{LF}OK{CR}{LF}
parameter:
number:destinationphonenumber
type:codingscheme
1:ASCIIcodingcompressed
2:8bitscodingnotcompressed
3:UCS8coding
data:contentofSMSmessage
Appendix
Appendix
Appendix
AppendixA:
A :
A:
A:Contact
C ontact
Contact
Contact
------------------------------------------------------------------------------------------------------------------------------
USR-GM3/GM3sUserManualwww.usriot.com
JinanUSRIOTTechnologyLimited55/55tec@usr.cn
Company:JinanUSRIOTTechnologyLimited
Address:Floor11,Building1,No.1166XinluoStreet,GaoxinDistric,Jinan,Shandong,250101China
Tel:86-531-55507297,86-531-88826739
Web:http://
h ttp://
http://
http://www.usr
w ww.usr
www.usr
www.usriot
i ot
iot
iot.
.
.
.com
c om
com
com
Support:http://h.usriot.com
http://h.usriot.com
http://h.usriot.com
http://h.usriot.com
Email:sales@usr.cn
------------------------------------------------------------------------------------------------------------------------------
Appendix
Appendix
Appendix
AppendixB:
B :
B:
B:Disclaimer
D isclaimer
Disclaimer
Disclaimer
ThisdocumentprovidesinformationaboutUSR-GM3/GM3smodules,thisdocumentdoes
notgrantanylicensetointellectualpropertyrights.Excepttheresponsibilitydeclaredinthe
productsaleclause,USRdoesnotassumeanyotherresponsibilities.Inaddition,USR
doesnotmakeanywarrantiesforthesaleanduseofthisproduct,includingthesuitabilityof
theproductforaparticularpurpose,merchantabilityorfitnessforanypatent,copyrightor
otherintellectualpropertyinfringement,etc.USRmaymakechangestospecificationsand
productdescriptionswithoutnotice.
Appendix
Appendix
Appendix
AppendixC:
C :
C:
C:Update
U pdate
Update
UpdateHistory
H istory
History
History
2015-6-20V1.0basicversioncreated
2015-6-20V1.0.6fixsomeerrors,changereloadpinfunction
2015-9-
11
V1.0.7increaseduseofsettingsoftwaremethod
2015-10-12V1.1.0fixsomeerrors,AddedsomeinstructionsaboutGM3s
<END>
<END>
<END>
<END>
FCC STATEMENT :
This device complies with Part 15 of the FCC Rules. Operation is subject to the following
two conditions:
(1) This device may not cause harmful interference, and
(2) This device must accept any interference received, including interference that may
cause undesired operation.
Warning: Changes or modifications not expressly approved by the party responsible for
compliance could void the user's authority to operate the equipment.
NOTE: This equipment has been tested and found to comply with the limits for a Class B
digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide
reasonable protection against harmful interference in a residential installation. This
equipment generates uses and can radiate radio frequency energy and, if not installed
and used in accordance with the instructions, may cause harmful interference to radio
communications. However, there is no guarantee that interference will not occur in a
particular installation. If this equipment does cause harmful interference to radio or
television reception, which can be determined by turning the equipment off and on, the
user is encouraged to try to correct the interference by one or more of the following
measures:
tenna.
receiver is connected.
FCC Radiation Exposure Statement:
This equipment complies with FCC radiation exposure limits set forth for an uncontrolled
environment. This equipment should be installed and operated with minimum distance
20cm between the radiator & your body.
FCC INFORMATION (additional)
OEM INTEGRATION INSTRUCTIONS:
This device is intended only for OEM integrators under the following conditions: The
module must be installed in the host equipment such that 20 cm is maintained between
the antenna and users, and the transmitter module may not be co-located with any other
transmitter or antenna. The module shall be only used with the internal antenna(s) that
has been originally tested and certified with this module. As long as 3 conditions above
are met, further transmitter test will not be required. However, the OEM integrator is still
responsible for testing their end-product for any additional compliance requirements
required with this module installed (for example, digital device emissions, PC peripheral
requirements, etc.).
Validity of using the module certification:
In the event that these conditions cannot be met (for example certain laptop configurations
or co-location with another transmitter), then the FCC authorization for this module in
combination with the host equipment is no longer considered valid and the FCC ID of the
module cannot be used on the final product. In these circumstances, the OEM integrator
will be responsible for re-evaluating the end product (including the transmitter) and
obtaining a separate FCC authorization.
End product labeling:
This transmitter module is authorized only for use in device where the antenna may be
installed such that 20 cm may be maintained between the antenna and users. The final
end product must be labeled in a visible area with the following: “Contains FCC ID:
2AJDA-USRGM3”.
Information that must be placed in the end user manual:
The OEM integrator has to be aware not to provide information to the end user regarding
how to install or remove this RF module in the user's manual of the end product which
integrates this module. The end user manual shall include all required regulatory
information/warning as show in this manual.
This device must be kept away from all persons by 20cm or more and installations using
less distance, or installations using antennas with gain greater than that with which this
was Certified will require additional approvals.

Navigation menu