Jinan USR IOT Technology USRC322 Serial to WIFI Module User Manual

Jinan USR IOT Technology Limited Serial to WIFI Module

User manual

USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
1111
/
6262 62 62
USR-C322 USR-C322 USR-C322 USR-C322
----Low Low Low LowPower Power Power PowerMinisize Minisize Minisize MinisizeWiFi WiFi WiFi WiFiModule Module Module ModuleUser User User UserManual Manual Manual Manual
VVVV2. 2. 2. 2.1 111
SupportWi-Fi@2.4GHz802.11b/g/nwirelessstandards
BasedonARMCortex-M4kernelrunningfrequencyof80MHZ
SupportWEPWPA/WPA2securitymode
SupportAP/STAworkingmode
SupportSimplelink/usrlinkNetworkingconfiguration
Supportcustomwebfunction
FullyintegratedserialportturnwirelessTCP/UDPtransmissionfunction,therateofserial
portupto3Mbps
Supports485transcontrol
Supporttwouartandthreesocketcommunication
SupportPC116bytesencryptionwhenworkintransmode
SupporttheHTTPDClientfunction
Supportwebsocketfunction
SupportSSLClientfunction
Searchinlocalareanetwork(LAN)andwirelessparameterssettingfunction
SupportTCP/UDPClientregisteredpacketmechanism
SupportsimilarRFC2217automaticbaudrateadaptationfunction
SupportAT+simpleinstructionsetconfiguration
Single3.3Vpowersupply
Ultralowpowermode,supportdeepdormancy
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
2
2
2
2/62
62
62
6 2
Minisize:18.22mm*26.65mm*2.8mmSMT
FCC/CECertificated
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
3
3
3
3/62
62
62
6 2
Catalogue
Catalogue
Catalogue
Catalogue
1
1
1
1
Module
Module
Module
ModuleOverview
Ove rview
Overview
Overview.....................................................................................................................................................4
1.1
1.1
1.1
1.1Module
Mod ule
Module
ModuleOverview
Ove rview
Overview
Overview................................................................................................................................................4
1.2
1.2
1.2
1.2Characteristics
Cha racteristics
Characteristics
Characteristicsof
of
of
o fModule
Mod ule
Module
Module..................................................................................................................................4
1.3
1.3
1.3
1.3functional
fun ctional
functional
functionalblock
blo ck
block
blockdiagram
dia gram
diagram
diagram...................................................................................................................................6
1.4
1.4
1.4
1.4Product
Pro duct
Product
ProductFeature
Fea ture
Feature
Feature...................................................................................................................................................7
1.5
1.5
1.5
1.5Application
App lication
Application
ApplicationArea
Are a
Area
Area..................................................................................................................................................7
2
2
2
2
Hardware
Hardware
Hardware
HardwareDescription
Des cription
Description
Description.............................................................................................................................................9
2.1
2.1
2.1
2.1Pin
Pin
P in
PinDefinitions
Def initions
Definitions
Definitions.....................................................................................................................................................9
2.2
2.2
2.2
2.2Antenna
Ante nna
Antenna
AntennaShows
Sho ws
Shows
Shows..................................................................................................................................................10
2.3
2.3
2.3
2.3Size
Siz e
Size
Sizeand
and
a nd
andLayout
Lay out
Layout
LayoutRecommendations
Rec ommendations
Recommendations
Recommendations.................................................................................................................11
2.4
2.4
2.4
2.4The
The
Th e
TheHardware
Har dware
Hardware
HardwareCircuit
Cir cuit
Circuit
CircuitDesign
Des ign
Design
DesignReference
Refe rence
Reference
Reference........................................................................................................12
3
3
3
3
Product
Product
Product
ProductFunction
Fun ction
Function
Function...................................................................................................................................................14
3.1
3.1
3.1
3.1Wireless
Wir eless
Wireless
WirelessNetwork
Netw ork
Network
NetworkMode
Mod e
Mode
Mode...................................................................................................................................14
3.2
3.2
3.2
3.2Work
Wor k
Work
WorkMode
Mod e
Mode
Mode........................................................................................................................................................15
3.3
3.3
3.3
3.3Socket
Soc ket
Socket
SocketCommunication
Com munication
Communication
Communication.....................................................................................................................................17
3.4
3.4
3.4
3.4Custom
Cus tom
Custom
Customweb
web
w eb
webfunction
fun ction
function
function........................................................................................................................................22
3.5
3.5
3.5
3.5Search
Sea rch
Search
Searchin
in
in
i nlocal
loc al
local
localarea
are a
area
areanetwork
netw ork
network
network............................................................................................................................22
3.5
3.5
3.5
3.5TCP/UDP
TCP /UDP
TCP/UDP
TCP/UDPClient
Cli ent
Client
ClientRegistration
Reg istration
Registration
RegistrationPacket
Pac ket
Packet
PacketMechanism
Mec hanism
Mechanism
Mechanism.........................................................................................23
3.7
3.7
3.7
3.7Fast
Fas t
Fast
FastAccess
Acc ess
Access
AccessWi-Fi(usrlink)
Wi-F i(usrlink)
Wi-Fi(usrlink)
Wi-Fi(usrlink)...............................................................................................................................24
3.8
3.8
3.8
3.8Simplelink
Sim plelink
Simplelink
SimplelinkConfiguration
Con figuration
Configuration
Configuration.................................................................................................................................26
3.9
3.9
3.9
3.9RFC2217
RFC 2217
RFC2217
RFC2217Automatic
Auto matic
Automatic
AutomaticBaud
Bau d
Baud
BaudRate
Rate
R ate
RateFunction
Fun ction
Function
Function......................................................................................................27
3.10
3.10
3.10
3.10Sleep
Sle ep
Sleep
SleepMode
Mod e
Mode
ModeIntroduction
Intr oduction
Introduction
Introduction................................................................................................................................28
4
4
4
4
Parameter
Parameter
Parameter
ParameterSetting
Sett ing
Setting
Setting..................................................................................................................................................30
4.1
4.1
4.1
4.1Web
Web
W eb
WebPage
Pag e
Page
PageConfiguration
Con figuration
Configuration
Configuration..................................................................................................................................30
4.2
4.2
4.2
4.2AT+
AT+
AT+
A T+Commands
Com mands
Commands
CommandsConfiguration
Con figuration
Configuration
Configuration........................................................................................................................39
Appendix
Appendix
Appendix
AppendixA:
A:
A:
A :Contact
Con tact
Contact
ContactInformation
Inf ormation
Information
Information...........................................................................................................................61
Appendix
Appendix
Appendix
AppendixB:
B:
B:
B:Disclaimer
D is claimer
Disclaimer
Disclaimer.................................................................................................................................................61
Appendix
Appendix
Appendix
AppendixC:
C:
C:
C :Update
Upd ate
Update
UpdateHistory
His tory
History
History.........................................................................................................................................61
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
4444/6262 62 62
1111Module Module Module ModuleOverview Overview Overview Overview
1.1 1.1 1.1 1.1Module Module Module ModuleOverview Overview Overview Overview
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
TCP
ClientUDPServerUDPClient.
ModulesupportsUARTtranslate,canuseATcommandstoarbitraryswitching.
1.2 1.2 1.2 1.2Characteristics Characteristics Characteristics Characteristicsof of of ofModule Module Module Module
SupportWi-Fi@2.4GHz802.11b/g/nwirelessstandards
BasedonARMCortex-M4kernelrunningfrequencyof80MHZ
SupportWEPWPA/WPA2securitymode
SupportAP/STAworkingmode
SupportSimplelink/usrlinkNetworkingconfiguration
Supportcustomwebfunction
FullyintegratedserialportturnwirelessTCP/UDPtransmissionfunction,therateofserial
portupto3Mbps
Supports485transcontrol
Supporttwouartandthreesocketcommunication
SupportPC116bytesencryptionwhenworkintransmode
SupporttheHTTPDClientfunction
Supportwebsocketfunction
SupportSSLClientfunction
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
5555/6262 62 62
Searchinlocalareanetwork(LAN)andwirelessparameterssettingfunction
SupportTCP/UDPClientregisteredpacketmechanism
SupportsimilarRFC2217automaticbaudrateadaptationfunction
SupportAT+simpleinstructionsetconfiguration
Single3.3Vpowersupply
Ultralowpowermode,supportdeepdormancy
Minisize:18.22mm*26.65mm*2.8mmSMT
FCC/CECertificated
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
6
6
6
6/62
62
62
6 2
1.3
1.3
1.3
1.3functional
fun ctional
functional
functionalblock
blo ck
block
blockdiagram
diag ram
diagram
diagram
UART
1
SOCKA
TCP
/
UDP
Trans
Httpd Client
GET
/
POST
WEB Socket
TCP Server
TCP Client
UDP Server
UDP Client
PC
1
Encrypt
/
decrypt
SOCKB
TCP
/
UDP
Trans
TCP Client
UDP Server
UDP Client
SOCKA
1
TCP
/
UDP
Trans
Httpd Client
GET
/
POST
SSL Client
PC
1
Encrypt
/
decrypt
TCP Client
UDP Server
UDP Client
WIFI
UART
AT
Command
Trans Mode
UART
0
Net
AT
Command
1.4
1.4
1.4
1.4Product
Pro duct
Product
ProductFeature
Featur e
Feature
Feature
Moduleparameters
classify parameter value
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
7777/6262 62 62
WirelessPara
meter
CertificationFCC/CE
WlanStandard802.11b/g/n
TransmitPower
17.0dBm@1DSSS
17.25dBm@11CCK
13.5dBm@54OFDM
Receive
Sensitivity
–94.7dBm@1DSSS
–87.0dBm@11DSSS
–73.0dBm@54OFDM
Antenna
Internal:On-boardantenna
Hardware
DataInterfaceUART300-3Mbps
WorkingVoltage3.0V~3.6V
WorkingCurrent
voltage3.3V
Continuetosend:~75mA
normalmode:average:~18mAtop:200mA
Intheweb:3.5mA
Standby:lowest25uA
Working
Temperature
-40-85
Storage
Temperature
-45-125
Size18.22mm*26.65mm*2.8mm
FootprintSMT
Software
Wireless
NetworkType
AP/STA
SecurityRegimeWEP/WPA-PSK/WPA2-PSK
EncryptionTypeTKIP,AES,TKIP/AES
Networking
Protocol
IPv4,TCP/UDP
User
Configuration
AT+instructionset
Web
1. 1. 1. 1.5 555Application Application Application ApplicationArea Area Area Area
CloudConnected
HomeAutomation
HouseholdAppliances
AccessControl
SecurityandProtectionSystem
SmartEnergy
IndustrialControl
IntelligentElectricalOutletBox/InstrumentMeasurement
IPNetworkSensorNodes
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
8
8
8
8/62
62
62
6 2
WirelessPrinter
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
9
9
9
9/62
62
62
6 2
2
2
2
2
Hardware
Hard ware
Hardware
HardwareDescription
Descrip tion
Description
Description
2.1
2.1
2.1
2.1Pin
Pin
Pi n
PinDefinitions
Defin itions
Definitions
Definitions
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
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
1010 10 10/62 62 62 62
15GPIOGeneralGPIO
16NCNC
17GNDGND
18GPIOGeneralGPIO
19UARTTXUARTTXformodule
20UARTRXUARTRXformodule
21nReload
Modulefactorydefaultpin,lowleveleffectivelysimplelink
start
22nReady
Workinstructionspinofmodule,loweffective,connectan
externalLED
23nLink
WiFilinkpinofmodule,loweffective,connectanexternal
LED
24UARTCTSAserialportflowcontrolpinCTS
25UARTRTSAserialportflowcontrolpinRTS
26GPIOGeneralGPIO
27GPIOGeneralGPIO
28GNDGND
29GNDGND
30UART1TXUARTTXformodule
31UART1RXUARTRXformodule
32GPIOGeneralGPIO
33GPIOGeneralGPIO
34GPIOGeneralGPIO
35GPIOGeneralGPIO
36GPIOGeneralGPIO
37GPIOGeneralGPIO
38GPIOGeneralGPIO
39NCNC
40NCNC
41GPIOGeneralGPIO
42NCNC
43NCNC
44GNDGND
2.2 2.2 2.2 2.2Antenna Antenna Antenna AntennaShows Shows Shows Shows
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
1111 11 11/62 62 62 62
InternalAntenna
2.3 2.3 2.3 2.3Size Size Size Sizeand and and andLayout Layout Layout LayoutRecommendations Recommendations Recommendations Recommendations
SuggestPCBsize:youcandownloadthePCBfootprintfromourhomepage.
Clothplatespecification:
1)InternalAntenna
Customerstousetheinternalantenna,theneedtoabidebythefollowing
considerationsandinternalantennamoduleplacedgeneralrules:
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
1212 12 12/62 62 62 62
Ontheuser'sPCB,andgreyshadedareaabovethecorrespondingareacannotbe
placedcomponentsandGND.
Antennasawayfromthemetal,atleastdistancewithhighcomponentsaround
morethan10mm;
Antennapartcannotbemetalshell,plasticshellneedatleastmorethan10mm
awayfromtheantenna;
Itissuggestedthatmoduleisplacedinthefollowingareasoftheuser'sboardasfar
aspossible,toreducetheinfluenceoftheantennaandwirelesssignal,andatthesame
time,pleaseconsultsomeonetechnicalsupportstafftoassisttheplacementof
modulesandrelatedareasoftheLayoutdesign.
2.4 2.4 2.4 2.4The The The TheHardware Hardware Hardware HardwareCircuit Circuit Circuit CircuitDesign Design Design DesignReference Reference Reference Reference
Thehardwaredesignconsiderations:
Needtoaddmorethan200ufcapacitancemodulepowersupplypin.
SOP0SOP1SOP2noconnect.
ResetReloadneedtopickuponthe4.7Kresistor.
nLink,nReadyEffectiveforlowleveloutput.
SerialportRXD,TXDneedtopickuponthe10Kresistor.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
13
13
13
13/62
62
62
6 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
14
14
14
14/62
62
62
6 2
3
3
3
3
Product
Pro duct
Product
ProductFunction
Fun ction
Function
Function
3.1
3.1
3.1
3.1Wireless
Wir eless
Wireless
WirelessNetwork
Netwo rk
Network
NetworkMode
Mod e
Mode
Mode
TherearetwokindsofwirelessmoduleWIFIworkingmode:the
STA
and
AP,
can
provideuserswithflexiblenetworkmodeandthenetworktopologymethod.
<Nounsthat>
AP:Thewirelessaccesspoint,isthecenterofawirelessnetworknode.Commonly
usedwirelessrouterisan
AP,
otherwirelessterminalcanbeinterconnectedbyAP
STA:wirelesssite,isawirelessnetworkterminal.Suchasnotebookcomputer,PDA,
etc.
3.
3.
3.
3.1
1
1
1.1
.1
.1
. 1Module
Mod ule
Module
ModuleAs
As
As
A sa
a
a
aSTA
STA
S TA
STA
Moduleasthe
STA
isoneofthemostcommonlyusednetworkmode,andiscomposed
ofarouterAPandmanySTA,thefollowingfigure.ItscharacteristicisAPinacentral
position,communicationbetweenthe
STA
forwardby
AP.
3.1.2
3.1.2
3.1.2
3.1.2Module
Mod ule
Module
ModuleAs
As
As
A sa
a
a
aAP
AP
AP
A P
ModulesasAPmode,canachievephone/PAD/computerwithoutanyconfiguration,fast
accessmodulefordatatransmission.Inaddition,youcanloginmoduleinternalwebpage
tosetparameters
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
15
15
15
15/62
62
62
6 2
<
<
<
<note
not e
note
note>
>
>
>:moduleinAPmode,cansupportonly1
STA
accessdevices.
3.
3.
3.
3.1
1
1
1.3
.3
.3
. 3Encryption
Enc ryption
Encryption
EncryptionType
Typ e
Type
Type
Encryptionisscramblingtomessagedata,ensurethesecurityofdatatransmission,
increasethesecurityofcommunication.Supportmultiplewirelessnetworkencryption
methods,including:
WEP
WPA-PSK/TKIP
WPA-PSK/AES
WPA2-PSK/TKIP
WPA2-PSK/AES
3.2
3.2
3.2
3.2Work
Wor k
Work
WorkMode
Mod e
Mode
Mode
Moduleconsistsoftwoworkmodes:Sockettransmodeandcommandmode
Socket
Socket
Socket
SocketTran
Tra n
Tran
TranMode
Mod e
Mode
Mode
Inthismode,themodulerealizestheUARTandtransparenttransmissionbetween
network,realizecommonserialdatatransferbetweendevicesandnetworkequipment.
Command
Command
Command
CommandMode
Mod e
Mode
Mode
Inthismode,theusercanthroughtheATcommandtoUARTmoduleandquery
andnetworkparametersSettings.WhenusingtheAT+ENTMexitcommandmode,
thedefaultbacktotranslatemode.
3.
3.
3.
3.2
2
2
2.1
.1
.1
. 1Socket
Soc ket
Socket
SocketTrans
Tra ns
Trans
TransMode
Mod e
Mode
Mode
1.
1.
1.
1.Socket
Soc ket
Socket
SocketTrans
Tra ns
Trans
TransMode
Mod e
Mode
ModeD
D
D
Description
esc ription
escription
escription
USR-C322cansupportserialmodes,include:TCP/UDPTrans,HttpdClient,SSL
Client,WEBSocket.
1.1
1.1
1.1
1.1TCP/UDP
TCP /UDP
TCP/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
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
16
16
16
16/62
62
62
6 2
secretkey
TCP/UDPparameter
protel
connectiontype
destinationport
destinationaddress
UARTparameter
Baudrate
databits
stopbit
paritybit
Hardwareflowcontrol
Note:
Note:
Note:
Note:About
Abo ut
About
AboutPC1
PC1
P C1
PC1encryption
enc ryption
encryption
encryptionmethod
meth od
method
method,
,
,
,please
ple ase
please
pleaserefer
refe r
refer
referto
to
to
tothe
the
th e
thewebsite
web site
website
websiteinformation
inf ormation
information
information"USR-C322
"US R-C322
"USR-C322
"USR-C322PC1
PC1
P C1
PC1Encrypt
Enc rypt
Encrypt
Encrypt
in
in
in
inTrans
Tra ns
Trans
TransMode
Mod e
Mode
ModeUser
Use r
User
UserManual
Man ual
Manual
ManualV1.0".
V1. 0".
V1.0".
V1.0".
1.2
1.2
1.2
1.2Httpd
Htt pd
Httpd
HttpdClient
Cli ent
Client
Clientmode
mod e
mode
mode
HttpdClientmodeispackagedserialdatapacketsintotheHTTPprotocolpacketsand
senttotheserver,theserverreturneddataviaaserialportprinted.SupportPOST,GET
mode,UART0,UART1supportthismode.
1.3
1.3
1.3
1.3SSL
SSL
S SL
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
Abo ut
About
AboutSSL
SSL
S SL
SSLClient
Cli ent
Client
Client,
,
,
,please
ple ase
please
pleaserefer
ref er
refer
referto
to
to
t othe
the
t he
thewebsite
web site
website
websiteinformation
inf ormation
information
information"USR-C322
"US R-C322
"USR-C322
"USR-C322SSL
SSL
S SL
SSL
Client
Client
Client
ClientUser
Use r
User
UserManual
Man ual
Manual
ManualV1.0".
V1. 0".
V1.0".
V1.0".
1.4
1.4
1.4
1.4WEB
WEB
W EB
WEBsocket
soc ket
socket
socketmode
mod e
mode
mode
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
17
17
17
17/62
62
62
6 2
Supportwebpagewebsocketpassthroughmoduleasthewebserver,port8000,
maximumfourclientconnection.Canloginmodulebuilt-intestpage.OnlyUART0support
thispattern.
Note:
Note:
Note:
Note:About
Abo ut
About
AboutWEB
WEB
W EB
WEBSocket
Soc ket
Socket
Socketfunction
fun ction
function
function,
,
,
,please
ple ase
please
pleaserefer
ref er
refer
referto
to
to
t othe
the
t he
thewebsite
web site
website
websiteinformation
inf ormation
information
information
"USR-C322
"USR-C322
"USR-C322
"USR-C322WEB
WEB
W EB
WEBSocket
Soc ket
Socket
SocketUser
Use r
User
UserManual
Man ual
Manual
ManualV1.0".
V1. 0".
V1.0".
V1.0".
2.
2.
2.
2.UART
UAR T
UART
UARTFrame
Fra me
Frame
FrameScheme
Sch eme
Scheme
Scheme
ModuleinthereceivingUARTdata,willcontinuetocheckthetimeintervaloftwo
adjacentbytes.Ifthetimeintervalisgreaterthanthesetpackingtime(default5ms,canbe
setupbythe
AT
+UARTTE),arguesthattheendofaframe,orhasbeenreceivingdata,in
commandmodeisgreaterthan1kbytesarediscardedthereceiveddata,intranslatemode
isgreaterthan1kbytesaresentpacking.
3.
3.
3.
3.2
2
2
2.2
.2
.2
. 2Command
Com mand
Command
CommandMode
Mod e
Mode
Mode
Incommandmode,themodulewillnolongerworktotranslate,UARTport
AT
thistime
forreceivingthe
AT
command,theusercanthroughUARTporttosend
AT
commandsto
module,UARTforqueryingandsettingmodule,networkandotherrelatedparameters.As
longasthereisaUARTportintothe
AT
commandmode,theotherUARTportalsoisinthe
AT
commandmode.
3.3
3.3
3.3
3.3Socket
Socket
So cket
SocketCommunication
Commu nication
Communication
Communication
3.3.1
3.3.1
3.3.1
3.3.1UART0
UAR T0
UART0
UART0Socket
Soc ket
Socket
Socket
UART0hasthefollowmode:TCP/UDPTrans,HttpdClient,Websocketcommunication.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
18
18
18
18/62
62
62
6 2
UART
1
SOCKA
TCP
/
UDP
Trans
Httpd Client
GET
/
POST
WEB Socket
TCP Server
TCP Client
UDP Server
UDP Client
PC
1
Encrypt
/D
ecrypt
SOCKB
TCP
/
UDP
Trans
TCP Client
UDP Server
UDP Client
SOCKA
1
TCP
/
UDP
Trans
Httpd Client
GET
/
POST
SSL Client
PC
1
Encrypt
/
decrypt
TCP Client
UDP Server
UDP Client
WIFI
UART
AT
Command
Trans Mode
UART
0
Net
AT
Command
1)TCP/UDP
1)TCP/UDP
1)TCP/UDP
1)TCP/UDPTrans
Tra ns
Trans
TransMode
Mod e
Mode
Mode
InTCP/UDPTransModeUART0hastwosocket(socka,sockb)connection,thedata
writingtoUART0willbeautomaticallysenttothetwosockets.Thedatarecivedfrom
thetwosocketswillbesentouttheUARTinterface.
Sockasupport:
TCPServer
TCPClient
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
19
19
19
19/62
62
62
6 2
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
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
20
20
20
20/62
62
62
6 2
willincreasesfromuarttosocketorfromsockettouart.Inordertoreducelose
data,youshouldincreasethetimeintervalbetweensendingpackets.PC1encryption
algorithm,pleaserefertothe"USR-C322PC1encryptionintransmodeinstructions".
2)
2)
2)
2)Httpd
Htt pd
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>
“customerheadhtp_head
Host:“serveraddress”:“serverport”<CR><LF><CR><LF>
“datafromuart”
GET
GETdatafromuartHTTP/1.1<CR><LF>
Connection:close<CR><LF>
User_Agent:Mozilla/4.0<CR><LF>
“customerheadhtp_head
Host:“serveraddress”:“serverport”<CR><LF><CR><LF>
Relatedtothe
AT
commandset:
GET/POSTMode:AT+HTPTP
customerURL:AT+HTPURL
customerheadhtp_head:AT+HTPHEAD
serveraddress:serverport:AT+HTPSV
3)
3)
3)
3)WEBSocket
WEB Socket
WEBSocket
WEBSocketFunction
Fun ction
Function
Function
USR-C322supportswebsockettransfromwebpagetouart.Themoduleisasa
webserver,port8000.ThemoduleonlysupportWebsocketASCIIpassthrough.The
websocketservercansupportonlyfourclienttobeconnected.Whenafifthclient
connecttotheserver,thefirstclientwillbeshutdownfromtheserver.Website
sourcecodeisopen,theusercanmodifywebpagerealizetheirspecialneeds,
upgradethecustomwebpagepleaserefertothecustomfunctiondescription.Only
UART0supportthispattern.
3.3.2
3.3.2
3.3.2
3.3.2UART1
UAR T1
UART1
UART1Socket
Soc ket
Socket
Socket
UART1hasthefollowmode:TCP/UDPTrans,HttpdClient,SSLClientcommunication.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
21
21
21
21/62
62
62
6 2
UART
1
SOCKA
TCP
/
UDP
Trans
Httpd Client
GET
/
POST
WEB Socket
TCP Server
TCP Client
UDP Server
UDP Client
PC
1
Encrypt
/D
ecrypt
SOCKB
TCP
/
UDP
Trans
TCP Client
UDP
Server
UDP Client
SOCKA
1
TCP
/
UDP
Trans
Httpd Client
GET
/
POST
SSL Client
PC
1
Encrypt
/
decrypt
TCP Client
UDP
Server
UDP Client
WIFI
UART
AT
Command
Trans Mode
UART
0
Net
AT
Command
1)TCP/UDPTrans
InTCP/UDPtransmode,UART1hasonesocketthatcanbeTCPClientUDP
ServerUDPClient.
2)HttpdClientmode
TheusageissametoUART0.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
22
22
22
22/62
62
62
6 2
3)SSLClientmode
SSLClientmodeisanexpansionofTCP/UDPtrans.
SSLClienthasalevelofsecurityprotectionthatprovidesahighersecurity,
includingauthentication,dataencryptionandintegrityverification.
Theauthenticationisusedfortheissuanceandapplicationofadigital
certificate.
Dataencryptioncanpreventthelosscausedbylisteningtoothers,evenif
thethirdpartylistenstothenewsofthepassing,butwithouttherightkey,itstill
can'tgettherightmessage.
Integrityverificationcanpreventthemessagebeingmodifiedinthedelivery
process.
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
SSLClientsupportencryptioncertificatesetting(reference:USR-C322
wirelessupgradesoftware).OnlyUART1supportthismode.
3.4
3.4
3.4
3.4Custom
Custo m
Custom
Customweb
web
w eb
webfunction
fun ction
function
function
USR-C322supportCustomwebfunction.Usercanmodifythewebpagecontentoradd
yourownwebpage.Pleaserefertothespecificimplementationmethod"reference:USR-C322
customedwebfunction".
3.5
3.5
3.5
3.5Search
Search
Sear ch
Searchin
in
in
i nlocal
local
l ocal
localarea
area
ar ea
areanetwork
netwo rk
network
network
Modulesupportsearchingmodulewithinthelocalareanetwork(LAN),thatis,whenthe
moduleisconnectedtoawirelessrouter,theusercanthroughtoafixedportsendsUDP
broadcastway,togettheIPaddressofthemoduleofthecurrent,inordertorealizethesearch
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
23
23
23
23/62
62
62
6 2
andcommunicationsequipment.SEARCHtheportandkeywordcanbesetbythe
AT
+
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.
(IP,
MAC,MID,ver10.10.100.254,
D8B04CFC0000,USR-C322,01.01.10).Moduletoenterconfigurationmodesetifnot
receivedwithin30secondsafterthecommand,themodulewillexittheconfigurationmode,the
userneedstosendsearchcommandword,enterconfigurationmode.
3.Userscanthroughthenetworktotheporttosend
AT
commandstosetupandreadthe
moduleworkingstate,the
AT
commandformatwithaserialportthe
AT
command.
Note:searchtoolsandmodulesmustbewithinthesameLAN,ifmultiple
STA
evenona
router,runthesearchtoolsofthecomputerandevenontherouter.Thissearchtooltosearch
alloftheSTA.
3.5
3.5
3.5
3.5TCP/UDP
TCP/ UDP
TCP/UDP
TCP/UDPClient
Cli ent
Client
ClientRegistration
Regi stration
Registration
RegistrationPacket
Packet
Packet
PacketMechanism
M ech anism
Mechanism
Mechanism
WhenthemoduleworkinginTCPorUDPClientClientmode,theusercanopenregistration
packetmechanism,inordertorealizetheservertothedistinctionbetweenthedatasource,
dataofdifferentequipmentmonitoring.ThemodulesupportMAC
ID
USRregistrationpacket.
MACis6bytes.IDis0-65535,IDvaluecanbeset.USRregistrationisastringthatissetby
customer,thelengthisupto32bytesRegistrationpacketIDismainlyusedfortheD2D
softwareofthecompany..
Registeredpacketopenedandclosedby
AT
+REGENA.
Registeredpacketimplementationmechanismisasfollows:
TCPClient:TherearetwokindsofTCPClient:registrationmechanism:
1Justsendaregistrationpacket,whenthemoduleisconnectedtotheTCPServer
modulewillsendTCPServerMAC(6bytes)orID(4bytes),ServerbyMACorIDto
distinguishbetweendifferentdevices.
2Everypacketofdatahasregistrationinformation,TCPClientafterthelinktotheserver,
aserialportreceiveseachpacketofdatatoincreaseMACorID,todistinguishbetween
equipment.IDorMACchoice,canbesetbythe
AT
+REGENA.
UDPClient:eachmoduleonthesendingUDPpackets,MACorIDwillincreaseineach
packetheaderinformation,andthensend.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
24
24
24
24/62
62
62
6 2
3.
3.
3.
3.7
7
7
7Fast
Fast
Fast
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
1Signalstrengthofrouter1,0~100:0%~100%
8separator2Separatorofsignalstrength1,fixedvalue:
0x0D,0x0A
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
25
25
25
25/62
62
62
6 2
………
MSSIDnUnsizedTheSSIDofroutern
M+1separator1SeparatorofSSIDn,fixedvalue:0x00
M+2Signal
strength
1Signalstrengthofroutern,0~100:0%~100%
M+3separator2fixedvalue:0x0D,0x0A
M+4check1Sumofbytesfromhead(notcontained)byteto
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
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
26
26
26
26/62
62
62
6 2
8check1Sumofbytesfromhead(notcontained)byteto
checkbyte(notcontained).
ResponseforSetting
NoNameNumofBytesDescription
1head1fixedvalue:0xFF
2length2Sumofdatabytesfromlengthbytestocheck
byte(notcontainlengthbytesandcheckbyte).
3cmd1Commandtype,0x82
4Checkfor
SSID
1IftheSSIDsetbyPDAexist,checkvalueis0x01,
otherwiseis0x00.
5Checkfor
password
1IftheformofpasswordsetbyPDAiscorrect,check
valueis0x01,otherwiseis0x00.
6check1Sumofbytesfromhead(notcontained)byteto
checkbyte(notcontained).
Example:
DatafromphonePDAtomodule(HEX):FF000F020054455354310D0A31323334
3536CE
DatafrommoduletophonePDA(HEX):FF000382010187
Explanation:
ThephonePDAsendsettingcommandtomodule,SSIDissetto“TEST1”,passwordisset
to“123456”.Theresponsefrommoduleisthatthe“TEST1”Wi-Finetworkexist,theformof
passwordiscorrect.
3.
3.
3.
3.8
8
8
8Simplelink
Simp lelink
Simplelink
SimplelinkConfiguration
Con figuration
Configuration
Configuration
Simplelinkfunctionmainrealizationmoduleofintelligentnetwork,namelythequick
connecttothe
AP.
Modulesworkin
STA
andAPmode,lowerReloadpin0to3seconds,the
modulegetintotheSmartconfigconfiguration,atthistimeReadypinoutputhighandlow
levelof0.5Hz.Thehandhelddeviceconnectedtothemoduletoconnecttothe
AP,
open
the
APP,
enterthepassword,clickon"start".Modulewillautomaticallyrestartafter
successfullyconnecttothe
AP.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
27
27
27
27/62
62
62
6 2
Note
Note
Note
Note:whenusingthe
AT
+WSTAAPinformationquerymoduleisconnected,password
showSAFE,passwordisnotvisible.
3.
3.
3.
3.9
9
9
9RFC2217
RFC 2217
RFC2217
RFC2217Automatic
Aut omatic
Automatic
AutomaticBaud
Baud
B aud
BaudRate
Rate
Rate
R ateFunction
Fun ction
Function
Function
3.
3.
3.
3.9
9
9
9.1
.1
.1
. 1RFC2217
RFC 2217
RFC2217
RFC2217Functional
Fun ctional
Functional
FunctionalDescription
Des cription
Description
Description
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.
3.
3.
3.9
9
9
9.
.
.
.2
2
2
2RFC2217
RFC 2217
RFC2217
RFC2217Protocol
Pro tocol
Protocol
ProtocolSpecification
Spe cification
Specification
Specification
Protocollengthis8bytes,specificagreementcontentasfollows,forexamplethevalue
fortheHEXformat:
Attachment:aserialportparametersmeaningabit
BitnumExplainDatadescribe
1:0Databits005bits
016bits
107bits
118bits
2Stopbit01bit
12bits
designationHeaderBpsDatabitCheck
length(bytes)3311
explain
reduce
misjudg
ment
baudratevalue,
highintheformer
Differentbitsto
representdifferent
meanings,see
table
Sumofthe
frontfour
Example
(115200,N,8,
1)
55AA
5501C2008346
Example
(9600,N,8,1)55AA550025808328
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
28
28
28
28/62
62
62
6 2
3Enabledcheck0Disablecheck
1Enablecheck
5:4Checktype00ODD
01EVEN
10Mark
11Clear
7:6NC00Write0
3.
3.
3.
3.10
10
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.
3.
3.
3.10
10
10
1 0.1
.1
.1
. 1Mode
Mod e
Mode
ModeIntroduction
Int roduction
Introduction
Introduction
Mode
Mode
Mode
Mode0:
0:
0:
0 :Active
Act ive
Active
ActiveMode
Mod e
Mode
Mode
TheActivemode,thesystemclockis80MHZ.Modulerunningvariousperipherals.
Correspondingmode0,thatis,normalworkmode,themoduleoptimalperformance.
Mode
Mode
Mode
Mode1:
1:
1:
1 :Sleep
Sle ep
Sleep
SleepMode
Mod e
Mode
Mode
Sleepmode,thesystemclockto80MHZ.Throughaserialportornetworkpackets,
gpioportoutput,moduleafterawakeningfromenteringhibernationcontinuestorun,wake
uptheresponsetimeshorterthandeepsleepmode.Correspondingmode1.
Mode
Mode
Mode
Mode2:
2:
2:
2 :Deepsleep
Dee psleep
Deepsleep
DeepsleepMode
Mod e
Mode
Mode
Moduleintodeepsleepdormancy,reducedto40MHZsystemclock.Mightwakeupvia
aserialportornetworkpackets,gpioportoutput,moduleafterawakeningfromentering
hibernationcontinuestorun,wakeuptheresponsetimeabitlongerthanthesleepmode.
Thanthenormaloperationofthelowerpowerconsumptionabout5ma.Thecorresponding
mode2.
Mode
Mode
Mode
Mode3:
3:
3:
3 :LPDS
LPD S
LPDS
LPDSMode
Mod e
Mode
Mode
ModuleintoLPDSmode,networkpartkeeprunning,modulegpioportoutputishigh
impedancestate.Viaaserialportornetworkpacketswakeup,wakeupaftertherestart
operationmodule.Correspondingmode3.
Mode
Mode
Mode
Mode4:
4:
4:
4 :Hibernate
Hib ernate
Hibernate
HibernateMode
Mod e
Mode
Mode
Moduleintothehibernatemode,networkandMCUareenteringsleepmode,gpioport
outputhighimpedancestate,onlythroughaserialportdata.Moduleaftertherestart.Power
consumptioncanbeachievedtheuAlevel.Correspondingmode4.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
29
29
29
29/62
62
62
6 2
3.
3.
3.
3.10
10
10
1 0.2
.2
.2
. 2Power
Pow er
Power
PowerReference
Ref erence
Reference
ReferenceTable
Tab le
Table
Table
Nodatatransmissionmodule,thepowerconsumptionmodereferenceisasfollows:
Power
mode
UARTGPIOnetwork Wakeupmode STA AP
0UARTGPIOnetwork
working
none18mA74mA
1UARTGPIOnetwork
working
Uart,network13mA71mA
2UARTnetworkworkingUart,network9mA70mA
3UARTnetworkworkingUart,network3.5mA70mA
4GPIORXDworkingUart(RXD)24uA24uA
Themodetodistinguishthetable:
Powe
r
mode
StillworkingWakeupsource
Run
frequency
MCUWIFIUARTGPIOnetworkUARTGPIOnetwork
080M
180MRXD
240MRXD
332.768KhzRXD
432.768Khz
RXD RXDRXD
Thedifferencebetweenallmodules,lowpowerconsumptionmodeisasfollows:
Wakeuptheresponsetime:frommode0to4,wakeuptheresponsetime
increasesgradually.
Powerconsumption:frommode0to4,graduallyreducethepowerconsu
mption.
Example:lowpowerconsumption
1Wifimoduleonline,variousperipheralsworkisnormal,thedatatransmission
betweentheintervalofafewseconds,use"pattern1".
2Wifimoduleonline,variousperipheralsworkingfrequencydeclineordoesnot
work,youcanuse"mode2"Deepsleepmodel.
3Moduletokeeponline,canthroughtheremotewirelessequipment,occasionally
translatedata,suittouse"mode3"Lpdsmode,remoteequipmentafterwake
upthemodule,themoduletoestablishtheconnectionwiththeremotedevice,
sendingandreceivingdata.
4Whentheuserequipmentdoesnotneedtobeonlineforalongtime,only
occasionallyarouseinitiativetosenddatatotheserver,youcanuse"mode4"
Hibernatemode.Aframetoaserialporttosenddata,wakeupmodule,the
modulewillbeaccordingtosetthewifi,TCPsocketparameters,theactivelink
totheserver,translatedata,translateiscompletedaccordingtosetthetimeto
sleep.
<
<
<
<note
not e
note
note>
>
>
>:serialawakensthemodule,inLpdsmode,Hibernatemode,practicalforthe
RXDpin.Somustcontain08bitsofdata,namelytheneedtoguaranteethe
RXDpinhasalowlevel,thispacketjustwakeupmodule,datapacketloss,not
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
30
30
30
30/62
62
62
6 2
translate.
4
4
4
4
Parameter
Parameter
Parameter
ParameterSetting
Sett ing
Setting
Setting
Theparametersofthemoduleconfigurationpageconfiguration,
AT
+command
configurationintwoways,behindwilldetailtheuseoftwoways.
4.1
4.1
4.1
4.1Web
Web
W eb
WebPage
Page
Pag e
PageConfiguration
Con figuration
Configuration
Configuration
4.1.1
4.1.1
4.1.1
4.1.1The
The
T he
TheWeb
Web
W eb
WebManagement
Man agement
Management
ManagementPage
Pag e
Page
Page
Whenusingthemoduleforthefirsttime,needsomeconfigurationonthemodule.ByPC
connectionmoduleAPinterface,theusercanusethewebmanagementpageconfiguration.
Bydefault,themoduleofAPinterfaceSSID,IPaddress,usernameandpasswordareas
follows:
parameter defaultsetting
SSIDUSR-C322
IPaddress192.168.1.1
mask255.255.255.0
usernameadmin
keyadmin
4.1.2
4.1.2
4.1.2
4.1.2Open
Ope n
Open
OpenManagement
Man agement
Management
ManagementWeb
Web
W eb
WebPage
Pag e
Page
Page
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”.
1TheSystemStatusPage
Mainlyforthemoduleoperationparameters,including:MACaddress,MIDnumber,
versionandWiFilinkstate.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
31
31
31
31/62
62
62
6 2
2WiFiParameterSetting:
1WifiModeSelect:
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
IP,
DHCPcanban,throughinputthe
IP,
subnetmask,gateway,
andobtainastatic
IP,
restarttotakeeffect.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
32
32
32
32/62
62
62
6 2
Note:
Note:
Note:
Note:whenthenetworknameandpassworddoesnotsupportthedoublequotes,
comma,and,or,greaterthan,lessthanandotherspecialcharacters.
3UART0Setting:
1UARTparametersset
Peripheralsparameterssetmainlysetserialport,serialportbaudratecanbesetto
300-3000000,databitscanset5-8bits,paritybitcanbesettonocheck,oddparity,
parity,stopbitscanbesetto1to2,aserialportflowcontrolcanbesetto
enabled.Serialportcanopen485features,pin25serialflowcontrolRTSpinisthe
controlpinof485,upthepintosenddata,lowthepintoreceivedata.Effectingafter
restart.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
33
33
33
33/62
62
62
6 2
2Socketsetwithuart0
Thesocketsetaboutuart0includes:SocketMode
(Trans,Httpdclient,WEBSocket).Inthedifferentmode,therewillbedifferentset.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
34
34
34
34/62
62
62
6 2
4UART1Setting:
1UART1parametersset
Peripheralsparameterssetmainlysetserialport,serialportbaudratecanbesetto
300-3000000,databitscanset5-8bits,paritybitcanbesettonocheck,oddparity,
parity,stopbitscanbesetto1to2.Thereisnotflowcontroland485function.Effecting
afterrestart.
2Socketsetwithuart1
Thesocketsetaboutuart1includes:SocketMode(Trans,Httpdclient,SSL
Socket,OFF).Inthedifferentmode,therewillbedifferentset.SelectingOFFisclosethe
socketfunctionwithuart1.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
35
35
35
35/62
62
62
6 2
5ExtraFunction
Inextrafunctionpage,youcansetsearchparametersinlannandmodulemid.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
36
36
36
36/62
62
62
6 2
6AccountSet:
Accountmanagementcansettheusernameandpasswordloginpage,thelength
mustbe5bytes,clicksaveSettings,restarttotakeeffect.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
37
37
37
37/62
62
62
6 2
7ReloadRestar:
Thispageincludesthemoduletothefactorystateandrestartthemodulefunction.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
38
38
38
38/62
62
62
6 2
8AboutUSR:
ThispageisasimpleintroductionofJinanUSRIOTTechnologyLimited.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
39
39
39
39/62
62
62
6 2
4.2
4.2
4.2
4.2AT+
AT+
A T+
AT+Commands
Comman ds
Commands
CommandsConfiguration
Con figuration
Configuration
Configuration
AT+InstructionreferstoincommandmodeuserbymodulewithUARTandSPIcommand
setofinstructions,behindwilldetailtheuseof
AT
+instructionformat.
Afterthesuccessoftheelectricstart,canthroughtheUARTforsettingmodule.
ModuleofthedefaultUARTportparametersfor:115200baudrate,nocheck,8databits,
onestopbit.
<explain
explain
explain
explain>
The
AT
commanddebuggingtools,UARTinterfaceisrecommendedtouseSecureCRT
softwaretoolsorsomeprofessionalapplications.ThefollowingisintroducedusingUART
communicationandSecureCRTtooldemo.
Fromtranslatemodeswitchtothecommandmodetothefollowingtwosteps:
OntheUARTinput"+++",moduleafterreceiving"+++"willreturnaverificationcode
"a";
Inputvalidationcode"a"ontheUART ,moduleafterreceivingtheconfirmation,returnto
the"+"OK"toconfirm,enterthecommandmode;
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
40
40
40
40/62
62
62
6 2
<explain
exp lain
explain
explain>Intheinput"+++"and"thecode"a",noecho,asshownintheabove.
Input"+++"and"a"needstobedoneinacertainperiodoftime,inordertoreducethe
probabilityofnormalwork,wronglyintocommandmode.Specificrequirementsareasfollows:
Fromthecommandmodetoswitchtotranslatemodeneedtoadoptthe
AT
+ENTM
command,thecommand
AT
+ENTMmodeinput,endwithacarriagereturn,youcanswitchto
translatemode.
4.2.1
4.2.1
4.2.1
4.2.1AT+
AT+
A T+
AT+Summary
Sum mary
Summary
Summaryof
of
of
o fInstruction
Ins truction
Instruction
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
]<CR>
]<C R>
]<CR>
]<CR>
AT+:Commandmessagesprefix;
CMD:Commandstring;
[op]:Instructionoperator,isspecifiedparameterstosetorquery;
“=”:parameterSettings
“NULL”:query
[para-n]:InputparameterSettings,suchasqueryisnotrequired;
<CR>:endmarkENTERASCII: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
]<CR><LF>
]<C R><LF>
]<CR><LF>
]<CR><LF>
+:Theresponsemessageprefix;
RSP:Responsetoastring,including:
“OK”:success
“ERR”:fail
[para-n]:Thequeryreturnparametererrorcodeorerror
<CR>:ASCII0x0d;
<LF>:ASCII0x0a;
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
41
41
41
41/62
62
62
6 2
ErrorCode
errorcodetable
Error
Error
Error
ErrorCode
Cod e
Code
Code Description
Description
Description
Description
-1InvalidCommandFormat
-2InvalidCommand
-3InvalidOperationSymbol
-4InvalidParameter
-5OperationNotPermitted
4.2.2
4.2.2
4.2.2
4.2.2
AT
AT
AT
A T
Command
Com mand
Command
CommandIntroduction
Int roduction
Introduction
Introduction
AT+command
NO
NO
NO
NO Command
Command
Command
Command Description
Description
Description
Description
BasicCommand
1ENTMSetmoduleintotransparenttransitionmode
2EOpen/Closeshowbackfunction
3ZRe-startmodule
4CFGTFCopyUserParameterstoFactoryDefaultParameters
5RELDRestoretofactorydefaultsetting
6MACReadtheMACofmodule
7SEARCHSet/queryLANportandkeywordsearch
8MIDQuerymoduleIDinformation
9PLANGWebloginlanguages
10WEBUSet/querywebsiteloginusernameandpassword
11
VERQueryThemodulefirmwareversion
12PINGNetwork”Ping”command
13WSCANScanAP
14SLPTYPESetthesleepmode
WifiSet
15WMODESet/QueryWi-Fiworkmode(AP/STA)
16WSTASet/queryassociatedAPSSIDandpassword;
17WANNSet/query
STA
networkparameters;
18WSLKQuery
STA
Wi-Filinkstatus
19WAPSet/queryAPwi-ficonfigurationparameters;
20CHANNELChannelmoduleAPmode
21LANNSettheIP/querymoduleAPmode
Uart0set
22UARTSet/queryUARTinterfaceparameters
23UARTTESet/queryaserialportfreeframingintervals
24WKMODUART0Socketworkmode
25SOCKASet/querynetworkprotocolparameters
26SOCKLKAQuerywhethertheTCPlinkchainhasbeenbuilt
27SOCKDISASetthetcpclientreconnectmode
28SOCKBSet/querynetworkprotocolparameters
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
42
42
42
42/62
62
62
6 2
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
Setthetcpclientreconnectmode
47RFCENA1Canmake/banRFC2117function
48REGENA1Canmake/registrationpacketmechanismisprohibited
49REGID1RegistrationpacketIDset
50REGUSR1Customerdefineregistrationpacket
51TRENC1Encriptenable/disableintransmode
52HTPTP1HttpdClientGET/POSTset
53HTPSV1HttpdClientserveraddress
54HTPHEAD1HttpdClientcustomerdefinedhead
55HTPURL1HttpdClientPOSTURLaddress
56HTPCHD1HttpdClientreturndatacutheadenable/disable
57SSLSECMSSLencripttype
58SSLMASKSSLencriptmethod
59SSLCASSLCertificateTitle
60SSLIPPSSLserveraddressandport
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
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
43
43
43
43/62
62
62
6 2
totranslatemode.
2)AT+E
Function:Set/querymoduleechotheatcommandset
Format:
Query
AT+E
AT+ E
AT+E
AT+E<CR>
<CR >
<CR>
<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>
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
AT
command
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:Setupthesuccess
NON-SAVED:Setupfailed
5)AT+RELD
Function:Recoverymoduleconfigurationparametersfortheuserthefactory
configurationparameters
Format:
Set
AT+
AT+
AT+
AT+RELD<CR>
REL D<CR>
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>
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
44
44
44
44/62
62
62
6 2
<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:MACofthemodulexample01020304050A;
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+
AT+
AT+
AT+SEARCH
SEA RCH
SEARCH
SEARCH<CR>
<CR >
<CR>
<CR>
<CR><LF>+OK
<CR><LF>+OK
<CR><LF>+OK
<CR><LF>+OK=<port,keywords><CR><LF>
=<p ort,keywords><CR><LF>
=<port,keywords><CR><LF>
=<port,keywords><CR><LF>
Parameters:
port:Searchmoduleport;default:48899
keywords: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+
AT+
AT+
AT+PLANG
PLA NG
PLANG
PLANG<CR>
<CR >
<CR>
<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>
Set
AT+
AT+
AT+
AT+PLANG
PLA NG
PLANG
PLANG=<
=<
=<
= <language
lan guage
language
language><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
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>
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
45
45
45
45/62
62
62
6 2
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
SUCCESS
TIMEOUT
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>
<ap_site_
<ap _site_
<ap_site_
<ap_site_
N><CR><LF>
N><CR><LF>
N><CR><LF>
N><CR><LF>
Parameters:
SSID:SSID
BSSID:MAC11:22:33:44:AA:BB
Security
IndicatorRSSI
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
46
46
46
46/62
62
62
6 2
Note:intheAPmodeWSCANcommand,responsewillbeslightlyslower,ifhas
establishedaTCPconnection,theconnectionwillbedisconnected,needto
restartaftertheconnectionisestablished.
14)AT+SLPTYPE
Function:Setthequerysleepmode
Format:
Query
AT+
AT+
A T+
AT+SLPTYPE<CR>
SLP TYPE<CR>
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+
AT+
AT+
AT+SLPTYPE=<MODE,TIME><CR>
SLP TYPE=<MODE,TIME><CR>
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
AT
A T+
+
+
+SLPTYPE
SLP TYPE
SLPTYPE
SLPTYPE=
=
=
=0
0
0
0<
<
<
<CR
CR
CR
C R>
>
>
>
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=<
=<
=<
= <status
sta tus
status
status><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
status:
AP:ThemoduleintheAPmode
STA: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+
AT+
AT+
AT+WSTA
WST A
WSTA
WSTA=<AP's
=<A P's
=<AP's
=<AP'sssid
ssi d
ssid
ssid><key><CR>
><k ey><CR>
><key><CR>
><key><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
47
47
47
47/62
62
62
6 2
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>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
mode:NetworkIPmode
static:staticIP
DHCP: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+
AT+
AT+
AT+WSLK<CR>
WSL K<CR>
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+
AT+
AT+
AT+WAP
WAP
W AP
WAP=<
=<
=<
= <ssid,key
ssi d,key
ssid,key
ssid,key><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
ssid:APSSID;
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
48
48
48
48/62
62
62
6 2
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 >
<CR>
<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+
AT+
AT+
AT+CHANNEL
CHA NNEL
CHANNEL
CHANNEL=<NUM><CR>
=<N UM><CR>
=<NUM><CR>
=<NUM><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
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+
AT+
A T+
AT+LANN
LAN N
LANN
LANN=<IP,MASK><CR>
=<I P,MASK><CR>
=<IP,MASK><CR>
=<IP,MASK><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
IP:ip
MASK: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:58bits
stop_bits:1,2
parity:check
NONE
EVEN
ODD
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
49
49
49
49/62
62
62
6 2
Mask
Space
flowctrl:CTSRTS
NFC:Disablehardwareflowcontrol
FC:Enablehardwareflowcontrol
485485communications,UART_RTSas485sendcontrolterminal
Note:whenthebaudratearesubjecttochange,willautomaticallychangethe
packaginginterval,see27)AT+UARTTE.
23)AT+UARTTE
Function:Set/queryfreeframingintervals
Format:
Query
AT+
AT+
AT+
AT+UARTTE<CR>
UAR TTE<CR>
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+
AT+
AT+
AT+UARTTE=<num
UAR TTE=<num
UARTTE=<num
UARTTE=<num><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
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/querythesocketofuart0workmode
Format:
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>
mod e><CR>
mode><CR>
mode><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters
modeworkmode
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
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
50
50
50
50/62
62
62
6 2
AT+SOCKA=<
AT+SOCKA=<
AT+SOCKA=<
AT+SOCKA=<protocol,IP ,port
pro tocol,IP ,port
protocol,IP ,port
protocol,IP ,port><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
Protocol:Protocoltype,including
TCPSTCPserver
TCPCTCPclient
UDPSUDPserver
UDPCUDPclient
IP:Whenthemoduleissetto"CLIENT",theIPaddressoftheserver
Port:Protocolport,decimalnumber,lessthan65535
26)AT+SOCKLKA
Function:QuerytheTCPlinkisestablished;
Format:
AT+
AT+
AT+
AT+SOCKLKA<CR>
SOC KLKA<CR>
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:TCPconnected
DISCONNECTED:TCPDisconnected
27)AT+SOCKDISA
FunctionQueryisthereaclienthaveconnected
Format
AT+
AT+
AT+
AT+SOCKDISA<CR>
SOC KDISA<CR>
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
B
B
B<CR>
<CR >
<CR>
<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
AT+SOCK
AT+SOCK
AT+SOCK
AT+SOCKB
B
B
B=<
=<
=<
= <protocol,IP ,port
pro tocol,IP ,port
protocol,IP ,port
protocol,IP ,port><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
Protocol:Protocoltype,including
TCPCTCPclient
UDPSUDPserver
UDPCUDPclient
IP:Whenthemoduleissetto"CLIENT",theIPaddressoftheserver
Port:Protocolport,decimalnumber,lessthan65535
29)AT+SOCKLKB
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
51
51
51
51/62
62
62
6 2
Function:QuerytheTCPlinkisestablished;
Format:
AT+
AT+
A T+
AT+SOCKLK
SOC KLK
SOCKLK
SOCKLKB
B
B
B<CR>
<CR >
<CR>
<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:TCPconnected
DISCONNECTED:TCPDisconnected
30)AT+SOCKDISB
FunctionQueryisthereaclienthaveconnected
Format
AT+
AT+
AT+
AT+SOCKDIS
SOC KDIS
SOCKDIS
SOCKDISB
B
B
B<CR>
<CR >
<CR>
<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
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=<
=<
=<
= <status><CR>
sta tus><CR>
status><CR>
status><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
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
statusmethod><CR><LF>
met hod><CR><LF>
method><CR><LF>
method><CR><LF>
Set
AT+REGENA
AT+REGENA
AT+REGENA
AT+REGENA=<
=<
=<
= <status
sta tus
status
statusmethod
met hod
method
method><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
status:
ID:packetmechanismcanmakecanmaketheregistration,theregistry
packetIDis2bytes
MAC:packetmechanismcanmakecanmaketheregistration,theregistry
packetis6bytesMAC
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
52
52
52
52/62
62
62
6 2
USR:customerdefinedpacket
OFF:Bancanregisterpacketmechanism
method
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
=<N UM
=<NUM
=<NUM><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
NUM:0-65535DecimalFormat,whenselectingregistrationpacketID,itis
mainlyusedfortheD2Dsoftwareofourcompany.
34)AT+REGUSR
Function:Setthecustomerdefinedregistration.
Format:
Query
AT+REG
AT+REG
AT+REG
AT+REGUSR
USR
U SR
USR<CR>
<CR >
<CR>
<CR>
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<data
dat a
data
data><CR><LF>
><C R><LF>
><CR><LF>
><CR><LF>
Set
AT+REG
AT+REG
AT+REG
AT+REGUSR
USR
U SR
USR=<
=<
=<
= <data
dat a
data
data><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
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=<
=<
=<
= <state,data
sta te,data
state,data
state,data><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
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.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
53
53
53
53/62
62
62
6 2
Format:
Query
AT+
AT+
A T+
AT+HTPTP
HTP TP
HTPTP
HTPTP<CR>
<CR >
<CR>
<CR>
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<data
dat a
data
data><CR><LF>
><C R><LF>
><CR><LF>
><CR><LF>
Set
AT+
AT+
AT+
AT+HTPTP
HTP TP
HTPTP
HTPTP=<
=<
=<
= <data
dat a
data
data><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
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=<
=<
=<
= <address,port
add ress,port
address,port
address,port><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
address:Theserveraddress.
port:theserverport,1-65535
38)AT+HTPHEAD
Function:Set/Querythehttpdclient.
Format:
Query
AT+HTP
AT+HTP
AT+HTP
AT+HTPHEAD
HEA D
HEAD
HEAD<CR>
<CR >
<CR>
<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+HTP
AT+HTP
AT+HTP
AT+HTPHEAD
HEA D
HEAD
HEAD=<
=<
=<
= <address,port
add ress,port
address,port
address,port><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
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=<
=<
=<
= <data
dat a
data
data><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
data:Theheaddefinedbycustomer,themaxlengthis200bytes
The<<CRLF>>replace“/r/n”.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
54
54
54
54/62
62
62
6 2
likeAccept:image/gif<<CRLF>>Content-Type:text/html<<CRLF>>
40)HTPCHD
Function:Set/Querythestateofcuttingheadofreturndata.
Format:
Query
AT+HTP
AT+HTP
AT+HTP
AT+HTPCHD
CHD
C HD
CHD<CR>
<CR >
<CR>
<CR>
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<state
sta te
state
state><CR><LF>
><C R><LF>
><CR><LF>
><CR><LF>
Set
AT+HTP
AT+HTP
AT+HTP
AT+HTPCHD
CHD
C HD
CHD=<
=<
=<
= <state
sta te
state
state><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
state:
ON:deletetheheadofreturndatafromserver.
OFF:don’tdeletetheheadofreturndatafromserver.
41)AT+UART1
Function:Set/queryUARTinterfaceparameters
Format:
Query:
AT+UART
AT+UART
AT+UART
AT+UART1
1
1
1<CR>
<CR >
<CR>
<CR>
<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>
><C R><LF>
><CR><LF>
><CR><LF>
Set:
AT+UART
AT+UART
AT+UART
AT+UART1
1
1
1=<baudrate,data_bits,stop_bit,parity
=<b audrate,data_bits,stop_bit,parity
=<baudrate,data_bits,stop_bit,parity
=<baudrate,data_bits,stop_bit,parity><CR>
><C R>
><CR>
><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:58bits
stop_bits:1,2
parity:check
NONE
EVEN
ODD
MARK
SPACE
Note:whenthebaudratearesubjecttochange,willautomaticallychangethe
packaginginterval,seeAT+UARTTE1.
42)AT+UARTTE1
Function:Set/queryfreeframingintervals
Format:
Query
AT+
AT+
AT+
AT+UARTTE
UAR TTE
UARTTE
UARTTE1
1
1
1<CR>
<CR >
<CR>
<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+
AT+
AT+
AT+UARTTE
UAR TTE
UARTTE
UARTTE1
1
1
1=<num
=<n um
=<num
=<num><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
55
55
55
55/62
62
62
6 2
Parameters:
num:5-250:Freeframingmodetheintervalbetweentwobytesms.
Note:thisparameterwillautomaticallychangewhensetthebaudrate,Ifyouwantto
changethepackaginginterval,pleasefirstsetthebaudrate:
bps<=600num=250ms;
bps>=20000num=5ms;
500<bps<20000num=1000/bps*10*10.
43)AT+WKMOD1
FunctionSet/querythesocketofuart0workmode
Format:
Query
AT+WKMOD
AT+ WKMOD
AT+WKMOD
AT+WKMOD1
1
1
1<CR>
<CR >
<CR>
<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+WKMOD1
1
1
1=<
=<
=<
= <mode><CR>
mod e><CR>
mode><CR>
mode><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters
modeworkmode
TRANStransmode
HTPCHttpdCient
SSLSSLSocketfunction
OFFclosesocketa1
44)AT+SOCKA1
Function:Set/querynetworkprotocolparameters
Format:
Query
AT+SOCKA
AT+SOCKA
AT+SOCKA
AT+SOCKA1
1
1
1<CR>
<CR >
<CR>
<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
AT+SOCKA
AT+SOCKA
AT+SOCKA
AT+SOCKA1
1
1
1=<
=<
=<
= <protocol,IP,port
pro tocol,IP,port
protocol,IP,port
protocol,IP,port><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
Protocol:Protocoltype,including
TCPCTCPclient
UDPSUDPserver
UDPCUDPclient
IP:Whenthemoduleissetto"CLIENT",theIPaddressoftheserver
Port:Protocolport,decimalnumber,lessthan65535
45)AT+SOCKLKA1
Function:QuerytheTCPlinkisestablished;
Format:
AT+
AT+
AT+
AT+SOCKLKA
SOC KLKA
SOCKLKA
SOCKLKA1
1
1
1<CR>
<CR >
<CR>
<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
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
56
56
56
56/62
62
62
6 2
CONNECT:TCPconnected
DISCONNECTED:TCPDisconnected
46)AT+SOCKDISA1
FunctionQueryisthereaclienthaveconnected
Format
AT+
AT+
AT+
AT+SOCKDISA
SOC KDISA
SOCKDISA
SOCKDISA1
1
1
1<CR>
<CR >
<CR>
<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
47)AT+RFCENA1
Function:Enable/DisableRFC2217Function
Format:
Query
AT+RFCENA
AT+ RFCENA
AT+RFCENA
AT+RFCENA1
1
1
1<CR>
<CR >
<CR>
<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+RFCENA1
1
1
1=<
=<
=<
= <status><CR>
sta tus><CR>
status><CR>
status><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
status:
ON:EnableRFC2217Function
OFF:DisableRFC2217Function
48)AT+REGENA1
Function:Setthequeryregistrationpacketmechanism
Format:
Query
AT+REGENA
AT+REGENA
AT+REGENA
AT+REGENA1
1
1
1<CR>
<CR >
<CR>
<CR>
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<status
sta tus
status
statusmethod><CR><LF>
met hod><CR><LF>
method><CR><LF>
method><CR><LF>
Set
AT+REGENA
AT+REGENA
AT+REGENA
AT+REGENA1
1
1
1=<
=<
=<
= <status
sta tus
status
statusmethod
met hod
method
method><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
status:
ID:packetmechanismcanmakecanmaketheregistration,theregistry
packetIDis2bytes
MAC:packetmechanismcanmakecanmaketheregistration,theregistry
packetis6bytesMAC
USR:customerdefinedpacket
OFF:Bancanregisterpacketmechanism
method
EVERYIncreaseregisteredbeforeeachpacketofdatapacket
FIRSTOnlylinktotheserversendsaregisteredpacketforthefirsttime
Notice:ifdisabletheregister,justsetAT+REGENA1=OFF\r.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
57
57
57
57/62
62
62
6 2
49)AT+REGID1
Function:SetthequeryregistrationpacketID
Format:
Query
AT+REGID
AT+ REGID
AT+REGID
AT+REGID1
1
1
1<CR>
<CR >
<CR>
<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+REGID1
1
1
1=<NUM
=<N UM
=<NUM
=<NUM><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
NUM:0-65535DecimalFormat,whenselectingregistrationpacketID,itis
mainlyusedfortheD2Dsoftwareofourcompany.
50)AT+REGUSR1
Function:Setthecustomerdefinedregistration.
Format:
Query
AT+REG
AT+REG
AT+REG
AT+REGUSR1
USR 1
USR1
USR1<CR>
<CR >
<CR>
<CR>
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<data
dat a
data
data><CR><LF>
><C R><LF>
><CR><LF>
><CR><LF>
Set
AT+REG
AT+REG
AT+REG
AT+REGUSR1
USR 1
USR1
USR1=<
=<
=<
= <data
dat a
data
data><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
data:1-32ASCIICode.
51)AT+TRENC1
Function:Set/querythestatusofencriptintransmode.
Format:
Query
AT+TRENC
AT+TRENC
AT+TRENC
AT+TRENC1
1
1
1<CR>
<CR >
<CR>
<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+TRENC1
1
1
1=<
=<
=<
= <state,data
sta te,data
state,data
state,data><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
state:ON/OFF.
data:encriptkeyofPC1,32ASCIIcodes(0-9,a-f,A-F)changeto16bytes(Hex)
suchas:1234567890abcdef1234567890abcdefthe16byteskeyis
0x12,0x34...0xef,16bytes
52)AT+HTPTP1
Function:Set/Querythemodeofhttpdclient.
Format:
Query
AT+
AT+
AT+
AT+HTPTP1
HTP TP1
HTPTP1
HTPTP1<CR>
<CR >
<CR>
<CR>
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<data
dat a
data
data><CR><LF>
><C R><LF>
><CR><LF>
><CR><LF>
Set
AT+
AT+
AT+
AT+HTPTP1
HTP TP1
HTPTP1
HTPTP1=<
=<
=<
= <data
dat a
data
data><CR>
><C R>
><CR>
><CR>
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
58
58
58
58/62
62
62
6 2
<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
1
1
1<CR>
<CR >
<CR>
<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+HTPSV1
1
1
1=<
=<
=<
= <address,port
add ress,port
address,port
address,port><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
address:Theserveraddress.
port:theserverport,1-65535
54)AT+HTPHEAD1
Function:Set/Querythehttpdclient.
Format:
Query
AT+HTP
AT+HTP
AT+HTP
AT+HTPHEAD1
HEA D1
HEAD1
HEAD1<CR>
<CR >
<CR>
<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+HTP
AT+HTP
AT+HTP
AT+HTPHEAD1
HEA D1
HEAD1
HEAD1=<
=<
=<
= <address,port
add ress,port
address,port
address,port><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
address:Theserveraddress.
port:theserverport,1-65535
55)HTPURL1
Function:Set/Querythehttpdclientposturl.
Format:
Query
AT+HTPURL
AT+HTPURL
AT+HTPURL
AT+HTPURL1
1
1
1<CR>
<CR >
<CR>
<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+HTPURL1
1
1
1=<
=<
=<
= <data
dat a
data
data><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
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>
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
59
59
59
59/62
62
62
6 2
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<state
sta te
state
state><CR><LF>
><C R><LF>
><CR><LF>
><CR><LF>
Set
AT+HTP
AT+HTP
AT+HTP
AT+HTPCHD1
CHD 1
CHD1
CHD1=<
=<
=<
= <state
sta te
state
state><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
state:
ON:deletetheheadofreturndatafromserver.
OFF:don’tdeletetheheadofreturndatafromserver.
57)AT+SSLSECM
Function:Set/QuerySSLClientencripttype.
Format:
Query
AT+
AT+
AT+
AT+SSLSECM
SSL SECM
SSLSECM
SSLSECM<CR>
<CR >
<CR>
<CR>
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<state
sta te
state
state><CR><LF>
><C R><LF>
><CR><LF>
><CR><LF>
Set
AT+
AT+
AT+
AT+SSLSECM
SSL SECM
SSLSECM
SSLSECM=<
=<
=<
= <state
sta te
state
state><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
state:
SSLV3
TLSV1
TLSV1_1
TLSV1_2
SSL_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+
AT+
AT+
AT+SSLMASK
SSL MASK
SSLMASK
SSLMASK=<
=<
=<
= <state
sta te
state
state><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
state:
SSL_SHA
SSL _SHA
SSL_SHA
SSL_SHASSL_RSA_WITH_RC4_128_SHA
SSL_MD5
SSL_MD5
SSL_MD5
SSL_MD5SSL_RSA_WITH_RC4_128_MD5
TLS
TLS
TLS
TLSTLS_RSA_WITH_AES_256_CBC_SHA
TLS_DHE
TLS_DHE
TLS_DHE
TLS_DHETLS_DHE_RSA_WITH_AES_256_CBC_SHA
TLS_256
TLS_256
TLS_256
TLS_256TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
TLS_128
TLS_128
TLS_128
TLS_128TLS_ECDHE_RSA_WITH_RC4_128_SHA
DEFAULT
DEFAULT
DEFAULT
DEFAULTSECURE_DEFAULT
59)AT+SSLCA
Function:Set/QuerythenameofSSLcertification.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
60
60
60
60/62
62
62
6 2
Format:
Query
AT+
AT+
A T+
AT+SSLCA
SSL CA
SSLCA
SSLCA<CR>
<CR >
<CR>
<CR>
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<data
dat a
data
data><CR><LF>
><C R><LF>
><CR><LF>
><CR><LF>
Set
AT+
AT+
AT+
AT+SSLCA
SSL CA
SSLCA
SSLCA=<
=<
=<
= <data
dat a
data
data><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
data:thenameofSSLcertification,maxlengthis32bytes.
60)AT+SSLIPP
Function:Set/QuerytheserverofSSLclient.
Format:
Query
AT+
AT+
AT+
AT+SSLIPP
SSL IPP
SSLIPP
SSLIPP<CR>
<CR >
<CR>
<CR>
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<
<CR><LF>+OK=<address,port
add ress,port
address,port
address,port><CR><LF>
><C R><LF>
><CR><LF>
><CR><LF>
Set
AT+
AT+
AT+
AT+SSLIPP
SSL IPP
SSLIPP
SSLIPP=<
=<
=<
= <address,port
add ress,port
address,port
address,port><CR>
><C R>
><CR>
><CR>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
<CR><LF>+OK<CR><LF>
Parameters:
address:theserveraddress.
Port:theserverport
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
61
61
61
61/62
62
62
6 2
FCC
FCC
FCC
FCCSTATEMENT
STA TEMENT
STATEMENT
STATEMENT:
:
:
:
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.
FCC
FCC
FCC
FCCRadiation
Radi ation
Radiation
RadiationExposure
Expo sure
Exposure
ExposureStatement:
Statemen t:
Statement:
Statement:
ThisequipmentcomplieswithFCCradiationexposurelimitssetforthforanuncontrolledenvironment.This
equipmentshouldbeinstalledandoperatedwithminimumdistance20cmbetweentheradiator&yourbody.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so
62
62
62
62/62
62
62
6 2
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
V1.202-09-2015.Addlowpowermode,add domain
domain
domain
domain name
name
name
name resolution
resolution
resolution
resolution (DNS)
(DNS)
(DNS)
(DNS)
V1.303-05-2015.Addsimplelinkfastsetting
V1.403-23-2015Addlimitationofsome
AT
commandparameter
Add485function
AddRXD,TXDpull-upinschematicdiagram
V1.503-31-2015AddUDPbroadcast
Addthelimitoflengthwhenenterwebauthentication
Improvethelosingdataproblemwhentransmissingdata
V2.219-05-2015Adduart1andtwosockets,addhttpdclientfunction,websocketfunction,SSLClient
function
<END>
<END>
<END>
<END>
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:
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

Navigation menu