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.so1111/6262 62 62USR-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 ManualVVVV2. 2. 2. 2.1 111SupportWi-Fi@2.4GHz802.11b/g/nwirelessstandardsBasedonARMCortex-M4kernelrunningfrequencyof80MHZSupportWEP、WPA/WPA2securitymodeSupportAP/STAworkingmodeSupportSimplelink/usrlinkNetworkingconfigurationSupportcustomwebfunctionFullyintegratedserialportturnwirelessTCP/UDPtransmissionfunction,therateofserialportupto3MbpsSupports485transcontrolSupporttwouartandthreesocketcommunicationSupportPC116bytesencryptionwhenworkintransmodeSupporttheHTTPDClientfunctionSupportwebsocketfunctionSupportSSLClientfunctionSearchinlocalareanetwork(LAN)andwirelessparameterssettingfunctionSupportTCP/UDPClientregisteredpacketmechanismSupportsimilarRFC2217automaticbaudrateadaptationfunctionSupportAT+simpleinstructionsetconfigurationSingle3.3VpowersupplyUltralowpowermode,supportdeepdormancy
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so2222/6262626 2Minisize:18.22mm*26.65mm*2.8mmSMTFCC/CECertificated
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so3333/6262626 2CatalogueCatalogueCatalogueCatalogue1111、、、、ModuleModuleModuleModuleOverviewOve rviewOverviewOverview.....................................................................................................................................................41.11.11.11.1ModuleMod uleModuleModuleOverviewOve rviewOverviewOverview................................................................................................................................................41.21.21.21.2CharacteristicsCha racteristicsCharacteristicsCharacteristicsofofofo fModuleMod uleModuleModule..................................................................................................................................41.31.31.31.3functionalfun ctionalfunctionalfunctionalblockblo ckblockblockdiagramdia gramdiagramdiagram...................................................................................................................................61.41.41.41.4ProductPro ductProductProductFeatureFea tureFeatureFeature...................................................................................................................................................71.51.51.51.5ApplicationApp licationApplicationApplicationAreaAre aAreaArea..................................................................................................................................................72222、、、、HardwareHardwareHardwareHardwareDescriptionDes criptionDescriptionDescription.............................................................................................................................................92.12.12.12.1PinPinP inPinDefinitionsDef initionsDefinitionsDefinitions.....................................................................................................................................................92.22.22.22.2AntennaAnte nnaAntennaAntennaShowsSho wsShowsShows..................................................................................................................................................102.32.32.32.3SizeSiz eSizeSizeandanda ndandLayoutLay outLayoutLayoutRecommendationsRec ommendationsRecommendationsRecommendations.................................................................................................................112.42.42.42.4TheTheTh eTheHardwareHar dwareHardwareHardwareCircuitCir cuitCircuitCircuitDesignDes ignDesignDesignReferenceRefe renceReferenceReference........................................................................................................123333、、、、ProductProductProductProductFunctionFun ctionFunctionFunction...................................................................................................................................................143.13.13.13.1WirelessWir elessWirelessWirelessNetworkNetw orkNetworkNetworkModeMod eModeMode...................................................................................................................................143.23.23.23.2WorkWor kWorkWorkModeMod eModeMode........................................................................................................................................................153.33.33.33.3SocketSoc ketSocketSocketCommunicationCom municationCommunicationCommunication.....................................................................................................................................173.43.43.43.4CustomCus tomCustomCustomwebwebw ebwebfunctionfun ctionfunctionfunction........................................................................................................................................223.53.53.53.5SearchSea rchSearchSearchininini nlocalloc allocallocalareaare aareaareanetworknetw orknetworknetwork............................................................................................................................223.53.53.53.5TCP/UDPTCP /UDPTCP/UDPTCP/UDPClientCli entClientClientRegistrationReg istrationRegistrationRegistrationPacketPac ketPacketPacketMechanismMec hanismMechanismMechanism.........................................................................................233.73.73.73.7FastFas tFastFastAccessAcc essAccessAccessWi-Fi(usrlink)Wi-F i(usrlink)Wi-Fi(usrlink)Wi-Fi(usrlink)...............................................................................................................................243.83.83.83.8SimplelinkSim plelinkSimplelinkSimplelinkConfigurationCon figurationConfigurationConfiguration.................................................................................................................................263.93.93.93.9RFC2217RFC 2217RFC2217RFC2217AutomaticAuto maticAutomaticAutomaticBaudBau dBaudBaudRateRateR ateRateFunctionFun ctionFunctionFunction......................................................................................................273.103.103.103.10SleepSle epSleepSleepModeMod eModeModeIntroductionIntr oductionIntroductionIntroduction................................................................................................................................284444、、、、ParameterParameterParameterParameterSettingSett ingSettingSetting..................................................................................................................................................304.14.14.14.1WebWebW ebWebPagePag ePagePageConfigurationCon figurationConfigurationConfiguration..................................................................................................................................304.24.24.24.2AT+AT+AT+A T+CommandsCom mandsCommandsCommandsConfigurationCon figurationConfigurationConfiguration........................................................................................................................39AppendixAppendixAppendixAppendixA:A:A:A :ContactCon tactContactContactInformationInf ormationInformationInformation...........................................................................................................................61AppendixAppendixAppendixAppendixB:B:B:B:DisclaimerD is claimerDisclaimerDisclaimer.................................................................................................................................................61AppendixAppendixAppendixAppendixC:C:C:C :UpdateUpd ateUpdateUpdateHistoryHis toryHistoryHistory.........................................................................................................................................61
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so4444/6262 62 621111、、、、Module Module Module ModuleOverview Overview Overview Overview1.1 1.1 1.1 1.1Module Module Module ModuleOverview Overview Overview OverviewUSR-C322isahigh-performancemoduleoftheserieswifimoduleC32.Themoduleisalow-power802.11b/g/nmodulesthatdesignforachievingtheapplicationoftheembeddedsystem,wirelessnetworkcommunication.Throughthemodule,thecustomercansetaphysicaldeviceconnectedtoawifinetwork,soastorealizethecontrolandmanagementoftheInternetofiot.ThehardwareofmoduleintegrateMAC,basebandchip,rftransceiverunit,aswellasthepoweramplifier;AdoptingCC3200chipofTIcompany,thekernelofindustrial-gradeARMarchitecture(M4kernel,runningfrequencyof80MHZ.Theinternalultra-lowpoweroperationmechanism,canruneffectivelylow-powermodule;SupportWiFiprotocolandTCP/IPprotocol,theuseronlyneedssimpleconfiguration,canachievethefunctionofUARTdevicesconnectedtotheInternet.Modulesize:18.22mm*26.65mm*2.8mmSMTassemblyThebasicfunctionofthemoduleisdescribedbelow:CanworkinAPmodeforotherWIFIdevicesaccesscommunication,canalsoworkintheSTAmode,accesstothewirelessroutertorealizecommunicationWithSocketcommunicationlinks,canbesettoTCP/UDPtrans,HTTPDClient,WEBsockets,SSLClientcommunication.TCP/UDPtranscansupportTCPServer、TCPClient、UDPServer、UDPClient.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SupportWEP、WPA/WPA2securitymodeSupportAP/STAworkingmodeSupportSimplelink/usrlinkNetworkingconfigurationSupportcustomwebfunctionFullyintegratedserialportturnwirelessTCP/UDPtransmissionfunction,therateofserialportupto3MbpsSupports485transcontrolSupporttwouartandthreesocketcommunicationSupportPC116bytesencryptionwhenworkintransmodeSupporttheHTTPDClientfunctionSupportwebsocketfunctionSupportSSLClientfunction
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so5555/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.so6666/6262626 21.31.31.31.3functionalfun ctionalfunctionalfunctionalblockblo ckblockblockdiagramdiag ramdiagramdiagramUART1SOCKATCP/UDP TransHttpd ClientGET/POSTWEB SocketTCP ServerTCP ClientUDP ServerUDP ClientPC1 Encrypt/decryptSOCKBTCP/UDPTransTCP ClientUDP ServerUDP ClientSOCKA1TCP/UDPTransHttpd ClientGET/POSTSSL ClientPC1 Encrypt/decryptTCP ClientUDP ServerUDP ClientWIFIUARTATCommandTrans ModeUART0NetATCommand1.41.41.41.4ProductPro ductProductProductFeatureFeatur eFeatureFeatureModuleparametersclassify parameter value
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so7777/6262 62 62WirelessParameterCertificationFCC/CEWlanStandard802.11b/g/nTransmitPower17.0dBm@1DSSS17.25dBm@11CCK13.5dBm@54OFDMReceiveSensitivity–94.7dBm@1DSSS–87.0dBm@11DSSS–73.0dBm@54OFDMAntennaInternal:On-boardantennaHardwareDataInterfaceUART300-3MbpsWorkingVoltage3.0V~3.6VWorkingCurrent(voltage3.3V)Continuetosend:~75mAnormalmode:average:~18mA,top:200mAIntheweb:3.5mAStandby:lowest25uAWorkingTemperature-40℃-85℃StorageTemperature-45℃-125℃Size18.22mm*26.65mm*2.8mmFootprintSMTSoftwareWirelessNetworkTypeAP/STASecurityRegimeWEP/WPA-PSK/WPA2-PSKEncryptionTypeTKIP,AES,TKIP/AESNetworkingProtocolIPv4,TCP/UDPUserConfigurationAT+instructionsetWeb1. 1. 1. 1.5 555Application Application Application ApplicationArea Area Area AreaCloudConnectedHomeAutomationHouseholdAppliancesAccessControlSecurityandProtectionSystemSmartEnergyIndustrialControlIntelligentElectricalOutletBox/InstrumentMeasurementIPNetworkSensorNodes
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so8888/6262626 2WirelessPrinter
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so9999/6262626 22222、、、、HardwareHard wareHardwareHardwareDescriptionDescrip tionDescriptionDescription2.12.12.12.1PinPinPi nPinDefinitionsDefin itionsDefinitionsDefinitionsThemodulepinPinNetNameFunctionalDescription1GNDGND2GPIOGeneralGPIO3GPIOGeneralGPIO4nResetModuleresetpin,lowleveleffectively5SOP2Startthechoice,defaultNC6SOP1Startthechoice,defaultNC7SOP0Startthechoice,defaultNC8ANADC-DCTheRFpoweroutputpin,hungup9NCNC10NCNC11GNDGND12GNDGND13VBT_CCPowerinputpin,pleaseconnect+3.3V14VDD_ANA2RFPowerinputpin,pleaseconnect+3.3V
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so1010 10 10/62 62 62 6215GPIOGeneralGPIO16NCNC17GNDGND18GPIOGeneralGPIO19UARTTXUARTTXformodule20UARTRXUARTRXformodule21nReloadModulefactorydefaultpin,lowleveleffectively,simplelinkstart22nReadyWorkinstructionspinofmodule,loweffective,connectanexternalLED23nLinkWiFilinkpinofmodule,loweffective,connectanexternalLED24UARTCTSAserialportflowcontrolpinCTS25UARTRTSAserialportflowcontrolpinRTS26GPIOGeneralGPIO27GPIOGeneralGPIO28GNDGND29GNDGND30UART1TXUARTTXformodule31UART1RXUARTRXformodule32GPIOGeneralGPIO33GPIOGeneralGPIO34GPIOGeneralGPIO35GPIOGeneralGPIO36GPIOGeneralGPIO37GPIOGeneralGPIO38GPIOGeneralGPIO39NCNC40NCNC41GPIOGeneralGPIO42NCNC43NCNC44GNDGND2.2 2.2 2.2 2.2Antenna Antenna Antenna AntennaShows Shows Shows Shows
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so1111 11 11/62 62 62 62InternalAntenna2.3 2.3 2.3 2.3Size Size Size Sizeand and and andLayout Layout Layout LayoutRecommendations Recommendations Recommendations Recommendations•SuggestPCBsize:youcandownloadthePCBfootprintfromourhomepage.Clothplatespecification:1)InternalAntennaCustomerstousetheinternalantenna,theneedtoabidebythefollowingconsiderationsandinternalantennamoduleplacedgeneralrules:
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so1212 12 12/62 62 62 62Ontheuser'sPCB,andgreyshadedareaabovethecorrespondingareacannotbeplacedcomponentsandGND.Antennasawayfromthemetal,atleastdistancewithhighcomponentsaroundmorethan10mm;Antennapartcannotbemetalshell,plasticshellneedatleastmorethan10mmawayfromtheantenna;Itissuggestedthatmoduleisplacedinthefollowingareasoftheuser'sboardasfaraspossible,toreducetheinfluenceoftheantennaandwirelesssignal,andatthesametime,pleaseconsultsomeonetechnicalsupportstafftoassisttheplacementofmodulesandrelatedareasoftheLayoutdesign.2.4 2.4 2.4 2.4The The The TheHardware Hardware Hardware HardwareCircuit Circuit Circuit CircuitDesign Design Design DesignReference Reference Reference ReferenceThehardwaredesignconsiderations:Needtoaddmorethan200ufcapacitancemodulepowersupplypin.SOP0、SOP1、SOP2noconnect.Reset、Reloadneedtopickuponthe4.7Kresistor.nLink,nReadyEffectiveforlowleveloutput.SerialportRXD,TXDneedtopickuponthe10Kresistor.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so13131313/6262626 2
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so14141414/6262626 23333、、、、ProductPro ductProductProductFunctionFun ctionFunctionFunction3.13.13.13.1WirelessWir elessWirelessWirelessNetworkNetwo rkNetworkNetworkModeMod eModeModeTherearetwokindsofwirelessmoduleWIFIworkingmode:theSTAandAP,canprovideuserswithflexiblenetworkmodeandthenetworktopologymethod.<Nounsthat>AP:Thewirelessaccesspoint,isthecenterofawirelessnetworknode.CommonlyusedwirelessrouterisanAP,otherwirelessterminalcanbeinterconnectedbyAPSTA:wirelesssite,isawirelessnetworkterminal.Suchasnotebookcomputer,PDA,etc.3.3.3.3.1111.1.1.1. 1ModuleMod uleModuleModuleAsAsAsA saaaaSTASTAS TASTAModuleastheSTAisoneofthemostcommonlyusednetworkmode,andiscomposedofarouterAPandmanySTA,thefollowingfigure.ItscharacteristicisAPinacentralposition,communicationbetweentheSTAforwardbyAP.3.1.23.1.23.1.23.1.2ModuleMod uleModuleModuleAsAsAsA saaaaAPAPAPA PModulesasAPmode,canachievephone/PAD/computerwithoutanyconfiguration,fastaccessmodulefordatatransmission.Inaddition,youcanloginmoduleinternalwebpagetosetparameters
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so15151515/6262626 2<<<<notenot enotenote>>>>:moduleinAPmode,cansupportonly1STAaccessdevices.3.3.3.3.1111.3.3.3. 3EncryptionEnc ryptionEncryptionEncryptionTypeTyp eTypeTypeEncryptionisscramblingtomessagedata,ensurethesecurityofdatatransmission,increasethesecurityofcommunication.Supportmultiplewirelessnetworkencryptionmethods,including:WEPWPA-PSK/TKIPWPA-PSK/AESWPA2-PSK/TKIPWPA2-PSK/AES3.23.23.23.2WorkWor kWorkWorkModeMod eModeModeModuleconsistsoftwoworkmodes:SockettransmodeandcommandmodeSocketSocketSocketSocketTranTra nTranTranModeMod eModeModeInthismode,themodulerealizestheUARTandtransparenttransmissionbetweennetwork,realizecommonserialdatatransferbetweendevicesandnetworkequipment.CommandCommandCommandCommandModeMod eModeModeInthismode,theusercanthroughtheATcommandtoUARTmoduleandqueryandnetworkparametersSettings.WhenusingtheAT+ENTMexitcommandmode,thedefaultbacktotranslatemode.3.3.3.3.2222.1.1.1. 1SocketSoc ketSocketSocketTransTra nsTransTransModeMod eModeMode1.1.1.1.SocketSoc ketSocketSocketTransTra nsTransTransModeMod eModeModeDDDDescriptionesc riptionescriptionescriptionUSR-C322cansupportserialmodes,include:TCP/UDPTrans,HttpdClient,SSLClient,WEBSocket.1.11.11.11.1TCP/UDPTCP /UDPTCP/UDPTCP/UDPTransTra nsTransTransUARTinterfacecantransparenttransmissionmodehastheadvantageofUARTinterfaceandnetworkcommunicationoftheplugandplay,whichreducethecomplexityoftheusertoagreatextent.Modulestoworkinatransparenttransmissionmode,theusersonlyneedtoconfigurethenecessaryparameters,UARTinterfaceandnetworkcommunicationcanberealized.Afterpoweron,moduleautomaticallyconnectedtothewirelessnetworkandserverconfigured.Transparenttransmissionmodeisfullycompatiblewithyourownsoftwareplatform,reducingtheworkloadofintegrationofwirelessdatatransmissionsoftwaredevelopment.PC1encryptioncanbeenableintransmode.Thedatarecivedfromuart0willbeencriptedbyPC1thenuploadedtotheSocket.Thedatarecivedfromsocketwillbedecriptedthensendthedatathroughserialport.Usersneedtopresetparametersusuallyinclude:WirelessnetworkparametersSSIDsecuritymode
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so16161616/6262626 2secretkeyTCP/UDPparameterprotelconnectiontypedestinationportdestinationaddressUARTparameterBaudratedatabitsstopbitparitybitHardwareflowcontrolNote:Note:Note:Note:AboutAbo utAboutAboutPC1PC1P C1PC1encryptionenc ryptionencryptionencryptionmethodmeth odmethodmethod,,,,pleaseple asepleasepleasereferrefe rreferrefertotototothetheth ethewebsiteweb sitewebsitewebsiteinformationinf ormationinformationinformation"USR-C322"US R-C322"USR-C322"USR-C322PC1PC1P C1PC1EncryptEnc ryptEncryptEncryptininininTransTra nsTransTransModeMod eModeModeUserUse rUserUserManualMan ualManualManualV1.0".V1. 0".V1.0".V1.0".1.21.21.21.2HttpdHtt pdHttpdHttpdClientCli entClientClientmodemod emodemodeHttpdClientmodeispackagedserialdatapacketsintotheHTTPprotocolpacketsandsenttotheserver,theserverreturneddataviaaserialportprinted.SupportPOST,GETmode,UART0,UART1supportthismode.1.31.31.31.3SSLSSLS SLSSLClientCli entClientClientmodemod emodemodeSSLcommunicationisencryptedsecuritypassthroughcommunication,supporttheTCPClientmode.Encryptiontypessupported:SSLV3TLSV1TLSV1_1TLSV1_2SSLv3_TLSV1_2DLSV1Theencryptionalgorithmsupport: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_DEFAULTSupportencryptioncertificateSettings(referencewirelessupgradesoftwareencryptioncertificateburningmethod).OnlyUART1supportthispattern.Note:Note:Note:Note:AboutAbo utAboutAboutSSLSSLS SLSSLClientCli entClientClient,,,,pleaseple asepleasepleasereferref erreferrefertototot othethet hethewebsiteweb sitewebsitewebsiteinformationinf ormationinformationinformation"USR-C322"US R-C322"USR-C322"USR-C322SSLSSLS SLSSLClientClientClientClientUserUse rUserUserManualMan ualManualManualV1.0".V1. 0".V1.0".V1.0".1.41.41.41.4WEBWEBW EBWEBsocketsoc ketsocketsocketmodemod emodemode
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so17171717/6262626 2Supportwebpagewebsocketpassthroughmoduleasthewebserver,port8000,maximumfourclientconnection.Canloginmodulebuilt-intestpage.OnlyUART0supportthispattern.Note:Note:Note:Note:AboutAbo utAboutAboutWEBWEBW EBWEBSocketSoc ketSocketSocketfunctionfun ctionfunctionfunction,,,,pleaseple asepleasepleasereferref erreferrefertototot othethet hethewebsiteweb sitewebsitewebsiteinformationinf ormationinformationinformation"USR-C322"USR-C322"USR-C322"USR-C322WEBWEBW EBWEBSocketSoc ketSocketSocketUserUse rUserUserManualMan ualManualManualV1.0".V1. 0".V1.0".V1.0".2.2.2.2.UARTUAR TUARTUARTFrameFra meFrameFrameSchemeSch emeSchemeSchemeModuleinthereceivingUARTdata,willcontinuetocheckthetimeintervaloftwoadjacentbytes.Ifthetimeintervalisgreaterthanthesetpackingtime(default5ms,canbesetupbytheAT+UARTTE),arguesthattheendofaframe,orhasbeenreceivingdata,incommandmodeisgreaterthan1kbytesarediscardedthereceiveddata,intranslatemodeisgreaterthan1kbytesaresentpacking.3.3.3.3.2222.2.2.2. 2CommandCom mandCommandCommandModeMod eModeModeIncommandmode,themodulewillnolongerworktotranslate,UARTportATthistimeforreceivingtheATcommand,theusercanthroughUARTporttosendATcommandstomodule,UARTforqueryingandsettingmodule,networkandotherrelatedparameters.AslongasthereisaUARTportintotheATcommandmode,theotherUARTportalsoisintheATcommandmode.3.33.33.33.3SocketSocketSo cketSocketCommunicationCommu nicationCommunicationCommunication3.3.13.3.13.3.13.3.1UART0UAR T0UART0UART0SocketSoc ketSocketSocketUART0hasthefollowmode:TCP/UDPTrans,HttpdClient,Websocketcommunication.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so18181818/6262626 2UART1SOCKATCP/UDP TransHttpd ClientGET/POSTWEB SocketTCP ServerTCP ClientUDP ServerUDP ClientPC1 Encrypt/DecryptSOCKBTCP/UDPTransTCP ClientUDP ServerUDP ClientSOCKA1TCP/UDPTransHttpd ClientGET/POSTSSL ClientPC1 Encrypt/decryptTCP ClientUDP ServerUDP ClientWIFIUARTATCommandTrans ModeUART0NetATCommand1)TCP/UDP1)TCP/UDP1)TCP/UDP1)TCP/UDPTransTra nsTransTransModeMod eModeModeInTCP/UDPTransModeUART0hastwosocket(socka,sockb)connection,thedatawritingtoUART0willbeautomaticallysenttothetwosockets.ThedatarecivedfromthetwosocketswillbesentouttheUARTinterface.Sockasupport:TCPServerTCPClient
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so19191919/6262626 2UDPServerUDPClientSockbsupport:TCPClientUDPServerUDPClientYoucansetthemodethroughATcommand(AT+AOCKA,AT+SOCKB)orthroughawebset.WhensetTCPServerSocket,itcansupportuptothreeTCPClientconnection.Whenthefourthclientconnected,thetheearliestconnectionwillbedisconnected.InamultipleTCPlinkconnectionmode,fromtheTCPtransportdatawillbeforwardedtothemonebyoneontheUARTinterface.ComefromtheUARTinterfacedatawillbecopiedintoamore,ineveryTCPforwardingalink.Specificdataflowdiagramshownbelow:WhentheSocketsettoUDPServer,ifaserialportreceivesdatafirst,modulesendsthedatatothealreadysetIP,port(AT+SOCKAset),iftheUDPServerreceivesdata,datasourceaddress,themodulewillrememberafteraserialport,afterreceiptofthedatamodulewillbetransmittedtotheaddressdata.WhenthemoduleissettotheUDPClient,themoduleonlysenddatatotheIPandport,andonlyreceivedatafromtheIPandportaddress(AT+SOCKASettings),thedatafromotheraddressorportisnotforwardedtotheUART.Whenthemoduleissettotcporudpclientmode.Registpacketcanbeadd.TheregistcanbeMAC,ID,customerpacket(32bytes).WheninTCPClientmodebagscanbesettoconnectforthefirsttimesendoraddbeforeeachpacket.InUDPClientmoderegistpacketwillbeaddineachpacketdata.PC1encryptioncanbeenableintransmode.Thedatarecivedfromuart0willbeencriptedbyPC1thenuploadedtotheSocket.Thedatarecivedfromsocketwillbedecriptedthensendthedatathroughserialport.WhenenablePC1encryption,thetime
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so20202020/6262626 2willincreasesfromuarttosocketorfromsockettouart.Inordertoreducelosedata,youshouldincreasethetimeintervalbetweensendingpackets.PC1encryptionalgorithm,pleaserefertothe"USR-C322PC1encryptionintransmodeinstructions".2)2)2)2)HttpdHtt pdHttpdHttpdClientCli entClientClientmodemod emodemodeHttpdClientpatternispackagedserialdatapacketsintotheHTTPprotocolpackets,supportPOST,GETmode,UART0,UART1supportthispattern,specificpackageisasfollows: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>RelatedtotheATcommandset:GET/POSTMode:AT+HTPTPcustomerURL:AT+HTPURLcustomerhead(htp_head):AT+HTPHEADserveraddress:serverport:AT+HTPSV3)3)3)3)WEBSocketWEB SocketWEBSocketWEBSocketFunctionFun ctionFunctionFunctionUSR-C322supportswebsockettransfromwebpagetouart.Themoduleisasawebserver,port8000.ThemoduleonlysupportWebsocketASCIIpassthrough.Thewebsocketservercansupportonlyfourclienttobeconnected.Whenafifthclientconnecttotheserver,thefirstclientwillbeshutdownfromtheserver.Websitesourcecodeisopen,theusercanmodifywebpagerealizetheirspecialneeds,upgradethecustomwebpagepleaserefertothecustomfunctiondescription.OnlyUART0supportthispattern.3.3.23.3.23.3.23.3.2UART1UAR T1UART1UART1SocketSoc ketSocketSocketUART1hasthefollowmode:TCP/UDPTrans,HttpdClient,SSLClientcommunication.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so21212121/6262626 2UART1SOCKATCP/UDP TransHttpd ClientGET/POSTWEB SocketTCP ServerTCP ClientUDP ServerUDP ClientPC1 Encrypt/DecryptSOCKBTCP/UDPTransTCP ClientUDP ServerUDP ClientSOCKA1TCP/UDPTransHttpd ClientGET/POSTSSL ClientPC1 Encrypt/decryptTCP ClientUDP ServerUDP ClientWIFIUARTATCommandTrans ModeUART0NetATCommand1)TCP/UDPTransInTCP/UDPtransmode,UART1hasonesocketthatcanbeTCPClient、UDPServer、UDPClient.2)HttpdClientmodeTheusageissametoUART0.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so22222222/6262626 23)SSLClientmodeSSLClientmodeisanexpansionofTCP/UDPtrans.SSLClienthasalevelofsecurityprotectionthatprovidesahighersecurity,includingauthentication,dataencryptionandintegrityverification.Theauthenticationisusedfortheissuanceandapplicationofadigitalcertificate.Dataencryptioncanpreventthelosscausedbylisteningtoothers,evenifthethirdpartylistenstothenewsofthepassing,butwithouttherightkey,itstillcan'tgettherightmessage.Integrityverificationcanpreventthemessagebeingmodifiedinthedeliveryprocess.Encryptiontypessupported:SSLV3TLSV1TLSV1_1TLSV1_2SSLv3_TLSV1_2DLSV1Theencryptionalgorithmsupport: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_DEFAULTSSLClientsupportencryptioncertificatesetting(reference:USR-C322wirelessupgradesoftware).OnlyUART1supportthismode.3.43.43.43.4CustomCusto mCustomCustomwebwebw ebwebfunctionfun ctionfunctionfunctionUSR-C322supportCustomwebfunction.Usercanmodifythewebpagecontentoraddyourownwebpage.Pleaserefertothespecificimplementationmethod"reference:USR-C322customedwebfunction".3.53.53.53.5SearchSearchSear chSearchininini nlocallocall ocallocalareaareaar eaareanetworknetwo rknetworknetworkModulesupportsearchingmodulewithinthelocalareanetwork(LAN),thatis,whenthemoduleisconnectedtoawirelessrouter,theusercanthroughtoafixedportsendsUDPbroadcastway,togettheIPaddressofthemoduleofthecurrent,inordertorealizethesearch
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so23232323/6262626 2andcommunicationsequipment.SEARCHtheportandkeywordcanbesetbytheAT+SEARCHcommands,default:48899,www.usr.cn.Searchtooloperationprocess:1.ThroughtheUDPbroadcast(broadcastaddress:xx.Xx.Xx.255,port:48899)tosendapassword,thedefaultpasswordis:"www.usr.cn",thelongestcanbesetup20bytes.2.Moduleafterreceivingthepassword,ifthepasswordiscorrect,themoduletoenterconfigurationmode,totheaddress(unicast,sourceport)sendthelocalIPaddress,MACaddress,themodulename,versionnumber.(IP,MAC,MID,ver10.10.100.254,D8B04CFC0000,USR-C322,01.01.10).Moduletoenterconfigurationmodesetifnotreceivedwithin30secondsafterthecommand,themodulewillexittheconfigurationmode,theuserneedstosendsearchcommandword,enterconfigurationmode.3.UserscanthroughthenetworktotheporttosendATcommandstosetupandreadthemoduleworkingstate,theATcommandformatwithaserialporttheATcommand.Note:searchtoolsandmodulesmustbewithinthesameLAN,ifmultipleSTAevenonarouter,runthesearchtoolsofthecomputerandevenontherouter.ThissearchtooltosearchalloftheSTA.3.53.53.53.5TCP/UDPTCP/ UDPTCP/UDPTCP/UDPClientCli entClientClientRegistrationRegi strationRegistrationRegistrationPacketPacketPacketPacketMechanismM ech anismMechanismMechanismWhenthemoduleworkinginTCPorUDPClientClientmode,theusercanopenregistrationpacketmechanism,inordertorealizetheservertothedistinctionbetweenthedatasource,dataofdifferentequipmentmonitoring.ThemodulesupportMAC、ID、USRregistrationpacket.MACis6bytes.IDis0-65535,IDvaluecanbeset.USRregistrationisastringthatissetbycustomer,thelengthisupto32bytesRegistrationpacketIDismainlyusedfortheD2Dsoftwareofthecompany..RegisteredpacketopenedandclosedbyAT+REGENA.Registeredpacketimplementationmechanismisasfollows:TCPClient:TherearetwokindsofTCPClient:registrationmechanism:1Justsendaregistrationpacket,whenthemoduleisconnectedtotheTCPServermodulewillsendTCPServerMAC(6bytes)orID(4bytes),ServerbyMACorIDtodistinguishbetweendifferentdevices.2Everypacketofdatahasregistrationinformation,TCPClientafterthelinktotheserver,aserialportreceiveseachpacketofdatatoincreaseMACorID,todistinguishbetweenequipment.IDorMACchoice,canbesetbytheAT+REGENA.UDPClient:eachmoduleonthesendingUDPpackets,MACorIDwillincreaseineachpacketheaderinformation,andthensend.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so24242424/6262626 23.3.3.3.7777FastFastFastF astAccessAccessA ccessAccessWi-Fi(usrlink)Wi-F i(usrlink)Wi-Fi(usrlink)Wi-Fi(usrlink)WhenonemoduleworksinAPmode,itopensaUDPportusedtoreceivefastaccessWi-Ficommands,theportnumberis48899(iftheversionisunder2.1.10,theportis49000).ThephonePDAcandirectlyconnecttoWi-Finetworkofthemodule,sendcommandstosearchrouterlistandsetSSIDandpassword.Afterthecompletionofsetup,modulewillautomaticallyrestart,connectedtotherouter,workintheSTAmodeatthistime.Protocolformat:SearchingcommandNoNameNumofBytesDescription1head1fixedvalue:0xFF2length2Sumofdatabytesfromlengthbytestocheckbyte(notcontainlengthbytesandcheckbyte).3cmd1Commandtype,0x014check1Sumofbytesfromhead(notcontained)bytetocheckbyte(notcontained).ResponseforsearchingNoNameNumofBytesDescription1head1fixedvalue:0xFF2length2Sumofdatabytesfromlengthbytestocheckbyte(notcontainlengthbytesandcheckbyte).3cmd1Commandtype,0x814APnum1ThenumberofAPwhatmodulescans5SSID1UnsizedTheSSIDofrouter16separator1SeparatorofSSID1,fixedvalue:0x007Signalstrength11Signalstrengthofrouter1,0~100:0%~100%8separator2Separatorofsignalstrength1,fixedvalue:0x0D,0x0A
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so25252525/6262626 2………………MSSIDnUnsizedTheSSIDofrouternM+1separator1SeparatorofSSIDn,fixedvalue:0x00M+2Signalstrength1Signalstrengthofroutern,0~100:0%~100%M+3separator2fixedvalue:0x0D,0x0AM+4check1Sumofbytesfromhead(notcontained)bytetocheckbyte(notcontained).Example:DatafromphonePDAtomodule(HEX):FF00010102DatafrommoduletophonePDA(HEX):FF00148102544553543100400D0A544553543200370D0A1FExplanation:ThephonePDAsendsearchingcommandtomodule,theresponsefrommoduleis:SSIDofrouter1is“TEST1”,signalstrengthofrouter1is64%;SSIDofrouter2is“TEST2”,signalstrengthofrouter2is55%.Note:Theinformationofroutersisorderedbysignalstrength.a)SettingCommandNoNameNumofBytesDescription1head1fixedvalue:0xFF2length2Sumofdatabytesfromlengthbytestocheckbyte(notcontainlengthbytesandcheckbyte).3cmd1Commandtype,0x024reserve1fixedvalue:0x005SSIDUnsizedSSIDofrouter6separator2fixedvalue:0x0D,0x0A7passwordUnsizedPasswordofrouter
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so26262626/6262626 28check1Sumofbytesfromhead(notcontained)bytetocheckbyte(notcontained).ResponseforSettingNoNameNumofBytesDescription1head1fixedvalue:0xFF2length2Sumofdatabytesfromlengthbytestocheckbyte(notcontainlengthbytesandcheckbyte).3cmd1Commandtype,0x824CheckforSSID1IftheSSIDsetbyPDAexist,checkvalueis0x01,otherwiseis0x00.5Checkforpassword1IftheformofpasswordsetbyPDAiscorrect,checkvalueis0x01,otherwiseis0x00.6check1Sumofbytesfromhead(notcontained)bytetocheckbyte(notcontained).Example:DatafromphonePDAtomodule(HEX):FF000F020054455354310D0A313233343536CEDatafrommoduletophonePDA(HEX):FF000382010187Explanation:ThephonePDAsendsettingcommandtomodule,SSIDissetto“TEST1”,passwordissetto“123456”.Theresponsefrommoduleisthatthe“TEST1”Wi-Finetworkexist,theformofpasswordiscorrect.3.3.3.3.8888SimplelinkSimp lelinkSimplelinkSimplelinkConfigurationCon figurationConfigurationConfigurationSimplelinkfunctionmainrealizationmoduleofintelligentnetwork,namelythequickconnecttotheAP.ModulesworkinSTAandAPmode,lowerReloadpin0to3seconds,themodulegetintotheSmartconfigconfiguration,atthistimeReadypinoutputhighandlowlevelof0.5Hz.ThehandhelddeviceconnectedtothemoduletoconnecttotheAP,opentheAPP,enterthepassword,clickon"start".ModulewillautomaticallyrestartaftersuccessfullyconnecttotheAP.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so27272727/6262626 2NoteNoteNoteNote:whenusingtheAT+WSTAAPinformationquerymoduleisconnected,passwordshowSAFE,passwordisnotvisible.3.3.3.3.9999RFC2217RFC 2217RFC2217RFC2217AutomaticAut omaticAutomaticAutomaticBaudBaudB audBaudRateRateRateR ateFunctionFun ctionFunctionFunction3.3.3.3.9999.1.1.1. 1RFC2217RFC 2217RFC2217RFC2217FunctionalFun ctionalFunctionalFunctionalDescriptionDes criptionDescriptionDescription1.RFC2217isaninstantchangeviaEthernetequipmentserialportparametersofastandardprotocol,thisdevicesupportsasimilarRFC2217agreement,notastandardRFC2217,realizethesamefunction,butthedealeasier.2.Sendsacommandtothedeviceafterthisagreement,ifdosetserialportparametersmeettherequirements,notreturnanything,ifthecalibrationerrororagreementiswrong,willbeasacommonpacketviaaserialportforwarding.3.TCPClient,TCPServer,UDPClient,andUDPServer,andbroadcasttheseveralpatternsaresupportthisfunction.4.Thiscommandchangestakeeffectimmediately,donotneedtorestart,wheneffective,notsave,powerislost.3.3.3.3.9999....2222RFC2217RFC 2217RFC2217RFC2217ProtocolPro tocolProtocolProtocolSpecificationSpe cificationSpecificationSpecificationProtocollengthis8bytes,specificagreementcontentasfollows,forexamplethevaluefortheHEXformat:Attachment:aserialportparametersmeaningabitBitnumExplainDatadescribe1:0Databits005bits016bits107bits118bits2Stopbit01bit12bitsdesignationHeaderBpsDatabitChecklength(bytes)3311explainreducemisjudgmentbaudratevalue,highintheformerDifferentbitstorepresentdifferentmeanings,seetableSumofthefrontfourExample(115200,N,8,1)55AA5501C2008346Example(9600,N,8,1)55AA550025808328
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so28282828/6262626 23Enabledcheck0Disablecheck1Enablecheck5:4Checktype00ODD01EVEN10Mark11Clear7:6NC00Write03.3.3.3.10101010SleepSlee pSleepSleepModeMod eModeModeIntroductionIntr oductionIntroductionIntroductionModulescanopenlowpowermode.Inmoduleundernormalcondition,ifthenetworkanduartportforcertaintime10-240seconds(AT+SLPTYPESettings)doesnotdatacommunicationmoduleintolowpowermode.Theusercanchoosedifferentsleepmode(0to4).Waystherearetoawakenthenetworksideandserialport:networksidereferstoestablishthewificonnection,toestablishasocketconnectionwithmoduleandsenddatatothesocket,aserialportendpointstoaserialporttosenddata.Forexample:setupAT+SLPTYPE=2,200Whenthemodulenetworkend(refertothesocketend)andaserialportfor200secondsdidn'treceivethedata,themoduleintoDeepsleepmode(mode2).3.3.3.3.1010101 0.1.1.1. 1ModeMod eModeModeIntroductionInt roductionIntroductionIntroductionModeModeModeMode0:0:0:0 :ActiveAct iveActiveActiveModeMod eModeModeTheActivemode,thesystemclockis80MHZ.Modulerunningvariousperipherals.Correspondingmode0,thatis,normalworkmode,themoduleoptimalperformance.ModeModeModeMode1:1:1:1 :SleepSle epSleepSleepModeMod eModeModeSleepmode,thesystemclockto80MHZ.Throughaserialportornetworkpackets,gpioportoutput,moduleafterawakeningfromenteringhibernationcontinuestorun,wakeuptheresponsetimeshorterthandeepsleepmode.Correspondingmode1.ModeModeModeMode2:2:2:2 :DeepsleepDee psleepDeepsleepDeepsleepModeMod eModeModeModuleintodeepsleepdormancy,reducedto40MHZsystemclock.Mightwakeupviaaserialportornetworkpackets,gpioportoutput,moduleafterawakeningfromenteringhibernationcontinuestorun,wakeuptheresponsetimeabitlongerthanthesleepmode.Thanthenormaloperationofthelowerpowerconsumptionabout5ma.Thecorrespondingmode2.ModeModeModeMode3:3:3:3 :LPDSLPD SLPDSLPDSModeMod eModeModeModuleintoLPDSmode,networkpartkeeprunning,modulegpioportoutputishighimpedancestate.Viaaserialportornetworkpacketswakeup,wakeupaftertherestartoperationmodule.Correspondingmode3.ModeModeModeMode4:4:4:4 :HibernateHib ernateHibernateHibernateModeMod eModeModeModuleintothehibernatemode,networkandMCUareenteringsleepmode,gpioportoutputhighimpedancestate,onlythroughaserialportdata.Moduleaftertherestart.PowerconsumptioncanbeachievedtheuAlevel.Correspondingmode4.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so29292929/6262626 23.3.3.3.1010101 0.2.2.2. 2PowerPow erPowerPowerReferenceRef erenceReferenceReferenceTableTab leTableTableNodatatransmissionmodule,thepowerconsumptionmodereferenceisasfollows:PowermodeUART、GPIO、network Wakeupmode STA AP0UART、GPIO、networkworkingnone18mA74mA1UART、GPIO、networkworkingUart,network13mA71mA2UART、networkworkingUart,network9mA70mA3UART、networkworkingUart,network3.5mA70mA4GPIO(RXD)workingUart(RXD)24uA24uAThemodetodistinguishthetable:PowermodeStillworkingWakeupsourceRunfrequencyMCUWIFIUARTGPIOnetworkUARTGPIOnetwork080M180MRXD240MRXD332.768KhzRXD432.768KhzRXD RXDRXDThedifferencebetweenallmodules,lowpowerconsumptionmodeisasfollows:Wakeuptheresponsetime:frommode0to4,wakeuptheresponsetimeincreasesgradually.Powerconsumption:frommode0to4,graduallyreducethepowerconsumption.Example:lowpowerconsumption1、Wifimoduleonline,variousperipheralsworkisnormal,thedatatransmissionbetweentheintervalofafewseconds,use"pattern1".2、Wifimoduleonline,variousperipheralsworkingfrequencydeclineordoesnotwork,youcanuse"mode2"Deepsleepmodel.3、Moduletokeeponline,canthroughtheremotewirelessequipment,occasionallytranslatedata,suittouse"mode3"Lpdsmode,remoteequipmentafterwakeupthemodule,themoduletoestablishtheconnectionwiththeremotedevice,sendingandreceivingdata.4、Whentheuserequipmentdoesnotneedtobeonlineforalongtime,onlyoccasionallyarouseinitiativetosenddatatotheserver,youcanuse"mode4"Hibernatemode.Aframetoaserialporttosenddata,wakeupmodule,themodulewillbeaccordingtosetthewifi,TCPsocketparameters,theactivelinktotheserver,translatedata,translateiscompletedaccordingtosetthetimetosleep.<<<<notenot enotenote>>>>:serialawakensthemodule,inLpdsmode,Hibernatemode,practicalfortheRXDpin.Somustcontain08bitsofdata,namelytheneedtoguaranteetheRXDpinhasalowlevel,thispacketjustwakeupmodule,datapacketloss,not
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so30303030/6262626 2translate.4444、、、、ParameterParameterParameterParameterSettingSett ingSettingSettingTheparametersofthemoduleconfigurationpageconfiguration,AT+commandconfigurationintwoways,behindwilldetailtheuseoftwoways.4.14.14.14.1WebWebW ebWebPagePagePag ePageConfigurationCon figurationConfigurationConfiguration4.1.14.1.14.1.14.1.1TheTheT heTheWebWebW ebWebManagementMan agementManagementManagementPagePag ePagePageWhenusingthemoduleforthefirsttime,needsomeconfigurationonthemodule.ByPCconnectionmoduleAPinterface,theusercanusethewebmanagementpageconfiguration.Bydefault,themoduleofAPinterfaceSSID,IPaddress,usernameandpasswordareasfollows:parameter defaultsettingSSIDUSR-C322IPaddress192.168.1.1mask255.255.255.0usernameadminkeyadmin4.1.24.1.24.1.24.1.2OpenOpe nOpenOpenManagementMan agementManagementManagementWebWebW ebWebPagePag ePagePageLinkwithPCwirelesscardfirst,afterwaitingforconnectionisgood,opentheIEbrowser,intheaddressbarenter192.168.1.1,carriagereturn,theloginpage,thedefaultloginasadmin,thepasswordfortheadmin.WebsupportswitchinbothChineseandEnglish,canthroughthewebpagetoprightcorner"Chinese|English"switch,alsocanthroughtheatcommandset.Thenthewebmanagementpagewillappear.Managementpageincluding"systemstatus""WiFiSet""UART0Set""UART1Set""ExtraFunction""AccountSet""ReloadRestar”“AboutUSR”.1)TheSystemStatusPageMainlyforthemoduleoperationparameters,including:MACaddress,MIDnumber,versionandWiFilinkstate.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so31313131/6262626 22)WiFiParameterSetting:1WifiModeSelect:WifimodelcanchoosethemodeloftheSTAandAP,clicksaveSettings,restarttotakeeffect.2APParameterSetting:SettingmoduleinAPmodeSSIDandpassword(APmodepasswordfor8-63),encryptionmodeisWPA2PSKbydefaultmode,clicksaveSettings,restarttotakeeffect.3STAParameterSetting:SettingmoduleintheSTAmodeneedstoconnectAPSSIDandpassword(adaptiveencryptionmodule),DHCPisenabled.WhentheconnectionoftheAPisnoencryption,setthepasswordtonone.DHCPautomaticallyobtainIPenabled,themodulewillautomaticallygettheIP,DHCPcanban,throughinputtheIP,subnetmask,gateway,andobtainastaticIP,restarttotakeeffect.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so32323232/6262626 2Note:Note:Note:Note:whenthenetworknameandpassworddoesnotsupportthedoublequotes,comma,and,or,greaterthan,lessthanandotherspecialcharacters.3)UART0Setting:1UARTparameterssetPeripheralsparameterssetmainlysetserialport,serialportbaudratecanbesetto300-3000000,databitscanset5-8bits,paritybitcanbesettonocheck,oddparity,parity,stopbitscanbesetto1to2,aserialportflowcontrolcanbesettoenabled.Serialportcanopen485features,pin25serialflowcontrolRTSpinisthecontrolpinof485,upthepintosenddata,lowthepintoreceivedata.Effectingafterrestart.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so33333333/6262626 22Socketsetwithuart0Thesocketsetaboutuart0includes:SocketMode(Trans,Httpdclient,WEBSocket).Inthedifferentmode,therewillbedifferentset.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so34343434/6262626 24)UART1Setting:1UART1parameterssetPeripheralsparameterssetmainlysetserialport,serialportbaudratecanbesetto300-3000000,databitscanset5-8bits,paritybitcanbesettonocheck,oddparity,parity,stopbitscanbesetto1to2.Thereisnotflowcontroland485function.Effectingafterrestart.2Socketsetwithuart1Thesocketsetaboutuart1includes:SocketMode(Trans,Httpdclient,SSLSocket,OFF).Inthedifferentmode,therewillbedifferentset.SelectingOFFisclosethesocketfunctionwithuart1.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so35353535/6262626 25)ExtraFunctionInextrafunctionpage,youcansetsearchparametersinlannandmodulemid.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so36363636/6262626 26)AccountSet:Accountmanagementcansettheusernameandpasswordloginpage,thelengthmustbe5bytes,clicksaveSettings,restarttotakeeffect.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so37373737/6262626 27)ReloadRestar:Thispageincludesthemoduletothefactorystateandrestartthemodulefunction.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so38383838/6262626 28)AboutUSR:ThispageisasimpleintroductionofJinanUSRIOTTechnologyLimited.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so39393939/6262626 24.24.24.24.2AT+AT+A T+AT+CommandsComman dsCommandsCommandsConfigurationCon figurationConfigurationConfigurationAT+Instructionrefersto,incommandmodeuserbymodulewithUARTandSPIcommandsetofinstructions,behindwilldetailtheuseofAT+instructionformat.Afterthesuccessoftheelectricstart,canthroughtheUARTforsettingmodule.ModuleofthedefaultUARTportparametersfor:115200baudrate,nocheck,8databits,onestopbit.<explainexplainexplainexplain>TheATcommanddebuggingtools,UARTinterfaceisrecommendedtouseSecureCRTsoftwaretoolsorsomeprofessionalapplications.ThefollowingisintroducedusingUARTcommunicationandSecureCRTtooldemo.Fromtranslatemodeswitchtothecommandmodetothefollowingtwosteps:OntheUARTinput"+++",moduleafterreceiving"+++"willreturnaverificationcode"a";Inputvalidationcode"a"ontheUART ,moduleafterreceivingtheconfirmation,returntothe"+"OK"toconfirm,enterthecommandmode;
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so40404040/6262626 2<explainexp lainexplainexplain>Intheinput"+++"and"thecode"a",noecho,asshownintheabove.Input"+++"and"a"needstobedoneinacertainperiodoftime,inordertoreducetheprobabilityofnormalwork,wronglyintocommandmode.Specificrequirementsareasfollows:FromthecommandmodetoswitchtotranslatemodeneedtoadopttheAT+ENTMcommand,thecommandAT+ENTMmodeinput,endwithacarriagereturn,youcanswitchtotranslatemode.4.2.14.2.14.2.14.2.1AT+AT+A T+AT+SummarySum marySummarySummaryofofofo fInstructionIns tructionInstructionInstructionSetSetS etSetAT+Instructionscanbedirectlythroughthesuperterminalserialdebuggersuchasinput,canalsobeprogrammedtoinput.AT+Instructionsthecommandline,basedonASCIIformatisasfollows:FormatSpecification<<<<>>>>:Apartofmustcontain[[[[]]]]:theoptionalpartsCommandAT+<CMD>[op][para-1,para-2,para-3,para-4AT+<CMD>[op][para-1,para-2,para-3,para-4AT+<CMD>[op][para-1,para-2,para-3,para-4AT+<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>: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…………]<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.so41414141/6262626 2ErrorCodeerrorcodetableErrorErrorErrorErrorCodeCod eCodeCode DescriptionDescriptionDescriptionDescription-1InvalidCommandFormat-2InvalidCommand-3InvalidOperationSymbol-4InvalidParameter-5OperationNotPermitted4.2.24.2.24.2.24.2.2ATATATA TCommandCom mandCommandCommandIntroductionInt roductionIntroductionIntroductionAT+commandNONONONO CommandCommandCommandCommand DescriptionDescriptionDescriptionDescriptionBasicCommand1ENTMSetmoduleintotransparenttransitionmode2EOpen/Closeshowbackfunction3ZRe-startmodule4CFGTFCopyUserParameterstoFactoryDefaultParameters5RELDRestoretofactorydefaultsetting6MACReadtheMACofmodule7SEARCHSet/queryLANportandkeywordsearch8MIDQuerymoduleIDinformation9PLANGWebloginlanguages10WEBUSet/querywebsiteloginusernameandpassword11VERQueryThemodulefirmwareversion12PINGNetwork”Ping”command13WSCANScanAP14SLPTYPESetthesleepmodeWifiSet15WMODESet/QueryWi-Fiworkmode(AP/STA)16WSTASet/queryassociatedAPSSIDandpassword;17WANNSet/querySTAnetworkparameters;18WSLKQuerySTAWi-Filinkstatus19WAPSet/queryAPwi-ficonfigurationparameters;20CHANNELChannelmoduleAPmode21LANNSettheIP/querymoduleAPmodeUart0set22UARTSet/queryUARTinterfaceparameters23UARTTESet/queryaserialportfreeframingintervals24WKMODUART0Socketworkmode25SOCKASet/querynetworkprotocolparameters26SOCKLKAQuerywhethertheTCPlinkchainhasbeenbuilt27SOCKDISASetthetcpclientreconnectmode28SOCKBSet/querynetworkprotocolparameters
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so42424242/6262626 229SOCKLKBQuerywhethertheTCPlinkchainhasbeenbuilt30SOCKDISBSetthetcpclientreconnectmode31RFCENACanmake/banRFC2117function32REGENACanmake/registrationpacketmechanismisprohibited33REGIDRegistrationpacketIDset34REGUSRCustomerdefineregistrationpacket35TRENCEncriptenable/disableintransmode36HTPTPHttpdClientGET/POSTset37HTPSVHttpdClientserveraddress38HTPHEADHttpdClientcustomerdefinedhead39HTPURLHttpdClientPOSTURLaddress40HTPCHDHttpdClientreturndatacutheadenable/disableUart1set41UART1Set/queryUARTinterfaceparameters42UARTTE1Set/queryaserialportfreeframingintervals43WKMOD1UART1Socketworkmode44SOCKA1Set/querynetworkprotocolparameters45SOCKLKA1QuerywhethertheTCPlinkchainhasbeenbuilt46SOCKDISA1Setthetcpclientreconnectmode47RFCENA1Canmake/banRFC2117function48REGENA1Canmake/registrationpacketmechanismisprohibited49REGID1RegistrationpacketIDset50REGUSR1Customerdefineregistrationpacket51TRENC1Encriptenable/disableintransmode52HTPTP1HttpdClientGET/POSTset53HTPSV1HttpdClientserveraddress54HTPHEAD1HttpdClientcustomerdefinedhead55HTPURL1HttpdClientPOSTURLaddress56HTPCHD1HttpdClientreturndatacutheadenable/disable57SSLSECMSSLencripttype58SSLMASKSSLencriptmethod59SSLCASSLCertificateTitle60SSLIPPSSLserveraddressandport1)AT+ENTMFunction:Exitthecommandmode,enterthetranslatemode;Format:SetAT+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:noneAfterthecommandisexecutedcorrectly,modulefromthecommandmodeswitch
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so43434343/6262626 2totranslatemode.2)AT+EFunction:Set/querymoduleechotheatcommandsetFormat:QueryAT+EAT+ EAT+EAT+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>SetAT+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,echotheATcommandinputcommand,off:theATcommandmode,typethecommanddoesnotecho.3)AT+ZFunction:RestartthemoduleFormat:SetAT+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:noneAfterthecommandisexecutedcorrectly,restartthemodule.4)AT+CFGTFFunction:Afterthecommandisexecutedcorrectly,restartthemodule.Format:SetAT+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:Setupfailed5)AT+RELDFunction:RecoverymoduleconfigurationparametersfortheuserthefactoryconfigurationparametersFormat:SetAT+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:noneThecommandmoduleconfigurationparametersrestoretotheuserfactorySettings,andthenrestartautomatically.6)AT+MACFunction:QueryMACFormat:QueryAT+MAC<CR>AT+MAC<CR>AT+MAC<CR>AT+MAC<CR>
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so44444444/6262626 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:MACofthemodul(example01020304050A);7)AT+SEARCHFunction:Set/queryinLANportandsearchmodulesearchkeywordsFormat:QueryAT+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>SetAT+AT+AT+AT+SEARCHSEA RCHSEARCHSEARCH<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.cn(Upto20bytes).8)AT+MIDFunction:SettheMID/querymoduleFormat:QueryAT+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>SetAT+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:QueryAT+AT+AT+AT+PLANGPLA NGPLANGPLANG<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>SetAT+AT+AT+AT+PLANGPLA NGPLANGPLANG=<=<=<= <languagelan guagelanguagelanguage><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/EN,CNsaidlandingpagedefaultdisplayinChinese;ENsaidlandingpagewhenthedefaultdisplayinEnglish.10)AT+WEBUFunction:Set/querywebsiteloginusernameandpassword;Format:QueryAT+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.so45454545/6262626 2SetAT+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,doesnotsupportnull;password:Password,thelengthmustbe5characters;11)AT+VERFunction:Set/querymodulefirmwareversionFormat:QueryAT+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>SetAT+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,BBonbehalfoftheminorversionnumber,Arthurc.CCrepresentsthehardwareversion12)AT+PINGFunction:Network"Ping"commandFormat:SetAT+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,domainnameupto64bytes.STA:returnedvalueSUCCESSTIMEOUT13)AT+WSCANFunction:SearchAP:QueryAT+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_site_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:MAC(11:22:33:44:AA:BB)SecurityIndicatorRSSI
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so46464646/6262626 2Note:intheAPmodeWSCANcommand,responsewillbeslightlyslower,ifhasestablishedaTCPconnection,theconnectionwillbedisconnected,needtorestartaftertheconnectionisestablished.14)AT+SLPTYPEFunction:SetthequerysleepmodeFormat:QueryAT+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>SetAT+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);1setthemoduletosleepmode;2setthemoduletodeepsleepmode;3setthemoduletoLPDSmode;4setthemoduletodeepsleepmode;TIME:10-240seconds.Setthemodulewithoutcommunicationlasttime.Whenlasttimenodatatransmissionmodule,enterthesleepmode,accordingtothemodepatternsintodifferentdormancy.Note:whensettonosleep,onlysetATATATA T++++SLPTYPESLP TYPESLPTYPESLPTYPE====0000<<<<CRCRCRC R>>>>15)AT+WMODEFunction:SetthequerywifiworkingmodeFormat:QueryAT+WMODE<CR>AT+WMODE<CR>AT+WMODE<CR>AT+WMODE<CR><CR><LF>+OK=<<CR><LF>+OK=<<CR><LF>+OK=<<CR><LF>+OK=<statussta tusstatusstatus><CR><LF>><C R><LF>><CR><LF>><CR><LF>SetAT+WMODEAT+WMODEAT+WMODEAT+WMODE=<=<=<= <statussta tusstatusstatus><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:ThemoduleintheSTAmodel16)AT+WSTAFunction:Set/queryassociatedAPSSIDandpassword;Format:QueryAT+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>SetAT+AT+AT+AT+WSTAWST AWSTAWSTA=<AP's=<A P's=<AP's=<AP'sssidssi dssidssid><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.so47474747/6262626 2AP'sssid:APSSID(upsupport32bytes);key:APpassword,thedefaultencryptionforwpa2psk,noencryptionissettoNONE.Note:thessidandkeydoesnotsupport","specialcharacters.17)AT+WANNFunction:Set/querymoduleaccesstoIP(DHCP/STATIC);Format:QueryAT+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>SetAT+WANN=<mode,address,mask,gateway,dnsAT+WANN=<mode,address,mask,gateway,dnsAT+WANN=<mode,address,mask,gateway,dnsAT+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:dynamicIP(address,mask,gateway,DNSareomitted)address:IP;mask:mask;gateway:gatewaydns:DNSNote:setthemoduletogetthedynamicIP,justsetupAT+WANN=DHCP<CR>18)AT+WSLKFunction:QuerytheSTAwirelesslinkstate;Format:QueryAT+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“APSSID(APMAC)”rssi:0-100,Whensignalstrengthisrequiredlessthan10weaksignal,whenthedatatransmissionmaylosedata.19)AT+WAPFunction:Set/queryAPwi-ficonfigurationparameters;Format:QueryAT+WAP<CR>AT+ WAP<CR>AT+WAP<CR>AT+WAP<CR><CR><LF>+OK=<<CR><LF>+OK=<<CR><LF>+OK=<<CR><LF>+OK=<ssid,keyssi d,keyssid,keyssid,key><CR><LF>><C R><LF>><CR><LF>><CR><LF>SetAT+AT+AT+AT+WAPWAPW APWAP=<=<=<= <ssid,keyssi d,keyssid,keyssid,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.so48484848/6262626 2key:SettheAPencryptionpassword(thedefaultwpa2pskencryption,passwordlengthgreaterthanorequalto8bytes),settoNoneiswithoutencryptionNote:thessidandkeydoesnotsupport","specialcharacters.20)AT+CHANNELFunction:ChannelSettings/querymoduleAPmodeFormat:QueryAT+CHANNELAT+ CHANNELAT+CHANNELAT+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>SetAT+AT+AT+AT+CHANNELCHA NNELCHANNELCHANNEL=<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:QueryAT+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>SetAT+AT+A T+AT+LANNLAN NLANNLANN=<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:mask22)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–8bitsstop_bits:1,2parity:checkNONEEVENODD
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so49494949/6262626 2MaskSpaceflowctrl:CTSRTSNFC:DisablehardwareflowcontrolFC:Enablehardwareflowcontrol485:485communications,UART_RTSas485sendcontrolterminalNote:whenthebaudratearesubjecttochange,willautomaticallychangethepackaginginterval,see27)AT+UARTTE.23)AT+UARTTEFunction:Set/queryfreeframingintervalsFormat:QueryAT+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>SetAT+AT+AT+AT+UARTTE=<numUAR TTE=<numUARTTE=<numUARTTE=<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,Ifyouwanttochangethepackaginginterval,pleasefirstsetthebaudrate:bps<=600,num=250ms;bps>=20000,num=5ms;500<bps<20000,num=1000/bps*10*10.24)AT+WKMODFunctionSet/querythesocketofuart0workmodeFormat:QueryAT+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>SetAT+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:mode:workmodeTRANStransmodeHTPCHttpdCientWEBSOCKWEBSocketfunction25)AT+SOCKAFunction:Set/querynetworkprotocolparametersFormat:QueryAT+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.so50505050/6262626 2AT+SOCKA=<AT+SOCKA=<AT+SOCKA=<AT+SOCKA=<protocol,IP ,portpro tocol,IP ,portprotocol,IP ,portprotocol,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,lessthan6553526)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:TCPDisconnected27)AT+SOCKDISAFunction:Queryisthereaclienthaveconnected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:disabletcpclientreconnect28)AT+SOCKBFunction:Set/querynetworkprotocolparametersFormat:QueryAT+SOCKAT+ SOCKAT+SOCKAT+SOCKBBBB<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>SetAT+SOCKAT+SOCKAT+SOCKAT+SOCKBBBB=<=<=<= <protocol,IP ,portpro tocol,IP ,portprotocol,IP ,portprotocol,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,lessthan6553529)AT+SOCKLKB
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so51515151/6262626 2Function:QuerytheTCPlinkisestablished;Format:AT+AT+A T+AT+SOCKLKSOC KLKSOCKLKSOCKLKBBBB<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:TCPDisconnected30)AT+SOCKDISBFunction:QueryisthereaclienthaveconnectedFormat:AT+AT+AT+AT+SOCKDISSOC KDISSOCKDISSOCKDISBBBB<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:disabletcpclientreconnect31)AT+RFCENAFunction:Enable/DisableRFC2217FunctionFormat:QueryAT+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>SetAT+RFCENAAT+RFCENAAT+RFCENAAT+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:DisableRFC2217Function32)AT+REGENAFunction:SetthequeryregistrationpacketmechanismFormat:QueryAT+REGENA<CR>AT+REGENA<CR>AT+REGENA<CR>AT+REGENA<CR><CR><LF>+OK=<<CR><LF>+OK=<<CR><LF>+OK=<<CR><LF>+OK=<statussta tusstatusstatus,method><CR><LF>met hod><CR><LF>method><CR><LF>method><CR><LF>SetAT+REGENAAT+REGENAAT+REGENAAT+REGENA=<=<=<= <statussta tusstatusstatus,methodmet hodmethodmethod><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,theregistrypacketIDis2bytesMAC:packetmechanismcanmakecanmaketheregistration,theregistrypacketis6bytesMAC
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so52525252/6262626 2USR:customerdefinedpacketOFF:BancanregisterpacketmechanismmethodEVERYIncreaseregisteredbeforeeachpacketofdatapacketFIRSTOnlylinktotheserversendsaregisteredpacketforthefirsttimeNotice:ifdisabletheregister,justsetAT+REGENA=OFF\r.33)AT+REGIDFunction:SetthequeryregistrationpacketIDFormat:QueryAT+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>SetAT+REGIDAT+REGIDAT+REGIDAT+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-65535,DecimalFormat,whenselectingregistrationpacketID,itismainlyusedfortheD2Dsoftwareofourcompany.34)AT+REGUSRFunction:Setthecustomerdefinedregistration.Format:QueryAT+REGAT+REGAT+REGAT+REGUSRUSRU SRUSR<CR><CR ><CR><CR><CR><LF>+OK=<<CR><LF>+OK=<<CR><LF>+OK=<<CR><LF>+OK=<datadat adatadata><CR><LF>><C R><LF>><CR><LF>><CR><LF>SetAT+REGAT+REGAT+REGAT+REGUSRUSRU SRUSR=<=<=<= <datadat adatadata><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:QueryAT+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>SetAT+TRENCAT+TRENCAT+TRENCAT+TRENC=<=<=<= <state,datasta te,datastate,datastate,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:1234567890abcdef1234567890abcdef,the16byteskeyis:0x12,0x34...0xef,16bytes36)AT+HTPTPFunction:Set/Querythemodeofhttpdclient.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so53535353/6262626 2Format:QueryAT+AT+A T+AT+HTPTPHTP TPHTPTPHTPTP<CR><CR ><CR><CR><CR><LF>+OK=<<CR><LF>+OK=<<CR><LF>+OK=<<CR><LF>+OK=<datadat adatadata><CR><LF>><C R><LF>><CR><LF>><CR><LF>SetAT+AT+AT+AT+HTPTPHTP TPHTPTPHTPTP=<=<=<= <datadat adatadata><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:QueryAT+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>SetAT+HTPSVAT+HTPSVAT+HTPSVAT+HTPSV=<=<=<= <address,portadd ress,portaddress,portaddress,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-6553538)AT+HTPHEADFunction:Set/Querythehttpdclient.Format:QueryAT+HTPAT+HTPAT+HTPAT+HTPHEADHEA DHEADHEAD<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>SetAT+HTPAT+HTPAT+HTPAT+HTPHEADHEA DHEADHEAD=<=<=<= <address,portadd ress,portaddress,portaddress,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-6553539)HTPURLFunction:Set/Querythehttpdclientposturl.Format:QueryAT+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>SetAT+HTPURLAT+HTPURLAT+HTPURLAT+HTPURL=<=<=<= <datadat adatadata><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,themaxlengthis200bytesThe<<CRLF>>replace“/r/n”.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so54545454/6262626 2like:Accept:image/gif<<CRLF>>Content-Type:text/html<<CRLF>>40)HTPCHDFunction:Set/Querythestateofcuttingheadofreturndata.Format:QueryAT+HTPAT+HTPAT+HTPAT+HTPCHDCHDC HDCHD<CR><CR ><CR><CR><CR><LF>+OK=<<CR><LF>+OK=<<CR><LF>+OK=<<CR><LF>+OK=<statesta testatestate><CR><LF>><C R><LF>><CR><LF>><CR><LF>SetAT+HTPAT+HTPAT+HTPAT+HTPCHDCHDC HDCHD=<=<=<= <statesta testatestate><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+UARTAT+UARTAT+UARTAT+UART1111<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+UARTAT+UARTAT+UARTAT+UART1111=<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:5–8bitsstop_bits:1,2parity:checkNONEEVENODDMARKSPACENote:whenthebaudratearesubjecttochange,willautomaticallychangethepackaginginterval,seeAT+UARTTE1.42)AT+UARTTE1Function:Set/queryfreeframingintervalsFormat:QueryAT+AT+AT+AT+UARTTEUAR TTEUARTTEUARTTE1111<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>SetAT+AT+AT+AT+UARTTEUAR TTEUARTTEUARTTE1111=<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.so55555555/6262626 2Parameters:num:5-250:Freeframingmodetheintervalbetweentwobytesms.Note:thisparameterwillautomaticallychangewhensetthebaudrate,Ifyouwanttochangethepackaginginterval,pleasefirstsetthebaudrate:bps<=600,num=250ms;bps>=20000,num=5ms;500<bps<20000,num=1000/bps*10*10.43)AT+WKMOD1FunctionSet/querythesocketofuart0workmodeFormat:QueryAT+WKMODAT+ WKMODAT+WKMODAT+WKMOD1111<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>SetAT+WKMODAT+WKMODAT+WKMODAT+WKMOD1111=<=<=<= <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:mode:workmodeTRANStransmodeHTPCHttpdCientSSLSSLSocketfunctionOFFclosesocketa144)AT+SOCKA1Function:Set/querynetworkprotocolparametersFormat:QueryAT+SOCKAAT+SOCKAAT+SOCKAAT+SOCKA1111<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>SetAT+SOCKAAT+SOCKAAT+SOCKAAT+SOCKA1111=<=<=<= <protocol,IP,portpro tocol,IP,portprotocol,IP,portprotocol,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,lessthan6553545)AT+SOCKLKA1Function:QuerytheTCPlinkisestablished;Format:AT+AT+AT+AT+SOCKLKASOC KLKASOCKLKASOCKLKA1111<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.so56565656/6262626 2CONNECT:TCPconnectedDISCONNECTED:TCPDisconnected46)AT+SOCKDISA1Function:QueryisthereaclienthaveconnectedFormat:AT+AT+AT+AT+SOCKDISASOC KDISASOCKDISASOCKDISA1111<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:disabletcpclientreconnect47)AT+RFCENA1Function:Enable/DisableRFC2217FunctionFormat:QueryAT+RFCENAAT+ RFCENAAT+RFCENAAT+RFCENA1111<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>SetAT+RFCENAAT+RFCENAAT+RFCENAAT+RFCENA1111=<=<=<= <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:DisableRFC2217Function48)AT+REGENA1Function:SetthequeryregistrationpacketmechanismFormat:QueryAT+REGENAAT+REGENAAT+REGENAAT+REGENA1111<CR><CR ><CR><CR><CR><LF>+OK=<<CR><LF>+OK=<<CR><LF>+OK=<<CR><LF>+OK=<statussta tusstatusstatus,method><CR><LF>met hod><CR><LF>method><CR><LF>method><CR><LF>SetAT+REGENAAT+REGENAAT+REGENAAT+REGENA1111=<=<=<= <statussta tusstatusstatus,methodmet hodmethodmethod><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,theregistrypacketIDis2bytesMAC:packetmechanismcanmakecanmaketheregistration,theregistrypacketis6bytesMACUSR:customerdefinedpacketOFF:BancanregisterpacketmechanismmethodEVERYIncreaseregisteredbeforeeachpacketofdatapacketFIRSTOnlylinktotheserversendsaregisteredpacketforthefirsttimeNotice:ifdisabletheregister,justsetAT+REGENA1=OFF\r.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so57575757/6262626 249)AT+REGID1Function:SetthequeryregistrationpacketIDFormat:QueryAT+REGIDAT+ REGIDAT+REGIDAT+REGID1111<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>SetAT+REGIDAT+REGIDAT+REGIDAT+REGID1111=<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-65535,DecimalFormat,whenselectingregistrationpacketID,itismainlyusedfortheD2Dsoftwareofourcompany.50)AT+REGUSR1Function:Setthecustomerdefinedregistration.Format:QueryAT+REGAT+REGAT+REGAT+REGUSR1USR 1USR1USR1<CR><CR ><CR><CR><CR><LF>+OK=<<CR><LF>+OK=<<CR><LF>+OK=<<CR><LF>+OK=<datadat adatadata><CR><LF>><C R><LF>><CR><LF>><CR><LF>SetAT+REGAT+REGAT+REGAT+REGUSR1USR 1USR1USR1=<=<=<= <datadat adatadata><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:QueryAT+TRENCAT+TRENCAT+TRENCAT+TRENC1111<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>SetAT+TRENCAT+TRENCAT+TRENCAT+TRENC1111=<=<=<= <state,datasta te,datastate,datastate,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:1234567890abcdef1234567890abcdef,the16byteskeyis:0x12,0x34...0xef,16bytes52)AT+HTPTP1Function:Set/Querythemodeofhttpdclient.Format:QueryAT+AT+AT+AT+HTPTP1HTP TP1HTPTP1HTPTP1<CR><CR ><CR><CR><CR><LF>+OK=<<CR><LF>+OK=<<CR><LF>+OK=<<CR><LF>+OK=<datadat adatadata><CR><LF>><C R><LF>><CR><LF>><CR><LF>SetAT+AT+AT+AT+HTPTP1HTP TP1HTPTP1HTPTP1=<=<=<= <datadat adatadata><CR>><C R>><CR>><CR>
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so58585858/6262626 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:QueryAT+HTPSVAT+HTPSVAT+HTPSVAT+HTPSV1111<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>SetAT+HTPSVAT+HTPSVAT+HTPSVAT+HTPSV1111=<=<=<= <address,portadd ress,portaddress,portaddress,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-6553554)AT+HTPHEAD1Function:Set/Querythehttpdclient.Format:QueryAT+HTPAT+HTPAT+HTPAT+HTPHEAD1HEA D1HEAD1HEAD1<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>SetAT+HTPAT+HTPAT+HTPAT+HTPHEAD1HEA D1HEAD1HEAD1=<=<=<= <address,portadd ress,portaddress,portaddress,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-6553555)HTPURL1Function:Set/Querythehttpdclientposturl.Format:QueryAT+HTPURLAT+HTPURLAT+HTPURLAT+HTPURL1111<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>SetAT+HTPURLAT+HTPURLAT+HTPURLAT+HTPURL1111=<=<=<= <datadat adatadata><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,themaxlengthis200bytesThe<<CRLF>>replace“/r/n”.like:Accept:image/gif<<CRLF>>Content-Type:text/html<<CRLF>>56)HTPCHD1Function:Set/Querythestateofcuttingheadofreturndata.Format:QueryAT+HTPAT+HTPAT+HTPAT+HTPCHD1CHD 1CHD1CHD1<CR><CR ><CR><CR>
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so59595959/6262626 2<CR><LF>+OK=<<CR><LF>+OK=<<CR><LF>+OK=<<CR><LF>+OK=<statesta testatestate><CR><LF>><C R><LF>><CR><LF>><CR><LF>SetAT+HTPAT+HTPAT+HTPAT+HTPCHD1CHD 1CHD1CHD1=<=<=<= <statesta testatestate><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:QueryAT+AT+AT+AT+SSLSECMSSL SECMSSLSECMSSLSECM<CR><CR ><CR><CR><CR><LF>+OK=<<CR><LF>+OK=<<CR><LF>+OK=<<CR><LF>+OK=<statesta testatestate><CR><LF>><C R><LF>><CR><LF>><CR><LF>SetAT+AT+AT+AT+SSLSECMSSL SECMSSLSECMSSLSECM=<=<=<= <statesta testatestate><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_TLS;SSLv3_TLSV1_2DLSV;58)AT+SSLMASKFunction:Set/QuerySSLClientencriptmethod.Format:QueryAT+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>SetAT+AT+AT+AT+SSLMASKSSL MASKSSLMASKSSLMASK=<=<=<= <statesta testatestate><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_SHASSL _SHASSL_SHASSL_SHA:SSL_RSA_WITH_RC4_128_SHASSL_MD5SSL_MD5SSL_MD5SSL_MD5:SSL_RSA_WITH_RC4_128_MD5TLSTLSTLSTLS:TLS_RSA_WITH_AES_256_CBC_SHATLS_DHETLS_DHETLS_DHETLS_DHE:TLS_DHE_RSA_WITH_AES_256_CBC_SHATLS_256TLS_256TLS_256TLS_256:TLS_ECDHE_RSA_WITH_AES_256_CBC_SHATLS_128TLS_128TLS_128TLS_128:TLS_ECDHE_RSA_WITH_RC4_128_SHADEFAULTDEFAULTDEFAULTDEFAULT:SECURE_DEFAULT59)AT+SSLCAFunction:Set/QuerythenameofSSLcertification.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so60606060/6262626 2Format:QueryAT+AT+A T+AT+SSLCASSL CASSLCASSLCA<CR><CR ><CR><CR><CR><LF>+OK=<<CR><LF>+OK=<<CR><LF>+OK=<<CR><LF>+OK=<datadat adatadata><CR><LF>><C R><LF>><CR><LF>><CR><LF>SetAT+AT+AT+AT+SSLCASSL CASSLCASSLCA=<=<=<= <datadat adatadata><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:QueryAT+AT+AT+AT+SSLIPPSSL IPPSSLIPPSSLIPP<CR><CR ><CR><CR><CR><LF>+OK=<<CR><LF>+OK=<<CR><LF>+OK=<<CR><LF>+OK=<address,portadd ress,portaddress,portaddress,port><CR><LF>><C R><LF>><CR><LF>><CR><LF>SetAT+AT+AT+AT+SSLIPPSSL IPPSSLIPPSSLIPP=<=<=<= <address,portadd ress,portaddress,portaddress,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.so61616161/6262626 2FCCFCCFCCFCCSTATEMENTSTA TEMENTSTATEMENTSTATEMENT::::ThisdevicecomplieswithPart15oftheFCCRules.Operationissubjecttothefollowingtwoconditions:(1)Thisdevicemaynotcauseharmfulinterference,and(2)Thisdevicemustacceptanyinterferencereceived,includinginterferencethatmaycauseundesiredoperation.Warning:Warning:Warning:Warning:Changesormodificationsnotexpresslyapprovedbythepartyresponsibleforcompliancecouldvoidtheuser'sauthoritytooperatetheequipment.NOTE:ThisequipmenthasbeentestedandfoundtocomplywiththelimitsforaClassBdigitaldevice,pursuanttoPart15oftheFCCRules.Theselimitsaredesignedtoprovidereasonableprotectionagainstharmfulinterferenceinaresidentialinstallation.Thisequipmentgeneratesusesandcanradiateradiofrequencyenergyand,ifnotinstalledandusedinaccordancewiththeinstructions,maycauseharmfulinterferencetoradiocommunications.However,thereisnoguaranteethatinterferencewillnotoccurinaparticularinstallation.Ifthisequipmentdoescauseharmfulinterferencetoradioortelevisionreception,whichcanbedeterminedbyturningtheequipmentoffandon,theuserisencouragedtotrytocorrecttheinterferencebyoneormoreofthefollowingmeasures:nReorientorrelocatethereceivingantenna.nIncreasetheseparationbetweentheequipmentandreceiver.nConnecttheequipmentintoanoutletonacircuitdifferentfromthattowhichthereceiverisconnected.nConsultthedealeroranexperiencedradio/TVtechnicianforhelp.FCCFCCFCCFCCRadiationRadi ationRadiationRadiationExposureExpo sureExposureExposureStatement:Statemen t:Statement:Statement:ThisequipmentcomplieswithFCCradiationexposurelimitssetforthforanuncontrolledenvironment.Thisequipmentshouldbeinstalledandoperatedwithminimumdistance20cmbetweentheradiator&yourbody.
USR-C322LowPowerMinisizeWiFiModuleUserManualwww.usr.so62626262/6262626 2AppendixA:ContactInformation--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Company:JinanUSRIOTTechnologyLimitedAddress:1-728,HuizhanGuojiCheng,GaoxinQu,Jinan,Shandong,ChinaWeb:http://www.usr.soEmail:sales@usr.cn,order@usr.cn--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------AppendixB:DisclaimerThisdocumentprovidesinformationaboutUSR-C322modules,thisdocumentdoesnotgrantanylicensetointellectualpropertyrights.Excepttheresponsibilitydeclaredintheproductsaleclause,USRdoesnotassumeanyotherresponsibilities.Inaddition,USRdoesnotmakeanywarrantiesforthesaleanduseofthisproduct,includingthesuitabilityoftheproductforaparticularpurpose,merchantabilityorfitnessforanypatent,copyrightorotherintellectualpropertyinfringement,etc.USRmaymakechangestospecificationsandproductdescriptionswithoutnotice.AppendixC:UpdateHistoryV1.009-15-2014.FirstVersionV1.110-13-2014.AddwebpagesettingparameterV1.202-09-2015.Addlowpowermode,add domaindomaindomaindomain namenamenamename resolutionresolutionresolutionresolution (DNS)(DNS)(DNS)(DNS)V1.303-05-2015.AddsimplelinkfastsettingV1.403-23-2015AddlimitationofsomeATcommandparameterAdd485functionAddRXD,TXDpull-upinschematicdiagramV1.503-31-2015AddUDPbroadcastAddthelimitoflengthwhenenterwebauthenticationImprovethelosingdataproblemwhentransmissingdataV2.219-05-2015Adduart1andtwosockets,addhttpdclientfunction,websocketfunction,SSLClientfunction<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 AntennaModel: USR-C322Brand: USR IOTGain: 0.5dBi

Navigation menu