Jinan USR IOT Technology USRC322 User Manual

USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
USR-C322
USR-C322
USR-C322
USR-C322
Low
-
Low
-
-
-Low
SupportWi-Fi@2.4GHz802.11b/g/nwirelessstandardsBasedonARMCortex-M4kernelrunningfrequencyof80MHZ
SupportWEP
 SupportAP/STAworkingmodeSupportSimplelink/usrlinkNetworkingconfigurationSupportcustomwebfunctionFullyintegratedserialportturnwirelessTCP/UDPtransmissionfunction,therateofserial
portupto3Mbps
Supports485transcontrolSupporttwouartandthreesocketcommunicationSupportPC116bytesencryptionwhenworkintransmodeSupporttheHTTPDClientfunctionSupportwebsocketfunctionSupportSSLClientfunctionSearchinlocalareanetwork(LAN)andwirelessparameterssettingfunctionSupportTCP/UDPClientregisteredpacketmechanismSupportsimilarRFC2217automaticbaudrateadaptationfunctionSupportAT+simpleinstructionsetconfigurationSingle3.3VpowersupplyUltralowpowermode,supportdeepdormancy
Power
Power
PowerMinisize
WPA/WPA2securitymode
Minisize
Minisize
MinisizeWiFi
WiFi
WiFi
WiFiModule
V
2.
V
2.
V
V2.
2.1
Module
Module
ModuleUser
1
1
1
User
User
UserManual
Manual
Manual
Manual
1
62
1
62
1
1/6
2
62
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
Minisize:18.22mm*26.65mm*2.8mmSMT
FCC/CECertificated
2
2
2
2/62
62
62
6 2
1
Module
1
Module
1
1
Module
ModuleOverview
1.1
1.1
1.1
1.1Module
1.2
1.2
1.2
1.2Characteristics
1.3
1.3
1.3
1.3functional
1.4
1.4
1.4
1.4Product
1.5
1.5
1.5
1.5Application
2
Hardware
2
Hardware
2
2
Hardware
HardwareDescription
2.1
2.1
2.1
2.1Pin
2.2
2.2
2.2
2.2Antenna
2.3
2.3
2.3
2.3Size
2.4
2.4
2.4
2.4The
3
Product
3
Product
3
3
Product
ProductFunction
3.1
3.1
3.1
3.1Wireless
3.2
3.2
3.2
3.2Work
3.3
3.3
3.3
3.3Socket
3.4
3.4
3.4
3.4Custom
3.5
3.5
3.5
3.5Search
3.5
3.5
3.5
3.5TCP/UDP
3.7
3.7
3.7
3.7Fast
3.8
3.8
3.8
3.8Simplelink
3.9
3.9
3.9
3.9RFC2217
3.10
3.10
3.10
3.10Sleep
Ove rview
Overview
Overview.....................................................................................................................................................4
Mod ule
Module
ModuleOverview
Cha racteristics
Characteristics
Characteristicsof
fun ctional
functional
functionalblock
Pro duct
Product
ProductFeature
App lication
Application
ApplicationArea
Des cription
Description
Description.............................................................................................................................................9
Pin
Def initions
P in
Definitions
PinDefinitions
Definitions.....................................................................................................................................................9
Ante nna
Antenna
AntennaShows
Siz e
and
Size
a nd
Sizeand
andLayout
The
Har dware
Th e
Hardware
TheHardware
HardwareCircuit
Fun ction
Function
Function...................................................................................................................................................14
Wir eless
Wireless
WirelessNetwork
Wor k
Mod e
Work
Mode
WorkMode
Mode........................................................................................................................................................15
Soc ket
Socket
SocketCommunication
Cus tom
Custom
Customweb
Sea rch
Search
Searchin
TCP /UDP
TCP/UDP
TCP/UDPClient
Fas t
Fast
FastAccess
Sim plelink
Simplelink
SimplelinkConfiguration
RFC 2217
RFC2217
RFC2217Automatic
Com munication
Communication
Communication.....................................................................................................................................17
in
in
i nlocal
Acc ess
Access
AccessWi-Fi(usrlink)
Sle ep
Mod e
Sleep
Mode
SleepMode
ModeIntroduction
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
Catalogue
Catalogue
Catalogue
Catalogue
Ove rview
Overview
Overview................................................................................................................................................4
of
Mod ule
of
Module
o fModule
Module..................................................................................................................................4
blo ck
dia gram
block
diagram
blockdiagram
diagram...................................................................................................................................6
Fea ture
Feature
Feature...................................................................................................................................................7
Are a
Area
Area..................................................................................................................................................7
Sho ws
Shows
Shows..................................................................................................................................................10
Lay out
Layout
LayoutRecommendations
Netw ork
Network
NetworkMode
web
w eb
webfunction
loc al
local
localarea
Auto matic
Automatic
AutomaticBaud
Rec ommendations
Recommendations
Recommendations.................................................................................................................11
Cir cuit
Circuit
CircuitDesign
fun ction
function
function........................................................................................................................................22
are a
area
areanetwork
Cli ent
Client
ClientRegistration
Wi-F i(usrlink)
Wi-Fi(usrlink)
Wi-Fi(usrlink)...............................................................................................................................24
Con figuration
Configuration
Configuration.................................................................................................................................26
Intr oduction
Introduction
Introduction................................................................................................................................28
Des ign
Design
DesignReference
Mod e
Mode
Mode...................................................................................................................................14
netw ork
network
network............................................................................................................................22
Reg istration
Registration
RegistrationPacket
Bau d
Baud
BaudRate
Refe rence
Reference
Reference........................................................................................................12
Pac ket
Packet
PacketMechanism
Rate
R ate
RateFunction
Mec hanism
Mechanism
Mechanism.........................................................................................23
Fun ction
Function
Function......................................................................................................27
4
Parameter
4
Parameter
4
4
Parameter
ParameterSetting
4.1
Web
4.1
W eb
4.1
4.1Web
WebPage
4.2
AT+
4.2
AT+
4.2
4.2AT+
A T+Commands
Appendix
Appendix
Appendix
AppendixA:
Appendix
Appendix
Appendix
AppendixB:
Appendix
Appendix
Appendix
AppendixC:
A:
A:
A :Contact
B:
B:
B:Disclaimer
C:
C:
C :Update
Sett ing
Setting
Setting..................................................................................................................................................30
Pag e
Con figuration
Page
Configuration
PageConfiguration
Configuration..................................................................................................................................30
Com mands
Commands
CommandsConfiguration
Con tact
Contact
ContactInformation
D is claimer
Disclaimer
Disclaimer.................................................................................................................................................61
Upd ate
Update
UpdateHistory
Con figuration
Configuration
Configuration........................................................................................................................39
Inf ormation
Information
Information...........................................................................................................................61
His tory
History
History.........................................................................................................................................61
3
62
3
62
3
3/62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
1
Module
1
Module
1
1
Module
ModuleOverview
1.1
Module
1.1
Module
1.1
1.1Module
ModuleOverview
USR-C322isahigh-performancemoduleoftheserieswifimoduleC32.Themoduleisa low-power802.11b/g/nmodulesthatdesignforachievingtheapplicationoftheembedded system,wirelessnetworkcommunication.Throughthemodule,thecustomercansetaphysical deviceconnectedtoawifinetwork,soastorealizethecontrolandmanagementoftheInternet ofiot.
ThehardwareofmoduleintegrateMAC,basebandchip,rftransceiverunit,aswellasthe poweramplifier;AdoptingCC3200chipofTIcompany,thekernelofindustrial-gradeARM architecture(M4kernel,runningfrequencyof80MHZ.Theinternalultra-lowpoweroperation mechanism,canruneffectivelylow-powermodule;SupportWiFiprotocolandTCP/IPprotocol, theuseronlyneedssimpleconfiguration,canachievethefunctionofUARTdevicesconnected totheInternet.
Modulesize:18.22mm*26.65mm*2.8mmSMTassembly Thebasicfunctionofthemoduleisdescribedbelow: CanworkinAPmodeforotherWIFIdevicesaccesscommunication,canalsoworkin
theSTAmode,accesstothewirelessroutertorealizecommunication
WithSocketcommunicationlinks,canbesettoTCP/UDPtrans,HTTPDClient,WEB
sockets,SSLClientcommunication.TCP/UDPtranscansupportTCPServer Client、UDPServer
ModulesupportsUARTtranslate,canuseATcommandstoarbitraryswitching.
Overview
Overview
Overview
Overview
Overview
Overview
UDPClient.
TCP
1.2
Characteristics
1.2
Characteristics
1.2
1.2Characteristics
Characteristicsof
SupportWi-Fi@2.4GHz802.11b/g/nwirelessstandardsBasedonARMCortex-M4kernelrunningfrequencyof80MHZ
SupportWEP
 SupportAP/STAworkingmodeSupportSimplelink/usrlinkNetworkingconfigurationSupportcustomwebfunctionFullyintegratedserialportturnwirelessTCP/UDPtransmissionfunction,therateofserial
portupto3Mbps
Supports485transcontrolSupporttwouartandthreesocketcommunicationSupportPC116bytesencryptionwhenworkintransmodeSupporttheHTTPDClientfunctionSupportwebsocketfunctionSupportSSLClientfunction
of
Module
of
Module
ofModule
Module
WPA/WPA2securitymode
4
62
4
62
4
4/6
2
62
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
Searchinlocalareanetwork(LAN)andwirelessparameterssettingfunctionSupportTCP/UDPClientregisteredpacketmechanismSupportsimilarRFC2217automaticbaudrateadaptationfunctionSupportAT+simpleinstructionsetconfigurationSingle3.3VpowersupplyUltralowpowermode,supportdeepdormancyMinisize:18.22mm*26.65mm*2.8mmSMT
FCC/CECertificated
5
62
5
62
5
5/6
2
62
1.3
fun ctional
1.3
functional
1.3
1.3functional
functionalblock
blo ck
block
blockdiagram
diag ram
diagram
diagram
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
UART
PC
Encrypt
/
decrypt
1
SOCKA
TCP/UDP
Trans
Trans Mode
SOCKB
TCP/UDP
Trans
TCP Server
TCP Client
UDP Server
UDP Client
TCP Client
UDP Server
UDP Client
0
Httpd Client
GET/POST
WEB Socket
UART
AT
Command
Net
AT
Command
WIFI
UART
1
1.4
Pro duct
1.4
Product
1.4
1.4Product
ProductFeature
PC
1
Encrypt
/
decrypt
Featur e
Feature
Feature
classify parameter value
SOCKA
TCP/UDP
Trans
Httpd Client
GET/POST
SSL Client
Moduleparameters
1
TCP Client
UDP Server
UDP Client
6
6
6
6/62
62
62
6 2
WirelessPara
meter
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
CertificationFCC/CE
WlanStandard802.11b/g/n
17.0dBm@1DSSS
TransmitPower
Receive
Sensitivity
17.25dBm@11CCK
13.5dBm@54OFDM
–94.7dBm@1DSSS
–87.0dBm@11DSSS
–73.0dBm@54OFDM
Hardware
Software
Antenna
DataInterfaceUART300-3Mbps
WorkingVoltage3.0V~3.6V
WorkingCurrent
Working
Temperature
Storage
Temperature
Size18.22mm*26.65mm*2.8mm
FootprintSMT
Wireless
NetworkType
SecurityRegimeWEP/WPA-PSK/WPA2-PSK
EncryptionTypeTKIP,AES,TKIP/AES
Networking
Protocol
User
Configuration
Internal:On-boardantenna
voltage3.3V
Continuetosend:~75mA normalmode:average:~18mAtop:200mA
Intheweb:3.5mA
Standby:lowest25uA
-40-85
-45-125
AP/STA
IPv4,TCP/UDP
AT+instructionset
Web
1.
5
Application
1.
5
Application
1.
1.5
5Application
ApplicationArea
CloudConnected
HomeAutomation
HouseholdAppliances
AccessControl
SecurityandProtectionSystem
SmartEnergy
IndustrialControl
IntelligentElectricalOutletBox/InstrumentMeasurement
IPNetworkSensorNodes
Area
Area
Area
7
7
7
7/6
62
62
2
62
WirelessPrinter
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
8
8
8
8/62
62
62
6 2
2
Hard ware
2
Hardware
2
2
Hardware
HardwareDescription
2.1
Pin
2.1
2.1
2.1Pin
Defin itions
Pi n
Definitions
PinDefinitions
Definitions
Descrip tion
Description
Description
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
Themodulepin
PinNetNameFunctionalDescription
1GNDGND
2GPIOGeneralGPIO
3GPIOGeneralGPIO
4nResetModuleresetpin,lowleveleffectively
5SOP2Startthechoice,defaultNC
6SOP1Startthechoice,defaultNC
7SOP0Startthechoice,defaultNC
8ANADC-DCTheRFpoweroutputpin,hungup
9NCNC
10NCNC
11GNDGND
12GNDGND
13VBT_CCPowerinputpin,pleaseconnect+3.3V
14VDD_ANA2RFPowerinputpin,pleaseconnect+3.3V
9
62
9
62
9
9/62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
15GPIOGeneralGPIO
16NCNC
17GNDGND
18GPIOGeneralGPIO
19UARTTXUARTTXformodule
20UARTRXUARTRXformodule
21nReload
22nReady
23nLink
24UARTCTSAserialportflowcontrolpinCTS
25UARTRTSAserialportflowcontrolpinRTS
26GPIOGeneralGPIO
27GPIOGeneralGPIO
28GNDGND
29GNDGND
30UART1TXUARTTXformodule
31UART1RXUARTRXformodule
32GPIOGeneralGPIO
33GPIOGeneralGPIO
34GPIOGeneralGPIO
35GPIOGeneralGPIO
36GPIOGeneralGPIO
37GPIOGeneralGPIO
38GPIOGeneralGPIO
39NCNC
40NCNC
41GPIOGeneralGPIO
42NCNC
43NCNC
44GNDGND
Modulefactorydefaultpin,lowleveleffectivelysimplelink
start
Workinstructionspinofmodule,loweffective,connectan
externalLED
WiFilinkpinofmodule,loweffective,connectanexternal
LED
2.2
Antenna
2.2
Antenna
2.2
2.2Antenna
AntennaShows
Shows
Shows
Shows
10
10
1
0
10/62
62
62
62
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
InternalAntenna
2.3
Size
2.3
Size
2.3
2.3Size
Sizeand
SuggestPCBsize:youcandownloadthePCBfootprintfromourhomepage.
and
Layout
and
Layout
andLayout
LayoutRecommendations
Recommendations
Recommendations
Recommendations
Clothplatespecification:
1)InternalAntenna Customerstousetheinternalantenna,theneedtoabidebythefollowing
considerationsandinternalantennamoduleplacedgeneralrules:
11
62
11
62
1
1
11/62
62
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
Ontheuser'sPCB,andgreyshadedareaabovethecorrespondingareacannotbe
placedcomponentsandGND.
Antennasawayfromthemetal,atleastdistancewithhighcomponentsaround
morethan10mm;
Antennapartcannotbemetalshell,plasticshellneedatleastmorethan10mm
awayfromtheantenna;
Itissuggestedthatmoduleisplacedinthefollowingareasoftheuser'sboardasfar aspossible,toreducetheinfluenceoftheantennaandwirelesssignal,andatthesame time,pleaseconsultsomeonetechnicalsupportstafftoassisttheplacementof modulesandrelatedareasoftheLayoutdesign.
2.4
The
2.4
2.4
2.4The
Thehardwaredesignconsiderations:
Needtoaddmorethan200ufcapacitancemodulepowersupplypin.SOP0SOP1SOP2noconnect.ResetReloadneedtopickuponthe4.7Kresistor.
nLink,nReadyEffectiveforlowleveloutput.
SerialportRXD,TXDneedtopickuponthe10Kresistor.
Hardware
The
Hardware
TheHardware
HardwareCircuit
Circuit
Circuit
CircuitDesign
Design
Design
DesignReference
Reference
Reference
Reference
12
12
1
2
12/62
62
62
62
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
13
13
13
13/62
62
62
6 2
3
Pro duct
3
Product
3
3
Product
ProductFunction
3.1
Wir eless
3.1
Wireless
3.1
3.1Wireless
WirelessNetwork
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
Fun ction
Function
Function
Netwo rk
Network
NetworkMode
Mod e
Mode
Mode
TherearetwokindsofwirelessmoduleWIFIworkingmode:the
provideuserswithflexiblenetworkmodeandthenetworktopologymethod.
<Nounsthat> AP:Thewirelessaccesspoint,isthecenterofawirelessnetworknode.Commonly
usedwirelessrouterisan
STA:wirelesssite,isawirelessnetworkterminal.Suchasnotebookcomputer,PDA,
etc.
3.
1
.1
Mod ule
3.
1
.1
Module
3.
3.1
1.1
. 1Module
ModuleAs
Moduleasthe
ofarouterAPandmanySTA,thefollowingfigure.ItscharacteristicisAPinacentral position,communicationbetweenthe
As
As
A sa
a
a
aSTA
STA
S TA
STA
STA
AP,
otherwirelessterminalcanbeinterconnectedbyAP
isoneofthemostcommonlyusednetworkmode,andiscomposed
STA
forwardby
AP.
STA
and
AP,
can
3.1.2
Mod ule
3.1.2
Module
3.1.2
3.1.2Module
ModuleAs
ModulesasAPmode,canachievephone/PAD/computerwithoutanyconfiguration,fast
accessmodulefordatatransmission.Inaddition,youcanloginmoduleinternalwebpage tosetparameters
As
As
A sa
a
a
aAP
AP
AP
A P
14
62
14
62
14
14/62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
<
not e
>
note
>
note>
>:moduleinAPmode,cansupportonly1
Typ e
Type
Type
STA
accessdevices.
3.
1
.3
Enc ryption
3.
1
.3
Encryption
3.
3.1
1.3
. 3Encryption
EncryptionType
<
<
<note
Encryptionisscramblingtomessagedata,ensurethesecurityofdatatransmission,
increasethesecurityofcommunication.Supportmultiplewirelessnetworkencryption methods,including:
WEPWPA-PSK/TKIPWPA-PSK/AESWPA2-PSK/TKIPWPA2-PSK/AES
3.2
Wor k
3.2
Work
3.2
3.2Work
WorkMode
Mod e
Mode
Mode
Moduleconsistsoftwoworkmodes:Sockettransmodeandcommandmode
Socket
Socket
Socket
SocketTran
Tra n
Mod e
Tran
Mode
TranMode
Mode
Inthismode,themodulerealizestheUARTandtransparenttransmissionbetween network,realizecommonserialdatatransferbetweendevicesandnetworkequipment.
Command
Command
Command
CommandMode
Mod e
Mode
Mode
Inthismode,theusercanthroughtheATcommandtoUARTmoduleandquery andnetworkparametersSettings.WhenusingtheAT+ENTMexitcommandmode, thedefaultbacktotranslatemode.
3.
2
.1
3.
3.
3.2
Soc ket
2
.1
Socket
2.1
. 1Socket
SocketTrans
1.
Soc ket
1.
Socket
1.
1.Socket
SocketTrans
Tra ns
Trans
TransMode
Tra ns
Trans
TransMode
Mod e
Mode
Mode
Mod e
Mode
ModeD
D
esc ription
D
escription
Description
escription
USR-C322cansupportserialmodes,include:TCP/UDPTrans,HttpdClient,SSL
Client,WEBSocket.
1.1
TCP /UDP
1.1
TCP/UDP
1.1
1.1TCP/UDP
TCP/UDPTrans
Tra ns
Trans
Trans
UARTinterfacecantransparenttransmissionmodehastheadvantageofUART
interfaceandnetworkcommunicationoftheplugandplay,whichreducethecomplexityof theusertoagreatextent.Modulestoworkinatransparenttransmissionmode,theusers onlyneedtoconfigurethenecessaryparameters,UARTinterfaceandnetwork communicationcanberealized.Afterpoweron,moduleautomaticallyconnectedtothe wirelessnetworkandserverconfigured.
Transparenttransmissionmodeisfullycompatiblewithyourownsoftwareplatform,
reducingtheworkloadofintegrationofwirelessdatatransmissionsoftware development.PC1encryptioncanbeenableintransmode.Thedatarecivedfromuart0willbe
encriptedbyPC1thenuploadedtotheSocket.Thedatarecivedfromsocketwillbedecriptedthensend
thedatathroughserialport.
Usersneedtopresetparametersusuallyinclude:
Wirelessnetworkparameters
SSID
securitymode
15
15
15
15/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
secretkey
TCP/UDPparameter
protel
connectiontype
destinationport
destinationaddress
UARTparameter
Baudrate
databits
stopbit
paritybit
Hardwareflowcontrol
Note:
Note:
Note:
Note:About
in
Tra ns
in
Trans
in
inTrans
TransMode
1.2
Htt pd
1.2
Httpd
1.2
1.2Httpd
HttpdClient
Abo ut
About
AboutPC1
Mod e
Mode
ModeUser
PC1
enc ryption
P C1
encryption
PC1encryption
encryptionmethod
Use r
Man ual
User
Manual
UserManual
ManualV1.0".
Cli ent
Client
Clientmode
mod e
mode
mode
V1. 0".
V1.0".
V1.0".
meth od
method
method,
,
ple ase
,
please
,please
pleaserefer
refe r
refer
referto
to
the
web site
to
th e
website
tothe
thewebsite
websiteinformation
inf ormation
information
information"USR-C322
"US R-C322
"USR-C322
"USR-C322PC1
PC1
P C1
PC1Encrypt
HttpdClientmodeispackagedserialdatapacketsintotheHTTPprotocolpacketsand
senttotheserver,theserverreturneddataviaaserialportprinted.SupportPOST,GET mode,UART0,UART1supportthismode.
Enc rypt
Encrypt
Encrypt
1.3
SSL
1.3
S SL
1.3
1.3SSL
SSLClient
Cli ent
Client
Clientmode
mod e
mode
mode
SSLcommunicationisencryptedsecuritypassthroughcommunication,supportthe
TCPClientmode.
Encryptiontypessupported:
SSLV3
TLSV1
TLSV1_1
TLSV1_2
SSLv3_TLSV1_2
DLSV1
Theencryptionalgorithmsupport:
SSL_RSA_WITH_RC4_128_SHA
SSL_RSA_WITH_RC4_128_MD5
TLS_RSA_WITH_AES_256_CBC_SHA
TLS_DHE_RSA_WITH_AES_256_CBC_SHA
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
TLS_ECDHE_RSA_WITH_RC4_128_SHA
SECURE_DEFAULT
SupportencryptioncertificateSettings(referencewirelessupgradesoftwareencryption
certificateburningmethod).OnlyUART1supportthispattern.
Note:
Note:
Note:
Note:About
Client
Client
Client
ClientUser
1.4
1.4
1.4
1.4WEB
Use r
User
UserManual
WEB
W EB
WEBsocket
Abo ut
About
AboutSSL
soc ket
socket
socketmode
SSL
S SL
SSLClient
Man ual
Manual
ManualV1.0".
mod e
mode
mode
Cli ent
Client
Client,
V1. 0".
V1.0".
V1.0".
,
ple ase
,
please
,please
pleaserefer
ref er
refer
referto
16
16
16
16/62
to
the
to
t he
t othe
thewebsite
62
62
6 2
web site
website
websiteinformation
inf ormation
information
information"USR-C322
"US R-C322
"USR-C322
"USR-C322SSL
SSL
S SL
SSL
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
Supportwebpagewebsocketpassthroughmoduleasthewebserver,port8000,
maximumfourclientconnection.Canloginmodulebuilt-intestpage.OnlyUART0support thispattern.
Note:
Note:
Note:
Note:About
"USR-C322
"USR-C322
"USR-C322
"USR-C322WEB
2.
UAR T
2.
UART
2.
2.UART
UARTFrame
Abo ut
About
AboutWEB
Fra me
Frame
FrameScheme
WEB
W EB
WEBSocket
WEB
W EB
WEBSocket
Soc ket
Socket
SocketUser
Sch eme
Scheme
Scheme
Soc ket
Socket
Socketfunction
fun ction
function
function,
Use r
Man ual
User
Manual
UserManual
ManualV1.0".
,
ple ase
,
please
,please
pleaserefer
V1. 0".
V1.0".
V1.0".
ref er
refer
referto
to
the
to
t he
t othe
thewebsite
web site
website
websiteinformation
inf ormation
information
information
ModuleinthereceivingUARTdata,willcontinuetocheckthetimeintervaloftwo
adjacentbytes.Ifthetimeintervalisgreaterthanthesetpackingtime(default5ms,canbe setupbythe
AT
+UARTTE),arguesthattheendofaframe,orhasbeenreceivingdata,in commandmodeisgreaterthan1kbytesarediscardedthereceiveddata,intranslatemode isgreaterthan1kbytesaresentpacking.
3.
2
.2
3.
3.
3.2
Com mand
2
.2
Command
2.2
. 2Command
CommandMode
Incommandmode,themodulewillnolongerworktotranslate,UARTport
forreceivingthe
Mod e
Mode
Mode
AT
command,theusercanthroughUARTporttosend
AT
commandsto
AT
module,UARTforqueryingandsettingmodule,networkandotherrelatedparameters.As longasthereisaUARTportintothe AT
commandmode.
3.3
Socket
3.3
So cket
3.3
3.3Socket
SocketCommunication
Commu nication
Communication
Communication
AT
commandmode,theotherUARTportalsoisinthe
thistime
3.3.1
3.3.1
3.3.1
3.3.1UART0
UAR T0
UART0
UART0Socket
UART0hasthefollowmode:TCP/UDPTrans,HttpdClient,Websocketcommunication.
Soc ket
Socket
Socket
17
17
17
17/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
UART
PC
Encrypt
/D
ecrypt
1
SOCKA
TCP/UDP
Trans
TCP Server
TCP Client UDP Server UDP Client
Trans Mode
SOCKB
TCP/UDP
Trans
TCP Client UDP Server UDP Client
0
Httpd Client
GET/POST
WEB Socket
UART
AT
Command
Net AT
Command
WIFI
PC Encrypt /
decrypt
1
SOCKA
TCP/UDP
Trans
1
TCP Client UDP Server UDP Client
UART
1
1)TCP/UDP
1)TCP/UDP
1)TCP/UDP
1)TCP/UDPTrans
InTCP/UDPTransModeUART0hastwosocket(socka,sockb)connection,thedata writingtoUART0willbeautomaticallysenttothetwosockets.Thedatarecivedfrom thetwosocketswillbesentouttheUARTinterface.
Sockasupport:
TCPServer
TCPClient
Tra ns
Trans
TransMode
Mod e
Mode
Mode
Httpd Client
GET/POST
SSL Client
18
18
18
18/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
UDPServer
UDPClient
Sockbsupport:
TCPClient
UDPServer
UDPClient
YoucansetthemodethroughATcommand(AT+AOCKA,AT+SOCKB)orthrougha webset.
WhensetTCPServerSocket,itcansupportuptothreeTCPClient connection.Whenthefourthclientconnected,thetheearliestconnectionwillbe disconnected.InamultipleTCPlinkconnectionmode,fromtheTCPtransportdatawill beforwardedtothemonebyoneontheUARTinterface.ComefromtheUART interfacedatawillbecopiedintoamore,ineveryTCPforwardingalink.Specificdata flowdiagramshownbelow:
WhentheSocketsettoUDPServer,ifaserialportreceivesdatafirst,module sendsthedatatothealreadyset
IP,
port
(AT
+SOCKAset),iftheUDPServerreceives data,datasourceaddress,themodulewillrememberafteraserialport,afterreceiptof thedatamodulewillbetransmittedtotheaddressdata.
WhenthemoduleissettotheUDPClient,themoduleonlysenddatatotheIPand
port,andonlyreceivedatafromtheIPandportaddress
(AT
+SOCKASettings),the
datafromotheraddressorportisnotforwardedtotheUART.
Whenthemoduleissettotcporudpclientmode.Registpacketcanbeadd.The registcanbeMAC,ID,customerpacket(32bytes).WheninTCPClientmodebagscan besettoconnectforthefirsttimesendoraddbeforeeachpacket.InUDPClientmode registpacketwillbeaddineachpacketdata.
PC1encryptioncanbeenableintransmode.Thedatarecivedfromuart0willbe encriptedbyPC1thenuploadedtotheSocket.Thedatarecivedfromsocketwillbe decriptedthensendthedatathroughserialport.WhenenablePC1encryption,thetime
19
19
19
19/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
willincreasesfromuarttosocketorfromsockettouart.Inordertoreducelose data,youshouldincreasethetimeintervalbetweensendingpackets.PC1encryption algorithm,pleaserefertothe"USR-C322PC1encryptionintransmodeinstructions".
2)
Htt pd
2)
Httpd
2)
2)Httpd
HttpdClient
Cli ent
Client
Clientmode
mod e
mode
mode
HttpdClientpatternispackagedserialdatapacketsintotheHTTPprotocolpackets, supportPOST,GETmode,UART0,UART1supportthispattern,specificpackageisas follows:
POST
POST“customerURL”HTTP/1.1<CR><LF> Connection:close<CR><LF> User_Agent:Mozilla/4.0<CR><LF> Content-Length:“lengthofuartdata”<CR><LF>
“customerhead
htp_head
Host:“serveraddress”:“serverport”<CR><LF><CR><LF>
“datafromuart”
GET
GET“datafromuart”HTTP/1.1<CR><LF> Connection:close<CR><LF> User_Agent:Mozilla/4.0<CR><LF>
“customerhead
htp_head
Host:“serveraddress”:“serverport”<CR><LF><CR><LF>
Relatedtothe
GET/POSTMode:AT+HTPTP
 customerURL:AT+HTPURL
customerhead
 serveraddress:serverport:AT+HTPSV
AT
commandset:
htp_head
:AT+HTPHEAD
3.3.2
3.3.2
3.3.2
3.3.2UART1
UAR T1
UART1
UART1Socket
UART1hasthefollowmode:TCP/UDPTrans,HttpdClient,SSLClientcommunication.
3)
WEB Socket
3)
WEBSocket
3)
3)WEBSocket
WEBSocketFunction
Fun ction
Function
Function
USR-C322supportswebsockettransfromwebpagetouart.Themoduleisasa webserver,port8000.ThemoduleonlysupportWebsocketASCIIpassthrough.The websocketservercansupportonlyfourclienttobeconnected.Whenafifthclient connecttotheserver,thefirstclientwillbeshutdownfromtheserver.Website sourcecodeisopen,theusercanmodifywebpagerealizetheirspecialneeds, upgradethecustomwebpagepleaserefertothecustomfunctiondescription.Only UART0supportthispattern.
Soc ket
Socket
Socket
20
62
20
62
20
20/62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
UART
PC
Encrypt
/D
ecrypt
1
SOCKA
TCP/UDP
Trans
TCP Server
TCP Client UDP Server UDP Client
Trans Mode
SOCKB
TCP/UDP
Trans
TCP Client
UDP
Server
UDP Client
0
Httpd Client
GET/POST
WEB Socket
UART
AT
Command
Net
AT
Command
WIFI
PC Encrypt /
decrypt
1
SOCKA
1
TCP/UDP
Trans
TCP Client
UDP
Server
UDP Client
UART
1
1)TCP/UDPTrans
InTCP/UDPtransmode,UART1hasonesocketthatcanbeTCPClient、UDP
Server、UDPClient.
2)HttpdClientmode
Httpd Client
GET/POST
SSL Client
TheusageissametoUART0.
21
21
21
21/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
3)SSLClientmode
SSLClientmodeisanexpansionofTCP/UDPtrans.
SSLClienthasalevelofsecurityprotectionthatprovidesahighersecurity,
includingauthentication,dataencryptionandintegrityverification.
Theauthenticationisusedfortheissuanceandapplicationofadigital
certificate.
Dataencryptioncanpreventthelosscausedbylisteningtoothers,evenif thethirdpartylistenstothenewsofthepassing,butwithouttherightkey,itstill can'tgettherightmessage.
Integrityverificationcanpreventthemessagebeingmodifiedinthedelivery process.
Encryptiontypessupported:
SSLV3TLSV1TLSV1_1TLSV1_2SSLv3_TLSV1_2DLSV1
Theencryptionalgorithmsupport:
SSL_RSA_WITH_RC4_128_SHASSL_RSA_WITH_RC4_128_MD5TLS_RSA_WITH_AES_256_CBC_SHATLS_DHE_RSA_WITH_AES_256_CBC_SHATLS_ECDHE_RSA_WITH_AES_256_CBC_SHATLS_ECDHE_RSA_WITH_RC4_128_SHASECURE_DEFAULT
SSLClientsupportencryptioncertificatesetting(reference:USR-C322
wirelessupgradesoftware).OnlyUART1supportthismode.
3.4
Custo m
3.4
Custom
3.4
3.4Custom
Customweb
USR-C322supportCustomwebfunction.Usercanmodifythewebpagecontentoradd yourownwebpage.Pleaserefertothespecificimplementationmethod"reference:USR-C322
customedwebfunction".
3.5
Search
3.5
Sear ch
3.5
3.5Search
Searchin
Modulesupportsearchingmodulewithinthelocalareanetwork(LAN),thatis,whenthe moduleisconnectedtoawirelessrouter,theusercanthroughtoafixedportsendsUDP broadcastway,togettheIPaddressofthemoduleofthecurrent,inordertorealizethesearch
web
w eb
webfunction
in
in
i nlocal
fun ction
function
function
local
l ocal
localarea
area
ar ea
areanetwork
netwo rk
network
network
22
22
22
22/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
andcommunicationsequipment.SEARCHtheportandkeywordcanbesetbythe SEARCHcommands,default:48899,www.usr.cn.
Searchtooloperationprocess:
1.ThroughtheUDPbroadcast(broadcastaddress:xx.Xx.Xx.255,port:48899)tosenda
password,thedefaultpasswordis:"www.usr.cn",thelongestcanbesetup20bytes.
2.Moduleafterreceivingthepassword,ifthepasswordiscorrect,themoduletoenter configurationmode,totheaddress(unicast,sourceport)sendthelocalIPaddress,MAC address,themodulename,versionnumber. D8B04CFC0000,USR-C322,01.01.10).Moduletoenterconfigurationmodesetifnot receivedwithin30secondsafterthecommand,themodulewillexittheconfigurationmode,the userneedstosendsearchcommandword,enterconfigurationmode.
3.Userscanthroughthenetworktotheporttosend moduleworkingstate,the
Note:searchtoolsandmodulesmustbewithinthesameLAN,ifmultiple router,runthesearchtoolsofthecomputerandevenontherouter.Thissearchtooltosearch alloftheSTA.
AT
commandformatwithaserialportthe
(IP,
MAC,MID,ver10.10.100.254,
AT
commandstosetupandreadthe
AT
command.
STA
AT
+
evenona
3.5
TCP/ UDP
3.5
TCP/UDP
3.5
3.5TCP/UDP
TCP/UDPClient
WhenthemoduleworkinginTCPorUDPClientClientmode,theusercanopenregistration packetmechanism,inordertorealizetheservertothedistinctionbetweenthedatasource, dataofdifferentequipmentmonitoring.ThemodulesupportMAC MACis6bytes.IDis0-65535,IDvaluecanbeset.USRregistrationisastringthatissetby customer,thelengthisupto32bytesRegistrationpacketIDismainlyusedfortheD2D softwareofthecompany..
Registeredpacketopenedandclosedby
Registeredpacketimplementationmechanismisasfollows:
TCPClient:TherearetwokindsofTCPClient:registrationmechanism:
1Justsendaregistrationpacket,whenthemoduleisconnectedtotheTCPServer
modulewillsendTCPServerMAC(6bytes)orID(4bytes),ServerbyMACorIDto distinguishbetweendifferentdevices.
2Everypacketofdatahasregistrationinformation,TCPClientafterthelinktotheserver,
aserialportreceiveseachpacketofdatatoincreaseMACorID,todistinguishbetween equipment.IDorMACchoice,canbesetbythe
UDPClient:eachmoduleonthesendingUDPpackets,MACorIDwillincreaseineach
packetheaderinformation,andthensend.
Cli ent
Client
ClientRegistration
Regi stration
Registration
RegistrationPacket
Packet
Packet
PacketMechanism
M ech anism
Mechanism
Mechanism
AT
+REGENA.
AT
+REGENA.
ID
USRregistrationpacket.
23
23
23
23/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
3.
7
Fast
3.
7
Fast
3.
3.7
7Fast
F astAccess
Access
A ccess
AccessWi-Fi(usrlink)
Wi-F i(usrlink)
Wi-Fi(usrlink)
Wi-Fi(usrlink)
WhenonemoduleworksinAPmode,itopensaUDPportusedtoreceivefastaccessWi-Fi
commands,theportnumberis48899(iftheversionisunder2.1.10,theportis49000).The
phonePDAcandirectlyconnecttoWi-Finetworkofthemodule,sendcommandstosearch
routerlistandsetSSIDandpassword.Afterthecompletionofsetup,modulewillautomatically
restart,connectedtotherouter,workintheSTAmodeatthistime.
Protocolformat:
Searchingcommand
NoNameNumofBytesDescription
1head1fixedvalue:0xFF
2length2Sumofdatabytesfromlengthbytestocheck
byte(notcontainlengthbytesandcheckbyte).
3cmd1Commandtype,0x01
4check1Sumofbytesfromhead(notcontained)byteto
checkbyte(notcontained).
Responseforsearching
NoNameNumofBytesDescription
1head1fixedvalue:0xFF
2length2Sumofdatabytesfromlengthbytestocheck
byte(notcontainlengthbytesandcheckbyte).
3cmd1Commandtype,0x81
4APnum1ThenumberofAPwhatmodulescans
5SSID1UnsizedTheSSIDofrouter1
6separator1SeparatorofSSID1,fixedvalue:0x00
7Signal
strength1
8separator2Separatorofsignalstrength1,fixedvalue:
1Signalstrengthofrouter1,0~100:0%~100%
0x0D,0x0A
24
62
24
62
24
24/62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
………
MSSIDnUnsizedTheSSIDofroutern
M+1separator1SeparatorofSSIDn,fixedvalue:0x00
M+2Signal
strength
M+3separator2fixedvalue:0x0D,0x0A
M+4check1Sumofbytesfromhead(notcontained)byteto
1Signalstrengthofroutern,0~100:0%~100%
checkbyte(notcontained).
Example:
DatafromphonePDAtomodule(HEX):FF00010102
DatafrommoduletophonePDA(HEX):FF00148102544553543100400D0A5445
53543200370D0A1F
Explanation:
ThephonePDAsendsearchingcommandtomodule,theresponsefrommoduleis:SSID
ofrouter1is“TEST1”,signalstrengthofrouter1is64%;SSIDofrouter2is“TEST2”,signal
strengthofrouter2is55%.
Note:Theinformationofroutersisorderedbysignalstrength.
a)SettingCommand
NoNameNumofBytesDescription
1head1fixedvalue:0xFF
2length2Sumofdatabytesfromlengthbytestocheckbyte
(notcontainlengthbytesandcheckbyte).
3cmd1Commandtype,0x02
4reserve1fixedvalue:0x00
5SSIDUnsizedSSIDofrouter
6separator2fixedvalue:0x0D,0x0A
7passwordUnsizedPasswordofrouter
25
25
25
25/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
8check1Sumofbytesfromhead(notcontained)byteto
checkbyte(notcontained).
ResponseforSetting
NoNameNumofBytesDescription
1head1fixedvalue:0xFF
2length2Sumofdatabytesfromlengthbytestocheck
byte(notcontainlengthbytesandcheckbyte).
3cmd1Commandtype,0x82
4Checkfor
SSID
5Checkfor
password
6check1Sumofbytesfromhead(notcontained)byteto
1IftheSSIDsetbyPDAexist,checkvalueis0x01,
otherwiseis0x00.
1IftheformofpasswordsetbyPDAiscorrect,check
valueis0x01,otherwiseis0x00.
checkbyte(notcontained).
Example:
DatafromphonePDAtomodule(HEX):FF000F020054455354310D0A31323334
3536CE
DatafrommoduletophonePDA(HEX):FF000382010187
Explanation:
ThephonePDAsendsettingcommandtomodule,SSIDissetto“TEST1”,passwordisset
to“123456”.Theresponsefrommoduleisthatthe“TEST1”Wi-Finetworkexist,theformof
passwordiscorrect.
3.
8
Simp lelink
3.
8
Simplelink
3.
3.8
8Simplelink
SimplelinkConfiguration
Con figuration
Configuration
Configuration
Simplelinkfunctionmainrealizationmoduleofintelligentnetwork,namelythequick
connecttothe
AP.
Modulesworkin
STA
andAPmode,lowerReloadpin0to3seconds,the modulegetintotheSmartconfigconfiguration,atthistimeReadypinoutputhighandlow levelof0.5Hz.Thehandhelddeviceconnectedtothemoduletoconnecttothe the
APP,
enterthepassword,clickon"start".Modulewillautomaticallyrestartafter
successfullyconnecttothe
AP.
26
26
26
26/62
62
62
6 2
AP,
open
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
Note
Note
Note
Note:whenusingthe
AT
+WSTAAPinformationquerymoduleisconnected,password
showSAFE,passwordisnotvisible.
3.
9
RFC 2217
3.
9
RFC2217
3.
3.9
9RFC2217
RFC2217Automatic
3.
9
.1
RFC 2217
3.
9
.1
RFC2217
3.
3.9
9.1
. 1RFC2217
RFC2217Functional
Aut omatic
Automatic
AutomaticBaud
Fun ctional
Functional
FunctionalDescription
Baud
B aud
BaudRate
Des cription
Description
Description
Rate
Rate
R ateFunction
Fun ction
Function
Function
1.RFC2217isaninstantchangeviaEthernetequipmentserialportparametersofa
standardprotocol,thisdevicesupportsasimilarRFC2217agreement,notastandard RFC2217,realizethesamefunction,butthedealeasier.
2.Sendsacommandtothedeviceafterthisagreement,ifdosetserialportparameters
meettherequirements,notreturnanything,ifthecalibrationerrororagreementis wrong,willbeasacommonpacketviaaserialportforwarding.
3.TCPClient,TCPServer,UDPClient,andUDPServer,andbroadcasttheseveral
patternsaresupportthisfunction.
4.Thiscommandchangestakeeffectimmediately,donotneedtorestart,wheneffective,
notsave,powerislost.
3.
9
.
3.
9
.
3.
3.9
9.
.2
2
RFC 2217
2
RFC2217
2RFC2217
RFC2217Protocol
Pro tocol
Protocol
ProtocolSpecification
Spe cification
Specification
Specification
Protocollengthis8bytes,specificagreementcontentasfollows,forexamplethevalue fortheHEXformat:
designationHeaderBpsDatabitCheck
length(bytes)3311
reduce
explain
Example
(115200,N,8,
1)
Example
(9600,N,8,1)
Attachment:aserialportparametersmeaningabit
BitnumExplainDatadescribe
1:0Databits005bits
2Stopbit01bit
misjudg
ment
55AA
55
55AA550025808328
baudratevalue,
highintheformer
01C2008346
016bits
107bits
118bits
12bits
Differentbitsto
representdifferent
meanings,see
table
Sumofthe
frontfour
27
27
27
27/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
3Enabledcheck0Disablecheck
1Enablecheck
5:4Checktype00ODD
01EVEN
10Mark
11Clear
7:6NC00Write0
3.
10
3.
10
3.
3.10
10Sleep
Slee p
Sleep
SleepMode
Mod e
Mode
ModeIntroduction
Intr oduction
Introduction
Introduction
Modulescanopenlowpowermode.Inmoduleundernormalcondition,ifthenetworkand
uartportforcertaintime10-240seconds
(AT
+SLPTYPESettings)doesnotdata
communicationmoduleintolowpowermode.Theusercanchoosedifferentsleepmode(0to
4). Waystherearetoawakenthenetworksideandserialport:networksidereferstoestablish
thewificonnection,toestablishasocketconnectionwithmoduleandsenddatatothesocket,a serialportendpointstoaserialporttosenddata.
Forexample:setup
AT
+SLPTYPE=2,200
Whenthemodulenetworkend(refertothesocketend)andaserialportfor200seconds
didn'treceivethedata,themoduleintoDeepsleepmode(mode2).
3.
10
.1
3.
3.
3.10
Mod e
10
.1
Mode
1 0.1
. 1Mode
ModeIntroduction
Mode
Mode
Mode
Mode0:
Int roduction
Introduction
Introduction
0:
Act ive
0:
Active
0 :Active
ActiveMode
Mod e
Mode
Mode
TheActivemode,thesystemclockis80MHZ.Modulerunningvariousperipherals.
Correspondingmode0,thatis,normalworkmode,themoduleoptimalperformance.
Mode
Mode
Mode
Mode1:
1:
Sle ep
1:
Sleep
1 :Sleep
SleepMode
Mod e
Mode
Mode
Sleepmode,thesystemclockto80MHZ.Throughaserialportornetworkpackets, gpioportoutput,moduleafterawakeningfromenteringhibernationcontinuestorun,wake uptheresponsetimeshorterthandeepsleepmode.Correspondingmode1.
Mode
Mode
Mode
Mode2:
2:
Dee psleep
2:
Deepsleep
2 :Deepsleep
DeepsleepMode
Mod e
Mode
Mode
Moduleintodeepsleepdormancy,reducedto40MHZsystemclock.Mightwakeupvia aserialportornetworkpackets,gpioportoutput,moduleafterawakeningfromentering hibernationcontinuestorun,wakeuptheresponsetimeabitlongerthanthesleepmode. Thanthenormaloperationofthelowerpowerconsumptionabout5ma.Thecorresponding mode2.
Mode
Mode
Mode
Mode3:
3:
LPD S
3:
LPDS
3 :LPDS
LPDSMode
Mod e
Mode
Mode
ModuleintoLPDSmode,networkpartkeeprunning,modulegpioportoutputishigh impedancestate.Viaaserialportornetworkpacketswakeup,wakeupaftertherestart operationmodule.Correspondingmode3.
Mode
Mode
Mode
Mode4:
4:
Hib ernate
4:
Hibernate
4 :Hibernate
HibernateMode
Mod e
Mode
Mode
Moduleintothehibernatemode,networkandMCUareenteringsleepmode,gpioport outputhighimpedancestate,onlythroughaserialportdata.Moduleaftertherestart.Power consumptioncanbeachievedtheuAlevel.Correspondingmode4.
28
28
28
28/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
3.
10
.2
3.
3.
3.10
Pow er
10
.2
Power
1 0.2
. 2Power
PowerReference
Ref erence
Reference
ReferenceTable
Tab le
Table
Table
Nodatatransmissionmodule,thepowerconsumptionmodereferenceisasfollows:
Power
mode
0
1
2 3UARTnetworkworkingUart,network3.5mA70mA 4GPIORXD)workingUart(RXD)24uA24uA
UARTGPIOnetwork Wakeupmode STA AP
UART、GPIO、network
working UART、GPIO、network
working UARTnetworkworking
none18mA74mA
Uart,network13mA71mA
Uart,network9mA70mA
Themodetodistinguishthetable:
Powe
r
mode
080M
180M
240M
332.768Khz
432.768Khz
StillworkingWakeupsource
Run
frequency
MCUWIFIUARTGPIOnetworkUARTGPIOnetwork
 
  
RXD RXDRXD
Thedifferencebetweenallmodules,lowpowerconsumptionmodeisasfollows:
Wakeuptheresponsetime:frommode0to4,wakeuptheresponsetime
increasesgradually.
Powerconsumption:frommode0to4,graduallyreducethepowerconsu
mption.
Example:lowpowerconsumption
1、Wifimoduleonline,variousperipheralsworkisnormal,thedatatransmission
betweentheintervalofafewseconds,use"pattern1".
2、Wifimoduleonline,variousperipheralsworkingfrequencydeclineordoesnot
work,youcanuse"mode2"Deepsleepmodel.
3Moduletokeeponline,canthroughtheremotewirelessequipment,occasionally
translatedata,suittouse"mode3"Lpdsmode,remoteequipmentafterwake upthemodule,themoduletoestablishtheconnectionwiththeremotedevice, sendingandreceivingdata.
4、Whentheuserequipmentdoesnotneedtobeonlineforalongtime,only
occasionallyarouseinitiativetosenddatatotheserver,youcanuse"mode4" Hibernatemode.Aframetoaserialporttosenddata,wakeupmodule,the modulewillbeaccordingtosetthewifi,TCPsocketparameters,theactivelink totheserver,translatedata,translateiscompletedaccordingtosetthetimeto sleep.
<
not e
<
<
<note
>
note
>
note>
>:serialawakensthemodule,inLpdsmode,Hibernatemode,practicalforthe
RXDpin.Somustcontain08bitsofdata,namelytheneedtoguaranteethe RXDpinhasalowlevel,thispacketjustwakeupmodule,datapacketloss,not
RXD
RXD
RXD
 
29
29
29
29/62
62
62
6 2
translate.
4
Parameter
4
Parameter
4
4
Parameter
ParameterSetting
Sett ing
Setting
Setting
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
Theparametersofthemoduleconfigurationpageconfiguration,
configurationintwoways,behindwilldetailtheuseoftwoways.
4.1
Web
4.1
W eb
4.1
4.1Web
WebPage
4.1.1
4.1.1
4.1.1
4.1.1The
Whenusingthemoduleforthefirsttime,needsomeconfigurationonthemodule.ByPC
connectionmoduleAPinterface,theusercanusethewebmanagementpageconfiguration.
Bydefault,themoduleofAPinterfaceSSID,IPaddress,usernameandpasswordareas
follows:
4.1.2
4.1.2
4.1.2
4.1.2Open
Page
Pag e
PageConfiguration
The
Web
T he
W eb
TheWeb
WebManagement
Ope n
Open
OpenManagement
Con figuration
Configuration
Configuration
Man agement
Management
ManagementPage
parameter defaultsetting
SSIDUSR-C322
IPaddress192.168.1.1
mask255.255.255.0
usernameadmin
keyadmin
Man agement
Management
ManagementWeb
Pag e
Page
Page
Web
Pag e
W eb
Page
WebPage
Page
AT
+command
LinkwithPCwirelesscardfirst,afterwaitingforconnectionisgood,opentheIEbrowser,in
theaddressbarenter192.168.1.1,carriagereturn,theloginpage,thedefaultloginasadmin, thepasswordfortheadmin.WebsupportswitchinbothChineseandEnglish,canthroughthe webpagetoprightcorner"Chinese|English"switch,alsocanthroughtheatcommandset.
Thenthewebmanagementpagewillappear.Managementpageincluding"systemstatus"
"WiFiSet""UART0Set""UART1Set""ExtraFunction""AccountSet""ReloadRestar”“About USR”.
1
TheSystemStatusPage
Mainlyforthemoduleoperationparameters,including:MACaddress,MIDnumber, versionandWiFilinkstate.
30
30
30
30/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
2
WiFiParameterSetting:
1 WifiModeSelect:
WifimodelcanchoosethemodeloftheSTAandAP,clicksaveSettings,res tarttotakeeffect.
2APParameterSetting:
SettingmoduleinAPmodeSSIDandpassword(APmodepasswordfor8-63), encryptionmodeisWPA2PSKbydefaultmode,clicksaveSettings,restarttotake effect.
3
STA
ParameterSetting:
Settingmoduleinthe
STA
modeneedstoconnectAPSSIDandpassword(adaptive encryptionmodule),DHCPisenabled.WhentheconnectionoftheAPisnoencryption, setthepasswordtonone.DHCPautomaticallyobtainIPenabled,themodulewill automaticallygetthe andobtainastatic
IP,
DHCPcanban,throughinputthe
IP,
restarttotakeeffect.
IP,
subnetmask,gateway,
31
31
31
31/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
Note:
Note:
Note:
Note:whenthenetworknameandpassworddoesnotsupportthedoublequotes,
comma,and,or,greaterthan,lessthanandotherspecialcharacters.
3
UART0Setting:
1 UARTparametersset
Peripheralsparameterssetmainlysetserialport,serialportbaudratecanbesetto 300-3000000,databitscanset5-8bits,paritybitcanbesettonocheck,oddparity, parity,stopbitscanbesetto1to2,aserialportflowcontrolcanbesetto enabled.Serialportcanopen485features,pin25serialflowcontrolRTSpinisthe
controlpinof485,upthepintosenddata,lowthepintoreceivedata.Effectingafter
restart.
32
62
32
62
32
32/62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
2 Socketsetwithuart0
Thesocketsetaboutuart0includes:SocketMode
(Trans,Httpdclient,WEBSocket).Inthedifferentmode,therewillbedifferentset.
33
33
33
33/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
4
UART1Setting:
1 UART1parametersset
Peripheralsparameterssetmainlysetserialport,serialportbaudratecanbesetto 300-3000000,databitscanset5-8bits,paritybitcanbesettonocheck,oddparity, parity,stopbitscanbesetto1to2.Thereisnotflowcontroland485function.Effecting afterrestart.
2 Socketsetwithuart1
Thesocketsetaboutuart1includes:SocketMode(Trans,Httpdclient,SSL Socket,OFF).Inthedifferentmode,therewillbedifferentset.SelectingOFFisclosethe socketfunctionwithuart1.
34
34
34
34/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
5
ExtraFunction
Inextrafunctionpage,youcansetsearchparametersinlannandmodulemid.
35
35
35
35/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
6
AccountSet:
Accountmanagementcansettheusernameandpasswordloginpage,thelength
mustbe5bytes,clicksaveSettings,restarttotakeeffect.
36
36
36
36/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
7
ReloadRestar:
Thispageincludesthemoduletothefactorystateandrestartthemodulefunction.
37
37
37
37/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
8
AboutUSR:
ThispageisasimpleintroductionofJinanUSRIOTT echnologyLimited.
38
38
38
38/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
4.2
AT+
4.2
4.2
4.2AT+
AT+Instructionrefersto
setofinstructions,behindwilldetailtheuseof
Afterthesuccessoftheelectricstart,canthroughtheUARTforsettingmodule. ModuleofthedefaultUARTportparametersfor:115200baudrate,nocheck,8databits,
onestopbit.
<explain
The softwaretoolsorsomeprofessionalapplications.ThefollowingisintroducedusingUART communicationandSecureCRTtooldemo.
Fromtranslatemodeswitchtothecommandmodetothefollowingtwosteps:
OntheUARTinput"+++",moduleafterreceiving"+++"willreturnaverificationcode
Inputvalidationcode"a"ontheUART ,moduleafterreceivingtheconfirmation,returnto
Comman ds
A T+
Commands
AT+Commands
CommandsConfiguration
explain
explain
explain>
AT
commanddebuggingtools,UARTinterfaceisrecommendedtouseSecureCRT
"a";
the"+"OK"toconfirm,enterthecommandmode;
Con figuration
Configuration
Configuration
incommandmodeuserbymodulewithUARTandSPIcommand
AT
+instructionformat.
39
39
39
39/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
exp lain
explain
<explain
explain>Intheinput"+++"and"thecode"a",noecho,asshownintheabove.
Input"+++"and"a"needstobedoneinacertainperiodoftime,inordertoreducethe probabilityofnormalwork,wronglyintocommandmode.Specificrequirementsareasfollows:
Fromthecommandmodetoswitchtotranslatemodeneedtoadoptthe command,thecommand
AT
+ENTMmodeinput,endwithacarriagereturn,youcanswitchto
AT
+ENTM
translatemode.
4.2.1
4.2.1
4.2.1
4.2.1AT+
AT+
Sum mary
A T+
Summary
AT+Summary
Summaryof
of
Ins truction
of
Instruction
o fInstruction
InstructionSet
Set
S et
Set
AT+Instructionscanbedirectlythroughthesuperterminalserialdebuggersuchasinput,
canalsobeprogrammedtoinput.
AT+Instructionsthecommandline,basedonASCIIformatisasfollows:
FormatSpecification
<
>
<
>
<
<>
>:
A
partofmustcontain
[
]
[
]
[
[]
]:theoptionalparts
Command
AT+<CMD>[op][para-1,para-2,para-3,para-4
AT+<CMD>[op][para-1,para-2,para-3,para-4
AT+<CMD>[op][para-1,para-2,para-3,para-4
AT+<CMD>[op][para-1,para-2,para-3,para-4…
]<C R>
]<CR>
…]<CR>
]<CR>
AT+:Commandmessagesprefix; CMD:Commandstring; [op]:Instructionoperator,isspecifiedparameterstosetorquery;
“=”:parameterSettings“NULL”:query
[para-n]:InputparameterSettings,suchasqueryisnotrequired; <CR>:endmark
ENTER
ASCII:0x0aor0x0d;
ResponseMessage
<CR><LF>+<RSP>[op]
<CR><LF>+<RSP>[op]
<CR><LF>+<RSP>[op]
<CR><LF>+<RSP>[op][para-1,para-2,para-3,para-4
[pa ra-1,para-2,para-3,para-4
[para-1,para-2,para-3,para-4
[para-1,para-2,para-3,para-4…
]<C R><LF>
]<CR><LF>
…]<CR><LF>
]<CR><LF>
+:Theresponsemessageprefix; RSP:Responsetoastring,including:
“OK”:success“ERR”:fail
[para-n]:Thequeryreturnparametererrorcodeorerror <CR>:ASCII0x0d; <LF>:ASCII0x0a;
40
40
40
40/62
62
62
6 2
ErrorCode
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
errorcodetable
Error
Cod e
Error
Code
Error
ErrorCode
Code Description
-1InvalidCommandFormat
-2InvalidCommand
-3InvalidOperationSymbol
-4InvalidParameter
-5OperationNotPermitted
Description
Description
Description
4.2.2
4.2.2
4.2.2
4.2.2
AT
Com mand
AT
Command
AT
A T
Command
CommandIntroduction
NO
NO
NO
NO Command
BasicCommand
1ENTMSetmoduleintotransparenttransitionmode
2EOpen/Closeshowbackfunction
3ZRe-startmodule
4CFGTFCopyUserParameterstoFactoryDefaultParameters
5RELDRestoretofactorydefaultsetting
6MACReadtheMACofmodule
7SEARCHSet/queryLANportandkeywordsearch
8MIDQuerymoduleIDinformation
9PLANGWebloginlanguages
10WEBUSet/querywebsiteloginusernameandpassword
11
12PINGNetwork”Ping”command
13WSCANScanAP
14SLPTYPESetthesleepmode
WifiSet
15WMODESet/QueryWi-Fiworkmode(AP/STA)
16WSTASet/queryassociatedAPSSIDandpassword;
17WANNSet/query
18WSLKQuery
19WAPSet/queryAPwi-ficonfigurationparameters;
20CHANNELChannelmoduleAPmode
21LANNSettheIP/querymoduleAPmode
Uart0set
22UARTSet/queryUARTinterfaceparameters
23UARTTESet/queryaserialportfreeframingintervals
24WKMODUART0Socketworkmode
25SOCKASet/querynetworkprotocolparameters
26SOCKLKAQuerywhethertheTCPlinkchainhasbeenbuilt
27SOCKDISASetthetcpclientreconnectmode
28SOCKBSet/querynetworkprotocolparameters
Int roduction
Introduction
Introduction
Command
Command
Command Description
VERQueryThemodulefirmwareversion
Description
Description
Description
STA
AT+command
STA
networkparameters;
Wi-Filinkstatus
41
41
41
41/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
29SOCKLKBQuerywhethertheTCPlinkchainhasbeenbuilt
30SOCKDISBSetthetcpclientreconnectmode
31RFCENACanmake/banRFC2117function
32REGENACanmake/registrationpacketmechanismisprohibited
33REGIDRegistrationpacketIDset
34REGUSRCustomerdefineregistrationpacket
35TRENCEncriptenable/disableintransmode
36HTPTPHttpdClientGET/POSTset
37HTPSVHttpdClientserveraddress
38HTPHEADHttpdClientcustomerdefinedhead
39HTPURLHttpdClientPOSTURLaddress
40HTPCHDHttpdClientreturndatacutheadenable/disable
Uart1set
41UART1Set/queryUARTinterfaceparameters
42UARTTE1Set/queryaserialportfreeframingintervals
43WKMOD1UART1Socketworkmode
44SOCKA1Set/querynetworkprotocolparameters
45SOCKLKA1QuerywhethertheTCPlinkchainhasbeenbuilt
46SOCKDISA
1
47RFCENA1Canmake/banRFC2117function
48REGENA1Canmake/registrationpacketmechanismisprohibited
49REGID1RegistrationpacketIDset
50REGUSR1Customerdefineregistrationpacket
51TRENC1Encriptenable/disableintransmode
52HTPTP1HttpdClientGET/POSTset
53HTPSV1HttpdClientserveraddress
54HTPHEAD1HttpdClientcustomerdefinedhead
55HTPURL1HttpdClientPOSTURLaddress
56HTPCHD1HttpdClientreturndatacutheadenable/disable
57SSLSECMSSLencripttype
58SSLMASKSSLencriptmethod
59SSLCASSLCertificateTitle
60SSLIPPSSLserveraddressandport
Setthetcpclientreconnectmode
1)AT+ENTM
Function:Exitthecommandmode,enterthetranslatemode;
Format:
Set
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>
Parameters:none
Afterthecommandisexecutedcorrectly,modulefromthecommandmodeswitch
42
62
42
62
42
42/62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
totranslatemode.
2)AT+E
Function:Set/querymoduleechotheatcommandset
Format:
Query
AT+ E
AT+E
AT+E
AT+E<CR>
<CR><LF>+OK=<on/off><CR><LF>
<CR><LF>+OK=<on/off><CR><LF>
<CR><LF>+OK=<on/off><CR><LF>
<CR><LF>+OK=<on/off><CR><LF>
<CR >
<CR>
<CR>
Set
AT+E=<on/off><CR>
AT+E=<on/off><CR>
AT+E=<on/off><CR>
AT+E=<on/off><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
on:Opentheecho,echothe
AT
commandinputcommand,off:the
mode,typethecommanddoesnotecho.
3)AT+Z
Function:RestartthemoduleFormat:
Set
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>
Parameters:none
Afterthecommandisexecutedcorrectly,restartthemodule.
4)AT+CFGTF
Function:Afterthecommandisexecutedcorrectly,restartthemodule.
Format:
Set
AT+CFGTF<CR>
AT+CFGTF<CR>
AT+CFGTF<CR>
AT+CFGTF<CR>
<CR><LF>+OK=<status><CR><LF>
<CR><LF>+OK=<status><CR><LF>
<CR><LF>+OK=<status><CR><LF>
<CR><LF>+OK=<status><CR><LF>
Parameters:
status:Returnstheoperatingstatus;
SAVED:SetupthesuccessNON-SAVED:Setupfailed
5)AT+RELD
Function:Recoverymoduleconfigurationparametersfortheuserthefactory
configurationparameters
Format:
Set
AT+
REL D<CR>
AT+
RELD<CR>
AT+
AT+RELD<CR>
RELD<CR>
<CR><LF>+OK=REBOOTING
<CR><LF>+OK=REBOOTING
<CR><LF>+OK=REBOOTING
<CR><LF>+OK=REBOOTING…
<CR ><LF>
<CR><LF>
…<CR><LF>
<CR><LF>
Parameters:none
ThecommandmoduleconfigurationparametersrestoretotheuserfactorySettings,
andthenrestartautomatically.
6)AT+MAC
Function:QueryMAC
Format:
Query
AT+MAC<CR>
AT+MAC<CR>
AT+MAC<CR>
AT+MAC<CR>
AT
command
43
43
43
43/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
<CR><LF>+OK=<mac><CR><LF>
<CR><LF>+OK=<mac><CR><LF>
<CR><LF>+OK=<mac><CR><LF>
<CR><LF>+OK=<mac><CR><LF>
Parameters:
mac:MACofthemodul(example01020304050A
;
7)AT+SEARCH
Function:Set/queryinLANportandsearchmodulesearchkeywords
Format:
Query
AT+SEARCH<CR>
AT+SEARCH<CR>
AT+SEARCH<CR>
AT+SEARCH<CR>
<CR><LF>+OK=<port,keywords><CR><LF>
<CR><LF>+OK=<port,keywords><CR><LF>
<CR><LF>+OK=<port,keywords><CR><LF>
<CR><LF>+OK=<port,keywords><CR><LF>
Set
AT+
SEA RCH
AT+
SEARCH
AT+
AT+SEARCH
SEARCH<CR>
<CR><LF>+OK
<CR><LF>+OK
<CR><LF>+OK
<CR><LF>+OK=<port,keywords><CR><LF>
<CR >
<CR>
<CR>
=<p ort,keywords><CR><LF>
=<port,keywords><CR><LF>
=<port,keywords><CR><LF>
Parameters:
port:Searchmoduleport;default:48899keywords:Modulesearchkeywords.default:www.usr.cnUpto20bytes.
8)AT+MID
Function:SettheMID/querymodule
Format:
Query
AT+MID<CR>
AT+MID<CR>
AT+MID<CR>
AT+MID<CR>
<CR><LF>+OK=<mid><CR><LF>
<CR><LF>+OK=<mid><CR><LF>
<CR><LF>+OK=<mid><CR><LF>
<CR><LF>+OK=<mid><CR><LF>
Set
AT+MID=<mid><CR>
AT+MID=<mid><CR>
AT+MID=<mid><CR>
AT+MID=<mid><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
mid:Set/querymodulemids(20characters),MIDthemainmodelsofmodule;
Note:thissetting,midcannotcontainacomma",".
9)AT+PLANG
Function:Set/querymodulelandingpagelanguageversion
Format:
Query
AT+
PLA NG
AT+
PLANG
AT+
AT+PLANG
PLANG<CR>
<CR><LF>+OK=<language><CR><LF>
<CR><LF>+OK=<language><CR><LF>
<CR><LF>+OK=<language><CR><LF>
<CR><LF>+OK=<language><CR><LF>
<CR >
<CR>
<CR>
Set
AT+
PLA NG
AT+
PLANG
AT+
AT+PLANG
PLANG=<
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
=<
lan guage
=<
language
= <language
language><CR>
><C R>
><CR>
><CR>
Parameters:
language:CN/ENCNsaidlandingpagedefaultdisplayinChinese;ENsaid
landingpagewhenthedefaultdisplayinEnglish.
10)AT+WEBU
Function:Set/querywebsiteloginusernameandpassword;
Format:
Query
AT+WEBU<CR>
AT+WEBU<CR>
AT+WEBU<CR>
AT+WEBU<CR>
<CR><LF>+OK=<username,password><CR><LF>
<CR><LF>+OK=<username,password><CR><LF>
<CR><LF>+OK=<username,password><CR><LF>
<CR><LF>+OK=<username,password><CR><LF>
44
44
44
44/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
Set
AT+ WEBU<CR>=<username,password><CR>
AT+WEBU<CR>=<username,password><CR>
AT+WEBU<CR>=<username,password><CR>
AT+WEBU<CR>=<username,password><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
username:Theusername,thelengthmustbe5characters,doesnotsupport
null;
password:Password,thelengthmustbe5characters;
11)AT+VER
Function:Set/querymodulefirmwareversion
Format:
Query
AT+VER<CR>
AT+VER<CR>
AT+VER<CR>
AT+VER<CR>
<CR><LF>+OK=<ver><CR><LF>
<CR><LF>+OK=<ver><CR><LF>
<CR><LF>+OK=<ver><CR><LF>
<CR><LF>+OK=<ver><CR><LF>
Set
AT+VER=<ver><CR>
AT+VER=<ver><CR>
AT+VER=<ver><CR>
AT+VER=<ver><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
ver:Set/querymodulefirmwareversion:
AA.BB.CC;AAonbehalfofthebigversion,BBonbehalfoftheminor
versionnumber,Arthurc.CCrepresentsthehardwareversion
12)AT+PING
Function:Network"Ping"command
Format:
Set
AT+PING=<IP_address><CR>
AT+PING=<IP_address><CR>
AT+PING=<IP_address><CR>
AT+PING=<IP_address><CR>
<CR><LF>+OK=<STA><CR><LF>
<CR><LF>+OK=<STA><CR><LF>
<CR><LF>+OK=<STA><CR><LF>
<CR><LF>+OK=<STA><CR><LF>
Parameters:
IP_address:ForIPaddress192.168.1.1ordomainnamewww.usr.so,domain
nameupto64bytes.
STA:returnedvalue
SUCCESSTIMEOUT
13)AT+WSCAN
Function:SearchAP:
Query
AT+WSCAN<CR>
AT+WSCAN<CR>
AT+WSCAN<CR>
AT+WSCAN<CR>
<CR><LF>+OK=<LF><CR>SSID,BSSID,Security,Indicator<LF><CR><ap_s
<CR><LF>+OK=<LF><CR>SSID,BSSID,Security,Indicator<LF><CR><ap_s
<CR><LF>+OK=<LF><CR>SSID,BSSID,Security,Indicator<LF><CR><ap_s
<CR><LF>+OK=<LF><CR>SSID,BSSID,Security,Indicator<LF><CR><ap_s
ite_1><LF><CR><ap_site_2><LF><CR><ap_site_3><LF><CR>
ite_1><LF><CR><ap_site_2><LF><CR><ap_site_3><LF><CR>
ite_1><LF><CR><ap_site_2><LF><CR><ap_site_3><LF><CR>
ite_1><LF><CR><ap_site_2><LF><CR><ap_site_3><LF><CR>…
N><CR><LF>
N><CR><LF>
N><CR><LF>
N><CR><LF>
Parameters:
SSID:SSIDBSSID:MAC11:22:33:44:AA:BBSecurityIndicatorRSSI
<ap _site_
<ap_site_
…<ap_site_
<ap_site_
45
45
45
45/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
Note:intheAPmodeWSCANcommand,responsewillbeslightlyslower,ifhas
establishedaTCPconnection,theconnectionwillbedisconnected,needto restartaftertheconnectionisestablished.
14)AT+SLPTYPE
Function:SetthequerysleepmodeFormat:
Query
AT+
SLP TYPE<CR>
A T+
SLPTYPE<CR>
AT+
AT+SLPTYPE<CR>
SLPTYPE<CR>
<CR><LF>+OK=<MODE,TIME><CR><LF>
<CR><LF>+OK=<MODE,TIME><CR><LF>
<CR><LF>+OK=<MODE,TIME><CR><LF>
<CR><LF>+OK=<MODE,TIME><CR><LF>
Set
AT+
SLP TYPE=<MODE,TIME><CR>
AT+
SLPTYPE=<MODE,TIME><CR>
AT+
AT+SLPTYPE=<MODE,TIME><CR>
SLPTYPE=<MODE,TIME><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
MODE:0-4;
0nosleepmodeforsettingmodule(default);1setthemoduletosleep mode;2setthemoduletodeepsleepmode;3setthemoduletoLPDS mode;4setthemoduletodeepsleepmode;
TIME:10-240seconds.
Setthemodulewithoutcommunicationlasttime.Whenlasttimeno datatransmissionmodule,enterthesleepmode,accordingtothemode patternsintodifferentdormancy.
Note:whensettonosleep,onlysetAT
AT
+
A T+
+SLPTYPE
SLP TYPE
SLPTYPE
SLPTYPE=
=
0
<
CR
=
0
<
=0
0<
<CR
CR
C R>
>
>
>
AT
+
15)AT+WMODE
Function:Setthequerywifiworkingmode
Format:
Query
AT+WMODE<CR>
AT+WMODE<CR>
AT+WMODE<CR>
AT+WMODE<CR>
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<status
sta tus
status
status><CR><LF>
><C R><LF>
><CR><LF>
><CR><LF>
Set
AT+WMODE
AT+WMODE
AT+WMODE
AT+WMODE=<
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
=<
sta tus
=<
status
= <status
status><CR>
><C R>
><CR>
><CR>
Parameters:
status:
AP:ThemoduleintheAPmodeSTA:Themoduleinthe
STA
model
16)AT+WSTA
Function:Set/queryassociatedAPSSIDandpassword;
Format:
Query
AT+WSTA<CR>
AT+WSTA<CR>
AT+WSTA<CR>
AT+WSTA<CR>
<CR><LF>+OK=<AP's
<CR><LF>+OK=<AP's
<CR><LF>+OK=<AP's
<CR><LF>+OK=<AP'sssid><key><CR><LF>
ssi d><key><CR><LF>
ssid><key><CR><LF>
ssid><key><CR><LF>
Set
AT+
WST A
AT+
WSTA
AT+
AT+WSTA
WSTA=<AP's
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
=<A P's
=<AP's
=<AP'sssid
ssi d
><k ey><CR>
ssid
><key><CR>
ssid><key><CR>
><key><CR>
Parameters:
46
46
46
46/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
AP'sssid:APSSID(upsupport32bytes);key:APpassword,thedefaultencryptionforwpa2psk,noencryptionissetto
NONE.
Note:thessidandkeydoesnotsupport","specialcharacters.
17)AT+WANN
Function:Set/querymoduleaccesstoIP(DHCP/STATIC);
Format:
Query
AT+ WANN<CR>
AT+WANN<CR>
AT+WANN<CR>
AT+WANN<CR>
<CR><LF>+OK=<mode,address,mask,gateway,dns
<CR><LF>+OK=<mode,address,mask,gateway,dns
<CR><LF>+OK=<mode,address,mask,gateway,dns
<CR><LF>+OK=<mode,address,mask,gateway,dns><CR><LF>
><C R><LF>
><CR><LF>
><CR><LF>
Set
AT+WANN=<mode,address,mask,gateway,dns
AT+WANN=<mode,address,mask,gateway,dns
AT+WANN=<mode,address,mask,gateway,dns
AT+WANN=<mode,address,mask,gateway,dns><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
><C R>
><CR>
><CR>
Parameters:
mode:NetworkIPmode
static:staticIPDHCP:dynamicIPaddress,mask,gatewayDNSareomitted
address:IP;mask:mask;
gateway:gateway
dns:DNS
Note:setthemoduletogetthedynamicIP,justsetupAT+WANN=DHCP<CR>
18)AT+WSLK
Function:Querythe
STA
wirelesslinkstate;
Format:
Query
AT+
WSL K<CR>
AT+
WSLK<CR>
AT+
AT+WSLK<CR>
WSLK<CR>
<CR><LF>+OK=<status,rssi><CR><LF>
<CR><LF>+OK=<status,rssi><CR><LF>
<CR><LF>+OK=<status,rssi><CR><LF>
<CR><LF>+OK=<status,rssi><CR><LF>
Parameters:
status
Ifthereisnoconnection:return“Disconnected”Ifthereisaconnection:return“APSSIDAPMAC
rssi:0-100Whensignalstrengthisrequiredlessthan10weaksignal,when
thedatatransmissionmaylosedata.
19)AT+WAP
Function:Set/queryAPwi-ficonfigurationparameters;
Format:
Query
AT+ WAP<CR>
AT+WAP<CR>
AT+WAP<CR>
AT+WAP<CR>
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<ssid,key
ssi d,key
ssid,key
ssid,key><CR><LF>
><C R><LF>
><CR><LF>
><CR><LF>
Set
AT+
WAP
AT+
AT+
AT+WAP
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
W AP
WAP=<
=<
ssi d,key
=<
ssid,key
= <ssid,key
ssid,key><CR>
><C R>
><CR>
><CR>
Parameters:
ssid:APSSID;
47
47
47
47/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
key:SettheAPencryptionpassword(thedefaultwpa2pskencryption,
passwordlengthgreaterthanorequalto8bytes),settoNoneiswithout encryption
Note:thessidandkeydoesnotsupport","specialcharacters.
20)AT+CHANNEL
Function:ChannelSettings/querymoduleAPmode
Format:
Query
AT+ CHANNEL
AT+CHANNEL
AT+CHANNEL
AT+CHANNEL<CR>
<CR><LF>+OK=<NUM><CR><LF>
<CR><LF>+OK=<NUM><CR><LF>
<CR><LF>+OK=<NUM><CR><LF>
<CR><LF>+OK=<NUM><CR><LF>
<CR >
<CR>
<CR>
Set
AT+
CHA NNEL
AT+
CHANNEL
AT+
AT+CHANNEL
CHANNEL=<NUM><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
=<N UM><CR>
=<NUM><CR>
=<NUM><CR>
Parameters:
NUM:channel1-13.
21)AT+LANN
Function:SettheIPqueryAPmode;
Format:
Query
AT+ LANN<CR>
AT+LANN<CR>
AT+LANN<CR>
AT+LANN<CR>
<CR><LF>+OK=<IP,MASK><CR><LF>
<CR><LF>+OK=<IP,MASK><CR><LF>
<CR><LF>+OK=<IP,MASK><CR><LF>
<CR><LF>+OK=<IP,MASK><CR><LF>
Set
AT+
LAN N
A T+
LANN
AT+
AT+LANN
LANN=<IP,MASK><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
=<I P,MASK><CR>
=<IP,MASK><CR>
=<IP,MASK><CR>
Parameters:
IP:ipMASK:mask
22)AT+UART
Function:Set/queryUARTinterfaceparameters
Format:
Query:
AT+UART<CR>
AT+UART<CR>
AT+UART<CR>
AT+UART<CR>
<CR><LF>+OK=<baudrate,data_bits,stop_bit,parity,flowctrl><CR><LF>
<CR><LF>+OK=<baudrate,data_bits,stop_bit,parity,flowctrl><CR><LF>
<CR><LF>+OK=<baudrate,data_bits,stop_bit,parity,flowctrl><CR><LF>
<CR><LF>+OK=<baudrate,data_bits,stop_bit,parity,flowctrl><CR><LF>
Set:
AT+UART=<baudrate,data_bits,stop_bit,parity,flowctrl><CR>
AT+UART=<baudrate,data_bits,stop_bit,parity,flowctrl><CR>
AT+UART=<baudrate,data_bits,stop_bit,parity,flowctrl><CR>
AT+UART=<baudrate,data_bits,stop_bit,parity,flowctrl><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
baudrate:
300-3000000bit/s,data_bits:5–8bitsstop_bits:1,2parity:check
NONE
EVEN
ODD
48
48
48
48/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
Mask
Spaceflowctrl:CTSRTS
NFC:Disablehardwareflowcontrol
FC:Enablehardwareflowcontrol
485
485communications,UART_RTSas485sendcontrolterminal
Note:whenthebaudratearesubjecttochange,willautomaticallychangethe
packaginginterval,see27)AT+UARTTE.
23)AT+UARTTE
Function:Set/queryfreeframingintervalsFormat:
Query
AT+
UAR TTE<CR>
AT+
UARTTE<CR>
AT+
AT+UARTTE<CR>
UARTTE<CR>
<CR><LF>+OK=<num><CR><LF>
<CR><LF>+OK=<num><CR><LF>
<CR><LF>+OK=<num><CR><LF>
<CR><LF>+OK=<num><CR><LF>
Set
AT+
UAR TTE=<num
AT+
UARTTE=<num
AT+
AT+UARTTE=<num
UARTTE=<num><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
><C R>
><CR>
><CR>
Parameters:
num:5-250:Freeframingmodetheintervalbetweentwobytesms.
Note:thisparameterwillautomaticallychangewhensetthebaudrate,Ifyouwantto
changethepackaginginterval,pleasefirstsetthebaudrate: bps<=600num=250ms; bps>=20000num=5ms;
500<bps<20000num=1000/bps*10*10.
24)AT+WKMOD
FunctionSet/querythesocketofuart0workmodeFormat:
Query
AT+WKMOD<CR>
AT+WKMOD<CR>
AT+WKMOD<CR>
AT+WKMOD<CR>
<CR><LF>+OK=<mode><CR><LF>
<CR><LF>+OK=<mode><CR><LF>
<CR><LF>+OK=<mode><CR><LF>
<CR><LF>+OK=<mode><CR><LF>
Set
AT+WKMOD=<
AT+WKMOD=<
AT+WKMOD=<
AT+WKMOD=<mode><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters
mode
workmode
mod e><CR>
mode><CR>
mode><CR>
TRANStransmode
HTPCHttpdCient
WEBSOCKWEBSocketfunction
25)AT+SOCKA
Function:Set/querynetworkprotocolparameters
Format:
Query
AT+SOCKA<CR>
AT+SOCKA<CR>
AT+SOCKA<CR>
AT+SOCKA<CR>
<CR><LF>+OK=<protocol,IP,port
<CR><LF>+OK=<protocol,IP,port
<CR><LF>+OK=<protocol,IP,port
<CR><LF>+OK=<protocol,IP,port><CR><LF>
><C R><LF>
><CR><LF>
><CR><LF>
Set
49
49
49
49/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
AT+SOCKA=<
AT+SOCKA=<
AT+SOCKA=<
AT+SOCKA=<protocol,IP ,port
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
pro tocol,IP ,port
protocol,IP ,port
protocol,IP ,port><CR>
><C R>
><CR>
><CR>
Parameters:
Protocol:Protocoltype,including
TCPSTCPserver
TCPCTCPclient
UDPSUDPserver
UDPCUDPclientIP:Whenthemoduleissetto"CLIENT",theIPaddressoftheserverPort:Protocolport,decimalnumber,lessthan65535
26)AT+SOCKLKA
Function:QuerytheTCPlinkisestablished;
Format:
AT+
SOC KLKA<CR>
AT+
SOCKLKA<CR>
AT+
AT+SOCKLKA<CR>
SOCKLKA<CR>
<CR><LF>+OK=<STA><CR><LF>
<CR><LF>+OK=<STA><CR><LF>
<CR><LF>+OK=<STA><CR><LF>
<CR><LF>+OK=<STA><CR><LF>
Parameters
STA:showingiftheTCPlinkisestablished
CONNECT :TCPconnectedDISCONNECTED:TCPDisconnected
27)AT+SOCKDISA
FunctionQueryisthereaclienthaveconnectedFormat
AT+
SOC KDISA<CR>
AT+
SOCKDISA<CR>
AT+
AT+SOCKDISA<CR>
SOCKDISA<CR>
<CR><LF>+OK=<STA><CR><LF>
<CR><LF>+OK=<STA><CR><LF>
<CR><LF>+OK=<STA><CR><LF>
<CR><LF>+OK=<STA><CR><LF>
Parameters
STA.:settcpclientreconnectmode
ON:enabletcpclientreconnect
OFF:disabletcpclientreconnect
28)AT+SOCKB
Function:Set/querynetworkprotocolparameters
Format:
Query
AT+ SOCK
AT+SOCK
AT+SOCK
AT+SOCKB
<CR><LF>+OK=<protocol,IP,port
<CR><LF>+OK=<protocol,IP,port
<CR><LF>+OK=<protocol,IP,port
<CR><LF>+OK=<protocol,IP,port><CR><LF>
B
<CR >
B
<CR>
B<CR>
<CR>
Set
AT+SOCK
AT+SOCK
AT+SOCK
AT+SOCKB
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
B
=<
pro tocol,IP ,port
B
=<
protocol,IP ,port
B=<
= <protocol,IP ,port
protocol,IP ,port><CR>
><C R>
><CR>
><CR>
Parameters:
Protocol:Protocoltype,including
TCPCTCPclient
UDPSUDPserver
UDPCUDPclientIP:Whenthemoduleissetto"CLIENT",theIPaddressoftheserverPort:Protocolport,decimalnumber,lessthan65535
29)AT+SOCKLKB
><C R><LF>
><CR><LF>
><CR><LF>
50
50
50
50/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
Function:QuerytheTCPlinkisestablished;
Format:
AT+
SOC KLK
A T+
SOCKLK
AT+
AT+SOCKLK
SOCKLKB
<CR><LF>+OK=<STA><CR><LF>
<CR><LF>+OK=<STA><CR><LF>
<CR><LF>+OK=<STA><CR><LF>
<CR><LF>+OK=<STA><CR><LF>
B
<CR >
B
<CR>
B<CR>
<CR>
Parameters
STA:showingiftheTCPlinkisestablished
CONNECT :TCPconnectedDISCONNECTED:TCPDisconnected
30)AT+SOCKDISB
FunctionQueryisthereaclienthaveconnectedFormat
AT+
SOC KDIS
AT+
SOCKDIS
AT+
AT+SOCKDIS
SOCKDISB
<CR><LF>+OK=<STA><CR><LF>
<CR><LF>+OK=<STA><CR><LF>
<CR><LF>+OK=<STA><CR><LF>
<CR><LF>+OK=<STA><CR><LF>
B
<CR >
B
<CR>
B<CR>
<CR>
Parameters
STA.:settcpclientreconnectmode
ON:enabletcpclientreconnect
OFF:disabletcpclientreconnect
31)AT+RFCENA
Function:Enable/DisableRFC2217Function
Format:
Query
AT+ RFCENA<CR>
AT+RFCENA<CR>
AT+RFCENA<CR>
AT+RFCENA<CR>
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<status<CR><LF>
sta tus<CR><LF>
status<CR><LF>
status<CR><LF>
Set
AT+RFCENA
AT+RFCENA
AT+RFCENA
AT+RFCENA=<
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
=<
sta tus><CR>
=<
status><CR>
= <status><CR>
status><CR>
Parameters:
status:
ON:EnableRFC2217Function
OFF:DisableRFC2217Function
32)AT+REGENA
Function:Setthequeryregistrationpacketmechanism
Format:
Query
AT+REGENA<CR>
AT+REGENA<CR>
AT+REGENA<CR>
AT+REGENA<CR>
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<status
sta tus
status
status
met hod><CR><LF>
method><CR><LF>
method><CR><LF>
method><CR><LF>
Set
AT+REGENA
AT+REGENA
AT+REGENA
AT+REGENA=<
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
=<
sta tus
=<
status
= <status
status
met hod
method
method
method><CR>
Parameters:
status:
ID:packetmechanismcanmakecanmaketheregistration,theregistry
packetIDis2bytes
MAC:packetmechanismcanmakecanmaketheregistration,theregistry
packetis6bytesMAC
><C R>
><CR>
><CR>
51
51
51
51/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
USR:customerdefinedpacket
OFF:Bancanregisterpacketmechanismmethod
EVERYIncreaseregisteredbeforeeachpacketofdatapacket
FIRSTOnlylinktotheserversendsaregisteredpacketforthefirsttime
Notice:ifdisabletheregister,justsetAT+REGENA=OFF\r.
33)AT+REGID
Function:SetthequeryregistrationpacketID
Format:
Query
AT+REGID<CR>
AT+REGID<CR>
AT+REGID<CR>
AT+REGID<CR>
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<NUM><CR><LF>
NUM ><CR><LF>
NUM><CR><LF>
NUM><CR><LF>
Set
AT+REGID
AT+REGID
AT+REGID
AT+REGID=<NUM
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
=<N UM
=<NUM
=<NUM><CR>
><C R>
><CR>
><CR>
Parameters:
NUM:0-65535DecimalFormat,whenselectingregistrationpacketID,itis
mainlyusedfortheD2Dsoftwareofourcompany.
34)AT+REGUSR
Function:Setthecustomerdefinedregistration.
Format:
Query
AT+REG
AT+REG
AT+REG
AT+REGUSR
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<data
USR
<CR >
U SR
<CR>
USR<CR>
<CR>
dat a
><C R><LF>
data
><CR><LF>
data><CR><LF>
><CR><LF>
Set
AT+REG
AT+REG
AT+REG
AT+REGUSR
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
USR
U SR
USR=<
=<
dat a
=<
data
= <data
data><CR>
><C R>
><CR>
><CR>
Parameters:
data:1-32ASCIICode.
35)AT+TRENC
Function:Set/querythestatusofencriptintransmode.
Format:
Query
AT+TRENC<CR>
AT+TRENC<CR>
AT+TRENC<CR>
AT+TRENC<CR>
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<state,data><CR><LF>
sta te,data><CR><LF>
state,data><CR><LF>
state,data><CR><LF>
Set
AT+TRENC
AT+TRENC
AT+TRENC
AT+TRENC=<
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
=<
sta te,data
=<
state,data
= <state,data
state,data><CR>
><C R>
><CR>
><CR>
Parameters:
state:ON/OFF .
data:encriptkeyofPC1,32ASCIIcodes(0-9,a-f,A-F)changeto16bytes(Hex)
suchas:1234567890abcdef1234567890abcdefthe16byteskeyis 0x12,0x34...0xef,16bytes
36)AT+HTPTP
Function:Set/Querythemodeofhttpdclient.
52
52
52
52/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
Format:
Query
AT+
HTP TP
A T+
HTPTP
AT+
AT+HTPTP
HTPTP<CR>
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<data
<CR >
<CR>
<CR>
dat a
><C R><LF>
data
><CR><LF>
data><CR><LF>
><CR><LF>
Set
AT+
HTP TP
AT+
HTPTP
AT+
AT+HTPTP
HTPTP=<
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
=<
dat a
=<
data
= <data
data><CR>
><C R>
><CR>
><CR>
Parameters:
data:GET/POST.
37)AT+HTPSV
Function:Set/Querythehttpdclient.serveraddressandport
Format:
Query
AT+HTPSV<CR>
AT+HTPSV<CR>
AT+HTPSV<CR>
AT+HTPSV<CR>
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<address,port><CR><LF>
add ress,port><CR><LF>
address,port><CR><LF>
address,port><CR><LF>
Set
AT+HTPSV
AT+HTPSV
AT+HTPSV
AT+HTPSV=<
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
=<
add ress,port
=<
address,port
= <address,port
address,port><CR>
><C R>
><CR>
><CR>
Parameters:
address:Theserveraddress.port:theserverport,1-65535
38)AT+HTPHEAD
Function:Set/Querythehttpdclient.
Format:
Query
AT+HTP
AT+HTP
AT+HTP
AT+HTPHEAD
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<address,port><CR><LF>
HEA D
HEAD
HEAD<CR>
<CR >
<CR>
<CR>
add ress,port><CR><LF>
address,port><CR><LF>
address,port><CR><LF>
Set
AT+HTP
AT+HTP
AT+HTP
AT+HTPHEAD
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
HEA D
HEAD
HEAD=<
=<
add ress,port
=<
address,port
= <address,port
address,port><CR>
><C R>
><CR>
><CR>
Parameters:
address:Theserveraddress.
port:theserverport,1-65535
39)HTPURL
Function:Set/Querythehttpdclientposturl.
Format:
Query
AT+HTPURL<CR>
AT+HTPURL<CR>
AT+HTPURL<CR>
AT+HTPURL<CR>
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<data><CR><LF>
dat a><CR><LF>
data><CR><LF>
data><CR><LF>
Set
AT+HTPURL
AT+HTPURL
AT+HTPURL
AT+HTPURL=<
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
=<
dat a
=<
data
= <data
data><CR>
><C R>
><CR>
><CR>
Parameters:
data:Theheaddefinedbycustomer,themaxlengthis200bytes
The<<CRLF>>replace“/r/n”.
53
53
53
53/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
likeAccept:image/gif<<CRLF>>Content-Type:text/html<<CRLF>>
40)HTPCHD
Function:Set/Querythestateofcuttingheadofreturndata.
Format:
Query
AT+HTP
AT+HTP
AT+HTP
AT+HTPCHD
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<state
CHD
<CR >
C HD
<CR>
CHD<CR>
<CR>
sta te
><C R><LF>
state
><CR><LF>
state><CR><LF>
><CR><LF>
Set
AT+HTP
AT+HTP
AT+HTP
AT+HTPCHD
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
CHD
C HD
CHD=<
=<
sta te
=<
state
= <state
state><CR>
><C R>
><CR>
><CR>
Parameters:
state:
ON:deletetheheadofreturndatafromserver.OFF:don’tdeletetheheadofreturndatafromserver.
41)AT+UART1
Function:Set/queryUARTinterfaceparameters
Format:
Query:
AT+UART
AT+UART
AT+UART
AT+UART1
<CR><LF>+OK=<baudrate,data_bits,stop_bit,parity
<CR><LF>+OK=<baudrate,data_bits,stop_bit,parity
<CR><LF>+OK=<baudrate,data_bits,stop_bit,parity
<CR><LF>+OK=<baudrate,data_bits,stop_bit,parity><CR><LF>
1
<CR >
1
<CR>
1<CR>
<CR>
Set:
AT+UART
AT+UART
AT+UART
AT+UART1
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
1
=<b audrate,data_bits,stop_bit,parity
1
=<baudrate,data_bits,stop_bit,parity
1=<baudrate,data_bits,stop_bit,parity
=<baudrate,data_bits,stop_bit,parity><CR>
Parameters:
baudrate:
300-3000000bit/s,data_bits:5–8bitsstop_bits:1,2parity:check
NONE
EVEN
ODD
MARK
SPACE
Note:whenthebaudratearesubjecttochange,willautomaticallychangethe
packaginginterval,seeAT+UARTTE1.
42)AT+UARTTE1
Function:Set/queryfreeframingintervalsFormat:
Query
AT+
UAR TTE
AT+
UARTTE
AT+
AT+UARTTE
UARTTE1
<CR><LF>+OK=<num><CR><LF>
<CR><LF>+OK=<num><CR><LF>
<CR><LF>+OK=<num><CR><LF>
<CR><LF>+OK=<num><CR><LF>
1
<CR >
1
<CR>
1<CR>
<CR>
Set
AT+
UAR TTE
AT+
UARTTE
AT+
AT+UARTTE
UARTTE1
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
1
=<n um
1
=<num
1=<num
=<num><CR>
><C R>
><CR>
><CR>
><C R>
><CR>
><CR>
><C R><LF>
><CR><LF>
><CR><LF>
54
54
54
54/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
Parameters:
num:5-250:Freeframingmodetheintervalbetweentwobytesms.
Note:thisparameterwillautomaticallychangewhensetthebaudrate,Ifyouwantto
changethepackaginginterval,pleasefirstsetthebaudrate: bps<=600 bps>=20000
num=250ms;
num=5ms;
500<bps<20000num=1000/bps*10*10.
43)AT+WKMOD1
FunctionSet/querythesocketofuart0workmodeFormat:
Query
AT+ WKMOD
AT+WKMOD
AT+WKMOD
AT+WKMOD1
<CR><LF>+OK=<mode><CR><LF>
<CR><LF>+OK=<mode><CR><LF>
<CR><LF>+OK=<mode><CR><LF>
<CR><LF>+OK=<mode><CR><LF>
1
<CR >
1
<CR>
1<CR>
<CR>
Set
AT+WKMOD
AT+WKMOD
AT+WKMOD
AT+WKMOD1
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
1
=<
mod e><CR>
1
=<
mode><CR>
1=<
= <mode><CR>
mode><CR>
Parameters
modeworkmode
TRANStransmode
HTPCHttpdCient
SSLSSLSocketfunctionOFFclosesocketa1
44)AT+SOCKA1
Function:Set/querynetworkprotocolparameters
Format:
Query
AT+SOCKA
AT+SOCKA
AT+SOCKA
AT+SOCKA1
<CR><LF>+OK=<protocol,IP,port
<CR><LF>+OK=<protocol,IP,port
<CR><LF>+OK=<protocol,IP,port
<CR><LF>+OK=<protocol,IP,port><CR><LF>
1
<CR >
1
<CR>
1<CR>
<CR>
><C R><LF>
><CR><LF>
><CR><LF>
Set
AT+SOCKA
AT+SOCKA
AT+SOCKA
AT+SOCKA1
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
1
=<
pro tocol,IP ,port
1
=<
protocol,IP,port
1=<
= <protocol,IP,port
protocol,IP,port><CR>
><C R>
><CR>
><CR>
Parameters:
Protocol:Protocoltype,including
TCPCTCPclient
UDPSUDPserver
UDPCUDPclientIP:Whenthemoduleissetto"CLIENT",theIPaddressoftheserverPort:Protocolport,decimalnumber,lessthan65535
45)AT+SOCKLKA1
Function:QuerytheTCPlinkisestablished;
Format:
AT+
SOC KLKA
AT+
SOCKLKA
AT+
AT+SOCKLKA
SOCKLKA1
<CR><LF>+OK=<STA><CR><LF>
<CR><LF>+OK=<STA><CR><LF>
<CR><LF>+OK=<STA><CR><LF>
<CR><LF>+OK=<STA><CR><LF>
1
<CR >
1
<CR>
1<CR>
<CR>
Parameters
STA:showingiftheTCPlinkisestablished
55
55
55
55/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
CONNECT :TCPconnectedDISCONNECTED:TCPDisconnected
46)AT+SOCKDISA1
FunctionQueryisthereaclienthaveconnectedFormat
AT+
SOC KDISA
AT+
SOCKDISA
AT+
AT+SOCKDISA
SOCKDISA1
<CR><LF>+OK=<STA><CR><LF>
<CR><LF>+OK=<STA><CR><LF>
<CR><LF>+OK=<STA><CR><LF>
<CR><LF>+OK=<STA><CR><LF>
1
<CR >
1
<CR>
1<CR>
<CR>
Parameters
STA.:settcpclientreconnectmode
ON:enabletcpclientreconnect
OFF:disabletcpclientreconnect
47)AT+RFCENA1
Function:Enable/DisableRFC2217Function
Format:
Query
AT+ RFCENA
AT+RFCENA
AT+RFCENA
AT+RFCENA1
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<status<CR><LF>
1
<CR >
1
<CR>
1<CR>
<CR>
sta tus<CR><LF>
status<CR><LF>
status<CR><LF>
Set
AT+RFCENA
AT+RFCENA
AT+RFCENA
AT+RFCENA1
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
1
=<
sta tus><CR>
1
=<
status><CR>
1=<
= <status><CR>
status><CR>
Parameters:
status:
ON:EnableRFC2217Function
OFF:DisableRFC2217Function
48)AT+REGENA1
Function:Setthequeryregistrationpacketmechanism
Format:
Query
AT+REGENA
AT+REGENA
AT+REGENA
AT+REGENA1
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<status
1
<CR >
1
<CR>
1<CR>
<CR>
sta tus
status
status
met hod><CR><LF>
method><CR><LF>
method><CR><LF>
method><CR><LF>
Set
AT+REGENA
AT+REGENA
AT+REGENA
AT+REGENA1
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
1
=<
1
=<
1=<
= <status
sta tus
status
status
met hod
method
method
method><CR>
><C R>
><CR>
><CR>
Parameters:
status:
ID:packetmechanismcanmakecanmaketheregistration,theregistry
packetIDis2bytes
MAC:packetmechanismcanmakecanmaketheregistration,theregistry
packetis6bytesMAC
USR:customerdefinedpacket
OFF:Bancanregisterpacketmechanismmethod
EVERYIncreaseregisteredbeforeeachpacketofdatapacket
FIRSTOnlylinktotheserversendsaregisteredpacketforthefirsttime
Notice:ifdisabletheregister,justsetAT+REGENA1=OFF\r.
56
56
56
56/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
49)AT+REGID1
Function:SetthequeryregistrationpacketID
Format:
Query
AT+ REGID
AT+REGID
AT+REGID
AT+REGID1
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<NUM><CR><LF>
1
<CR >
1
<CR>
1<CR>
<CR>
NUM ><CR><LF>
NUM><CR><LF>
NUM><CR><LF>
Set
AT+REGID
AT+REGID
AT+REGID
AT+REGID1
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
1
=<N UM
1
=<NUM
1=<NUM
=<NUM><CR>
><C R>
><CR>
><CR>
Parameters:
NUM:0-65535DecimalFormat,whenselectingregistrationpacketID,itis
mainlyusedfortheD2Dsoftwareofourcompany.
50)AT+REGUSR1
Function:Setthecustomerdefinedregistration.
Format:
Query
AT+REG
AT+REG
AT+REG
AT+REGUSR1
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<data
USR 1
USR1
USR1<CR>
<CR >
<CR>
<CR>
dat a
><C R><LF>
data
><CR><LF>
data><CR><LF>
><CR><LF>
Set
AT+REG
AT+REG
AT+REG
AT+REGUSR1
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
USR 1
USR1
USR1=<
=<
dat a
=<
data
= <data
data><CR>
><C R>
><CR>
><CR>
Parameters:
data:1-32ASCIICode.
51)AT+TRENC1
Function:Set/querythestatusofencriptintransmode.
Format:
Query
AT+TRENC
AT+TRENC
AT+TRENC
AT+TRENC1
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<state,data><CR><LF>
1
<CR >
1
<CR>
1<CR>
<CR>
sta te,data><CR><LF>
state,data><CR><LF>
state,data><CR><LF>
Set
AT+TRENC
AT+TRENC
AT+TRENC
AT+TRENC1
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
1
=<
sta te,data
1
=<
state,data
1=<
= <state,data
state,data><CR>
><C R>
><CR>
><CR>
Parameters:
state:ON/OFF .
data:encriptkeyofPC1,32ASCIIcodes(0-9,a-f,A-F)changeto16bytes(Hex)
suchas:1234567890abcdef1234567890abcdef,the16byteskeyis 0x12,0x34...0xef,16bytes
52)AT+HTPTP1
Function:Set/Querythemodeofhttpdclient.
Format:
Query
AT+
HTP TP1
AT+
HTPTP1
AT+
AT+HTPTP1
HTPTP1<CR>
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<data
<CR >
<CR>
<CR>
dat a
><C R><LF>
data
><CR><LF>
data><CR><LF>
><CR><LF>
Set
AT+
HTP TP1
AT+
HTPTP1
AT+
AT+HTPTP1
HTPTP1=<
=<
dat a
=<
data
= <data
data><CR>
><C R>
><CR>
><CR>
57
57
57
57/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
data:GET/POST.
53)AT+HTPSV1
Function:Set/Querythehttpdclient.serveraddressandport
Format:
Query
AT+HTPSV
AT+HTPSV
AT+HTPSV
AT+HTPSV1
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<address,port><CR><LF>
1
<CR >
1
<CR>
1<CR>
<CR>
add ress,port><CR><LF>
address,port><CR><LF>
address,port><CR><LF>
Set
AT+HTPSV
AT+HTPSV
AT+HTPSV
AT+HTPSV1
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
1
=<
add ress,port
1
=<
address,port
1=<
= <address,port
address,port><CR>
><C R>
><CR>
><CR>
Parameters:
address:Theserveraddress.port:theserverport,1-65535
54)AT+HTPHEAD1
Function:Set/Querythehttpdclient.
Format:
Query
AT+HTP
AT+HTP
AT+HTP
AT+HTPHEAD1
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<address,port><CR><LF>
HEA D1
HEAD1
HEAD1<CR>
<CR >
<CR>
<CR>
add ress,port><CR><LF>
address,port><CR><LF>
address,port><CR><LF>
Set
AT+HTP
AT+HTP
AT+HTP
AT+HTPHEAD1
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
HEA D1
HEAD1
HEAD1=<
=<
add ress,port
=<
address,port
= <address,port
address,port><CR>
><C R>
><CR>
><CR>
Parameters:
address:Theserveraddress.
port:theserverport,1-65535
55)HTPURL1
Function:Set/Querythehttpdclientposturl.
Format:
Query
AT+HTPURL
AT+HTPURL
AT+HTPURL
AT+HTPURL1
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<data><CR><LF>
1
<CR >
1
<CR>
1<CR>
<CR>
dat a><CR><LF>
data><CR><LF>
data><CR><LF>
Set
AT+HTPURL
AT+HTPURL
AT+HTPURL
AT+HTPURL1
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
1
=<
1
=<
1=<
= <data
dat a
><C R>
data
><CR>
data><CR>
><CR>
Parameters:
data:Theheaddefinedbycustomer,themaxlengthis200bytes
The<<CRLF>>replace“/r/n”.
likeAccept:image/gif<<CRLF>>Content-Type:text/html<<CRLF>>
56)HTPCHD1
Function:Set/Querythestateofcuttingheadofreturndata.
Format:
Query
AT+HTP
AT+HTP
AT+HTP
AT+HTPCHD1
CHD 1
CHD1
CHD1<CR>
<CR >
<CR>
<CR>
58
58
58
58/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<state
sta te
><C R><LF>
state
><CR><LF>
state><CR><LF>
><CR><LF>
Set
AT+HTP
AT+HTP
AT+HTP
AT+HTPCHD1
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
CHD 1
CHD1
CHD1=<
=<
sta te
=<
state
= <state
state><CR>
><C R>
><CR>
><CR>
Parameters:
state:
ON:deletetheheadofreturndatafromserver.OFF:don’tdeletetheheadofreturndatafromserver.
57)AT+SSLSECM
Function:Set/QuerySSLClientencripttype.
Format:
Query
AT+
SSL SECM
AT+
SSLSECM
AT+
AT+SSLSECM
SSLSECM<CR>
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<state
<CR >
<CR>
<CR>
sta te
state
state><CR><LF>
><C R><LF>
><CR><LF>
><CR><LF>
Set
AT+
SSL SECM
AT+
SSLSECM
AT+
AT+SSLSECM
SSLSECM=<
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
=<
sta te
=<
state
= <state
state><CR>
><C R>
><CR>
><CR>
Parameters:
state:
SSLV3
TLSV1
TLSV1_1
TLSV1_2SSL_TLSSSLv3_TLSV1_2
DLSV
58)AT+SSLMASK
Function:Set/QuerySSLClientencriptmethod.
Format:
Query
AT+SSLMASK<CR>
AT+SSLMASK<CR>
AT+SSLMASK<CR>
AT+SSLMASK<CR>
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<state><CR><LF>
sta te><CR><LF>
state><CR><LF>
state><CR><LF>
Set
AT+
SSL MASK
AT+
SSLMASK
AT+
AT+SSLMASK
SSLMASK=<
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
=<
sta te
=<
state
= <state
state><CR>
><C R>
><CR>
><CR>
Parameters:
state:
SSL _SHA
SSL_SHA
SSL_SHA
SSL_SHA SSL_RSA_WITH_RC4_128_SHA
SSL_MD5
SSL_MD5
SSL_MD5
SSL_MD5 SSL_RSA_WITH_RC4_128_MD5
TLS
TLS
TLS
TLS TLS_RSA_WITH_AES_256_CBC_SHA
TLS_DHE
TLS_DHE
TLS_DHE
TLS_DHE TLS_DHE_RSA_WITH_AES_256_CBC_SHA
TLS_256
TLS_256
TLS_256
TLS_256 TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
TLS_128
TLS_128
TLS_128
TLS_128 TLS_ECDHE_RSA_WITH_RC4_128_SHA
DEFAULT
DEFAULT
DEFAULT
DEFAULT SECURE_DEFAULT
59)AT+SSLCA
Function:Set/QuerythenameofSSLcertification.
59
59
59
59/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
Format:
Query
AT+
SSL CA
A T+
SSLCA
AT+
AT+SSLCA
SSLCA<CR>
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<data
<CR >
<CR>
<CR>
dat a
><C R><LF>
data
><CR><LF>
data><CR><LF>
><CR><LF>
Set
AT+
SSL CA
AT+
SSLCA
AT+
AT+SSLCA
SSLCA=<
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
=<
dat a
=<
data
= <data
data><CR>
><C R>
><CR>
><CR>
Parameters:
data:thenameofSSLcertification,maxlengthis32bytes.
60)AT+SSLIPP
Function:Set/QuerytheserverofSSLclient.
Format:
Query
AT+
SSL IPP
AT+
SSLIPP
AT+
AT+SSLIPP
SSLIPP<CR>
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<address,port
<CR >
<CR>
<CR>
add ress,port
address,port
address,port><CR><LF>
Set
AT+
SSL IPP
AT+
SSLIPP
AT+
AT+SSLIPP
SSLIPP=<
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
=<
add ress,port
=<
address,port
= <address,port
address,port><CR>
Parameters:
address:theserveraddress.Port:theserverport
><C R><LF>
><CR><LF>
><CR><LF>
><C R>
><CR>
><CR>
60
60
60
60/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
FCC
FCC
FCC
FCCSTATEMENT
ThisdevicecomplieswithPart15oftheFCCRules.Operationissubjecttothefollowingtwoconditions:
(1)Thisdevicemaynotcauseharmfulinterference,and
(2)Thisdevicemustacceptanyinterferencereceived,includinginterferencethatmaycauseundesired
operation.
Warning:
Warning:
Warning:
Warning:Changesormodificationsnotexpresslyapprovedbythepartyresponsibleforcompliancecould
voidtheuser'sauthoritytooperatetheequipment.
NOTE:ThisequipmenthasbeentestedandfoundtocomplywiththelimitsforaClassBdigitaldevice,
pursuanttoPart15oftheFCCRules.Theselimitsaredesignedtoprovidereasonableprotectionagainst
harmfulinterferenceinaresidentialinstallation.Thisequipmentgeneratesusesandcanradiateradio
frequencyenergyand,ifnotinstalledandusedinaccordancewiththeinstructions,maycauseharmful
interferencetoradiocommunications.However,thereisnoguaranteethatinterferencewillnotoccurina
particularinstallation.Ifthisequipmentdoescauseharmfulinterferencetoradioortelevisionreception,which
canbedeterminedbyturningtheequipmentoffandon,theuserisencouragedtotrytocorrectthe
interferencebyoneormoreofthefollowingmeasures:
nReorientorrelocatethereceivingantenna.
nIncreasetheseparationbetweentheequipmentandreceiver.
nConnecttheequipmentintoanoutletonacircuitdifferentfromthattowhichthereceiverisconnected.
nConsultthedealeroranexperiencedradio/TVtechnicianforhelp.
STA TEMENT
STATEMENT
STATEMENT:
:
:
:
FCC
FCC
FCC
FCCRadiation
ThisequipmentcomplieswithFCCradiationexposurelimitssetforthforanuncontrolledenvironment.This
equipmentshouldbeinstalledandoperatedwithminimumdistance20cmbetweentheradiator&yourbody.
Radi ation
Radiation
RadiationExposure
Expo sure
Exposure
ExposureStatement:
Statemen t:
Statement:
Statement:
61
61
61
61/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
AppendixA:ContactInformation
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
Company:JinanUSRIOTTechnologyLimited Address:1-728,HuizhanGuojiCheng,GaoxinQu,Jinan,Shandong,China Web:http://www.usr.so Email:sales@usr.cn,order@usr.cn
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
AppendixB:Disclaimer
ThisdocumentprovidesinformationaboutUSR-C322modules,thisdocumentdoesnot grantanylicensetointellectualpropertyrights.Excepttheresponsibilitydeclaredinthe productsaleclause,USRdoesnotassumeanyotherresponsibilities.Inaddition,USR doesnotmakeanywarrantiesforthesaleanduseofthisproduct,includingthesuitabilityof theproductforaparticularpurpose,merchantabilityorfitnessforanypatent,copyrightor otherintellectualpropertyinfringement,etc.USRmaymakechangestospecificationsand productdescriptionswithoutnotice.
AppendixC:UpdateHistory
V1.009-15-2014.FirstVersion V1.110-13-2014.Addwebpagesettingparameter
domain
V1.202-09-2015.Addlowpowermode,add domain V1.303-05-2015.Addsimplelinkfastsetting V1.403-23-2015Addlimitationofsome
Add485function
AddRXD,TXDpull-upinschematicdiagram
V1.503-31-2015AddUDPbroadcast
Addthelimitoflengthwhenenterwebauthentication
Improvethelosingdataproblemwhentransmissingdata
V2.219-05-2015Adduart1andtwosockets,addhttpdclientfunction,websocketfunction,SSLClient
function
domain
domain name
AT
commandparameter
<END>
<END>
<END>
<END>
name
resolution
name
resolution
name resolution
resolution (DNS)
(DNS)
(DNS)
(DNS)
62
62
62
62/62
62
62
6 2
FCC INFORMATION (additional) OEM INTEGRATION INSTRUCTIONS:
This device is intended only for OEM integrators under the following conditio
ns:
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: 2ACZO-USRC322”.
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.
Antenna Specification: Type: PCB Antenna Model: USR-C322 Brand: USR IOT Gain: 0.5dBi
Loading...