Home
USR-C322 - Low Power Minisize WiFi Module User Manual
Contents
1. OK success ERR fail para n The query return parameter error code or error CR ASCII 0x0d LF ASCII 0x0a 41 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW USI SO gt Error Code error code table Invalid Command Format Invalid Command Invalid Operation Symbol Invalid Parameter Operation Not Permitted 4 2 2 AT Command Introduction AT command NO Command Description 6 mac Read the MAC ofmodule 8 mD Query module ID information 9 PLANG Weblog in languages 2 Network Ping command WSCAN 1 13 WSCAN Scan AP 1 4 SLPTYPE Set the sleep mode h U D O1 Set Query Wi Fi work mode AP STA 6 Set query associated AP SSID and password 7 Set query STA network parameters Query STA Wi Fi link status Set query AP wi fi configuration parameters Channel module AP mode Set the IP query module AP mode UART Set query UART interface parameters UARTTE Set query a serial port free framing intervals WKMOD UARTO Socket work mode SOCKA Set query network protocol parameters SOCKLKA Query whether the TCP link chain has been built SOCKDISA Set the tcp client reconnect mode SOCKB oet query network protocol parameters du 0 1 1 18 19 21 5 8 C D O 2 22 23 7 24 2 26 2 2 42 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manua
2. Query AT REGID1 lt CR gt lt CR gt lt LF gt OK lt NUM gt lt CR gt lt LF gt Set AT REGID1 lt NUM gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters NUM 0 65535 Decimal Format when selecting registration packet ID it is mainly used for the D2D software of our company 50 AT REGUSR1 gt Function Set the customer defined registration gt Format Query AT REGUSR1 lt CR gt lt CR gt lt LF gt OK lt data gt lt CR gt lt LF gt Set AT REGUSR lt data gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters data 1 32 ASCII Code 51 AT TRENC1 gt Function Set query the status of encript in trans mode gt Format Query AT TRENC1 lt CR gt lt CR gt lt LF gt OK lt state data gt lt CR gt lt LF gt Set AT TRENC1 lt state data gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters state ON OFF data encript key of PC1 32 ASCII codes 0 9 a f A F change to 16bytes Hex such as 1234567890abcdef1234567890abcdef the 16bytes key is Ox12 0x34 Oxef 16bytes 52 AT HTPTP1 gt Function Set Query the mode of httpd client Format Query AT HTPTP1 lt CR gt lt CR gt lt LF gt OK lt data gt lt CR gt lt LF gt Set AT HTPTP1 lt data gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt 58 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO Paramet
3. 3 2 2 Command Mode In command mode the module will no longer work to translate UART port AT this time for receiving the AT command the user can through UART port to send AT commands to module UART for querying and setting module network and other related parameters As long as there is a UART port into the AT command mode the other UART port also is in the AT command mode 18 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual 3 3 Socket Communication 3 3 1 UARTO Socket UARTO has the follow mode TCP UDP Trans Httpd Client Websocket communication Trans Mode EN L d PC SOCKA 1 TCP Client Encrypt lt TCP UDP lt gt UDP Server decrypt Trans UDP Client UART a l Httpd Client GET POST gt SSL Client lt 1 TCP UDP Trans Mode In TCP UDP Trans Mode UARTO has two socket socka sockb connection the data 19 63 O O USR IOT Public A Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO writing to UARTO will be automatically sent to the two sockets The data recived from the two sockets will be sent out the UART interface Socka support TCP Server TCP Client UDP Server UDP Client Sockb support TCP Client UDP Server U
4. 500 lt bps lt 20000 num 1000 bps 10 10 43 AT WKMOD1 gt Function Set query the socket of uartO work mode Format Query AT WKMOD1 lt CR gt lt CR gt lt LF gt OK lt mode gt lt CR gt lt LF gt Set AT WKMOD1 lt mode gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters mode work mode o TRANS trans mode e HTPC Httpd Cient e SSL SSL Socket function e OFF close socketa1 44 AT SOCKA1 gt Function Set query network protocol parameters Format Query AT SOCKA1 CR lt CR gt lt LF gt OK lt protocol IP port gt lt CR gt lt LF gt Set AT SOCKA1 lt protocol IP port gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters Protocol Protocol type including e ICPC TCP client e UDPS UDP server e UDPC UDP client P When the module is set to CLIENT the IP address of the server Port Protocol port decimal number less than 65535 45 AT SOCKLKA1 gt Function Query the TCP link is established Format AT SOCKLKA1 CR lt CR gt lt LF gt OK lt STA gt lt CR gt lt LF gt gt Parameters STA showing if the TCP link is established e CONNECT TCP connected 56 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO e DISCONNECTED TCP Disconnected 46 AT FSOCKDISA1 gt Function Query is there a client have connected gt Format AT SOCKDISA1 lt CR gt lt CR gt lt LF gt OK lt STA
5. 3 10 1 Mode Introduction Mode 0 Active Mode The Active mode the system clock is 80 MHZ Module running various peripherals Corresponding mode 0 that is normal work mode the module optimal performance Mode 1 Sleep Mode Sleep mode the system clock to 80 MHZ Through a serial port or network packets gpio port output module after awakening from entering hibernation continues to run wake up the response time shorter than deepsleep mode Corresponding mode 1 Mode 2 Deepsleep Mode Module into deepsleep dormancy reduced to 40 MHZ system clock Might wake up via a serial port or network packets gpio port output module after awakening from entering hibernation continues to run wake up the response time a bit longer than the sleep mode Than the normal operation of the lower power consumption about 5 ma The corresponding mode 2 29 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO Mode 3 LPDS Mode Module into LPDS mode network part keep running module gpio port output is high impedance state Via a serial port or network packets wake up wake up after the restart operation module Corresponding mode 3 Mode 4 Hibernate Mode Module into the hibernate mode network and MCU are entering sleep mode gpio port output high impedance state only through a serial port data Module after the restart Power consumption can be achieved the uA level Corresponding mode 4 3 10 2 Power
6. Format AT SOCKLKA lt CR gt lt CR gt lt LF gt OK lt STA gt lt CR gt lt LF gt gt Parameters STA showing if the TCP link is established o CONNECT TCP connected e DISCONNECTED TCP Disconnected 27 AT SOCKDISA Function Query is there a client have connected gt Format AT SOCKDISA lt CR gt lt CR gt lt LF gt OK lt STA gt lt CR gt lt LF gt gt Parameters STA set tcp client reconnect mode ON enable tcp client reconnect e OFF disable tcp client reconnect 28 AT SOCKB gt Function Set query network protocol parameters gt Format Query AT SOCKB lt CR gt lt CR gt lt LF gt OK lt protocol P port gt lt CR gt lt LF gt Set AT SOCKB lt protocol IP port gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters Protocol Protocol type including e ICPC TCP client e UDPS UDP server e UDPC UDP client P When the module is set to CLIENT the IP address of the server Port Protocol port decimal number less than 65535 29 AT SOCKLKB 51 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO gt Function Query the TCP link is established gt Format AT SOCKLKB lt CR gt lt CR gt lt LF gt OK lt STA gt lt CR gt lt LF gt gt Parameters STA showing if the TCP link is established e CONNECT TCP connected e DISCONNECTED TCP Disconnected 30 AT SOCKDISB gt Function Query is there a client have conne
7. Server decrypt Trans UDP Chient lt 1 l Httpd Client GET POST gt SSL Client lt 1 4 Product Feature Module parameters classify parameter value 7 63 A USR IOT Be Honest Do Best Wireless Para meter Hardware Software USR C322 Low Power Minisize WiFi Module User Manual Certification FCC CE Wlan Standard 802 11 b g n 17 0 dBm 1 DSSS Transmit Power 17 25 dBm Q 11 CCK 13 5 dBm Q 54 OFDM 94 7 dBm 1 DSSS 87 0 dBm 11 DSSS 3 0 dBm 54 OFDM External I PEX Antenna Internal On board antenna Receive Sensitivity Data Interface UART 300 3M bps Working Voltage 3 0V 3 6V voltage 3 3 V Continue to send 75mA Working Current normal mode average 18mA top 200mA In the web 3 5mA Standby lowest 25uA Working A 40 C 85 C Temperature Storage 45 C 125 C Temperature 18 22mm 26 65mm 2 8mm SMT Wireless AP STA Network Type Security Regime WEP WPA PSK WPA2 PSK Encryption Type TKIP AES TKIP AES Networking IPv4 TCP UDP Protocol User AT instruction set Configuration Web 1 5 Application Area Cloud Connected e Home Automation e Household Appliances o Access Control e Security and Protection System e Smart Energy e Industrial Control e Intelligent Electrical Outlet Box Instrument Measurement e PNetwork Sensor Nodes 8 63 WWW UST SO A USR IOT Be Honest D
8. WWW USI SO AT HTPCHD1 lt state gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters state e ON delete the head of return data from server e OFF don t delete the head of return data from server 57 AT SSLSECM gt Function Set Query SSL Client encript type gt Format Query AT SSLSECM CR lt CR gt lt LF gt OK lt state CR LF Set AT SSLSECM lt state gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters state e SSLV3 e TLSV1 e TLSV1 1 o TLSV1 2 e SSL TLS SSLv3 TLSV1 2 e DLSV 58 AT SSLMASK gt Function Set Query SSL Client encript method Format Query AT SSLMASK CR lt CR gt lt LF gt OK lt state CR LF Set AT SSLMASK lt state gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters state e SSL SHA SSL RSA WITH RC4 128 SHA e SSL MD5 SSL RSA WITH RC4 128 MD5 e TLS TLS RSA WITH AES 256 CBC SHA e TLS DHE TLS DHE RSA WITH AES 256 CBC SHA e TLS 256 TLS ECDHE RSA WITH AES 256 CBC SHA e TLS 128 TLS ECDHE RSA WITH RC4 128 SHA e DEFAULT SECURE DEFAULT 59 AT SSLCA gt Function Set Query the name of SSL certification Format Query 60 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW USI SO AT SSLCA CR lt CR gt lt LF gt OK lt data CR LF Set AT SSLCA lt data gt lt CR gt lt CR gt lt LF gt OK lt CR gt
9. and even on the router This search tool to search all of the STA 3 5 TCP UDP Client Registration Packet Mechanism When the module working in TCP or UDP Client Client mode the user can open registration packet mechanism in order to realize the server to the distinction between the data source data of different equipment monitoring The module support MAC ID USR registration packet MAC is 6 bytes ID is 0 65535 ID value can be set USR registration is a string that is set by customer the length is up to 32 bytes Registration packet ID is mainly used for the D2D software of the company Registered packet opened and closed by AT REGENA Registered packet implementation mechanism is as follows TCP Client There are two kinds of TCP Client registration mechanism 24 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO 1 Just send a registration packet when the module is connected to the TCP Server module will send TCP Server MAC 6 bytes or ID 4 bytes Server by MAC or ID to distinguish between different devices 2 Every packet of data has registration information TCP Client after the link to the server a serial port receives each packet of data to increase MAC or ID to distinguish between equipment ID or MAC choice can be set by the AT REGENA UDP Client each module on the sending UDP packets MAC or ID will increase in each packet header information and then
10. can ban through input the IP subnet mask gateway and obtain a static IP restart to take effect 32 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual Note when the network name and password does not support the double quotes comma and or greater than less than and other special characters Fix English WIFI 5et Wifi Mode AP Set AP SSID SSID 1 320 JARTO Set AP Password 8 637 NONE is UARTI Set open Extra function AP IP Account Set Mask Reload Restar STA Set About USR STA SSID 1 32fv STA Password 8 63417 NONE is open UMET Jinan USR IOT Technology Limited http www usr sa T leb Vera N n kir J Y cl AAA 3 UARTO Setting D UART parameters set Peripherals parameters set mainly set serial port serial port baud rate can be set to 300 3000000 data bits can set 5 8 bits parity bit can be set to no check odd parity parity stop bits can be set to 1 to 2 a serial port flow control can be set to enabled Serial port can open 485 features pin 25 serial flow control RTS pin is the control pin of 485 up the pin to send data low the pin to receive data Effecting after restart 33 63 A Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual gt gt UARTO SET baud rate 300 3000000 bps 115200 bits of data check bit UARTO Set stop bit UARTI Set CTSRTS 485 Extra functior Account Set gt gt All Sock
11. company address lt END gt 63 63
12. effectively low power module Support WiFi protocol and TCP IP protocol the user only needs simple configuration can achieve the function of UART devices connected to the Internet omall size easy to welding in the customer product veneer of hardware circuit And the module can choose the application of the internal or external antenna supplying customers multiple choices Module size 18 22 mm 26 65 mm 2 8 mm SMT assembly The basic function of the module is described below gt Can work in AP mode for other WIFI devices access communication can also work in the STA mode access to the wireless router to realize communication gt With Socket communication links can be set to TCP UDP trans HTTPD Client WEB sockets SSL Client communication TCP UDP trans can support TCP Server TCP Client UDP Server UDP Client Module supports UART translate can use AT commands to arbitrary switching If you have problems when use the module you can submit the question to http h usriot com We will solve your question at the first time 1 2 Characteristics of Module Support Wi Fi 2 4 GHz 802 11 b g n wireless standards Based on ARM Cortex M4 kernel running frequency of 80 MHZ Support WEP WPA WPAZ security mode Support AP STA working mode Support Simplelink usrlink Networking configuration Support custom web function Fully integrated serial port turn wireless TCP UDP transmission function the rate of serial port up to 3M bps Sup
13. gt Function Set the query registration packet ID gt Format Query AT REGID lt CR gt lt CR gt lt LF gt OK lt NUM gt lt CR gt lt LF gt Set AT REGID lt NUM gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters NUM 0 65535 Decimal Format when selecting registration packet ID it is mainly used for the D2D software of our company 34 AT REGUSR gt Function Set the customer defined registration gt Format Query AT REGUSR lt CR gt lt CR gt lt LF gt OK lt data gt lt CR gt lt LF gt Set AT REGUSR lt data gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters data 1 32 ASCII Code 35 AT TRENC gt Function Set query the status of encript in trans mode gt Format Query AT TRENC lt CR gt lt CR gt lt LF gt OK lt state data gt lt CR gt lt LF gt Set AT TRENC lt state data gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters state ON OFF data encript key of PC1 32 ASCII codes 0 9 a f A F change to 16bytes Hex such as 1234567890abcdef1234567890abcdef the 16bytes key is Ox12 0x34 Oxef 16bytes 36 AT HTPTP gt Function Set Query the mode of httpd client 53 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO gt Format Query AT HTPTP lt CR gt lt CR gt lt LF gt OK lt data gt lt CR gt lt LF gt Set AT HTPTP z data CR l
14. gt lt CR gt lt LF gt gt Parameters STA set tcp client reconnect mode o ON enable tcp client reconnect e OFF disable tcp client reconnect 47 AT RFCENA1 gt Function Enable Disable RFC2217 Function gt Format Query AT RFCENA1 lt CR gt lt CR gt lt LF gt OK lt status lt CR gt lt LF gt Set AT RFCENA1 lt status CR lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters status e ON Enable RFC2217 Function e OFF Disable RFC2217 Function 48 AT REGENA1 gt Function Set the query registration packet mechanism gt Format Query AT REGENA1 lt CR gt lt CR gt lt LF gt OK lt status method gt lt CR gt lt LF gt Set AT REGENA lt status method gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters status e D packet mechanism can make can make the registration the registry packet ID is 2 bytes e MAC packet mechanism can make can make the registration the registry packet is 6 bytes MAC e USR customer defined packet e OFF Ban can register packet mechanism method e EVERY Increase registered before each packet of data packet e FIRST Only link to the server sends a registered packet for the first time Notice if disable the register just set ATTREGENA1 OFF r 49 AT REGID1 57 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO gt Function Set the query registration packet ID Format
15. lt LF gt Parameters data the name of SSL certification max length is 32 bytes 60 AT SSLIPP gt Function Set Query the server of SSL client gt Format Query AT SSLIPP lt CR gt lt CR gt lt LF gt OK lt address port gt lt CR gt lt LF gt Set AT SSLIPP lt address port gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters address the server address Port the server port 61 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO 5 service and support If you have problems when use the module you can submit the question to http h usriot com We will solve your question at the first time e http h usriot com index php c frontTicket amp m sign D Q Submit Ticket Client Su gt Knowledge Base Login Client Support Center USR Be Honest Do Best Customer Area Submit Ticket Email Address Product Service Select iv Subject Content Please specify product model and describe your problem in detail Product Model a Purchase Date Software Version Problem Statement 62 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO Appendix A Contact Information Company Address Web Support Email Jinan USR IOT Technology Limited 11th Floor No 1 Building Aosheng Square No 1166 Xinluo Street Jinan Chi
16. phone PDA HEX FF 00 14 81 02 54 45 53 54 31 00 40 OD OA 54 45 53 54 32 00 37 OD OA 1F Explanation The phone PDA send searching command to module the response from module is SSID of router1 is TEST1 signal strength of router1 is 64 SSID of router2 is TEST2 signal strength of router2 is 55 Note The information of routers is ordered by signal strength a Setting Command length oum of data bytes from length bytes to check byte not contain length bytes and check byte 26 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO check 1 Sum of bytes from head not contained byte to check byte not contained Response for Setting length Sum of data bytes from length bytes to check byte not contain length bytes and check byte Check for If the SSID set by PDA exist check value is 0x01 SSID otherwise is 0x00 Check for If the form of password set by PDA is correct check password value is 0x01 otherwise is 0x00 oum of bytes from head not contained byte to check byte not contained Example Data from phone PDA to module HEX FF 00 OF 02 00 54 45 53 54 31 OD OA 31 32 33 34 35 36 CE Data from module to phone PDA HEX FF 00 03 82 01 01 87 Explanation The phone PDA send setting command to module SSID is set to TEST1 password is set to 123456 The response from module is that the TEST1 Wi Fi network exist the form of pas
17. server you can use mode 4 Hibernate mode A frame to a serial port to send data wake up module the module will be according to set the wifi TCP socket parameters the active link to the server translate data translate is completed according to set the time to sleep lt note gt serial awakens the module in Lpds mode Hibernate mode practical for the RXD pin So must contain O 8 bits of data namely the need to guarantee the RXD pin has a low level this packetjust wake up module data packet loss not translate 4 Parameter Setting The parameters of the module configuration page configuration AT command configuration in two ways behind will detail the use of two ways 4 1 Web Page Configuration 4 1 1 The Web Management Page When using the module for the first time need some configuration on the module By PC connection module AP interface the user can use the web management page configuration By default the module of AP interface SSID IP address user name and password are as follows 4 1 2 Open Management Web Page Link with PC wireless card first after waiting for connection is good open the IE browser in the address bar enter 192 168 1 1 carriage return the login page the default login as admin the password for the admin Web support switch in both Chinese and English can through the web page top right corner Chinese English switch also can through the at command set Then the web management
18. www usriot com Download 235 html 3 5 Search in local area network Module support searching module within the local area network LAN that is when the module is connected to a wireless router the user can through to a fixed port sends UDP broadcast way to get the IP address of the module of the current in order to realize the search and communications equipment SEARCH the port and keyword can be set by the AT SEARCH commands default 48899 www usr cn Search tool operation process 1 Through the UDP broadcast broadcast address xx Xx Xx 255 port 48899 to send a password the default password is www usr cn the longest can be set up 20 bytes 2 Module after receiving the password if the password is correct the module to enter configuration mode to the address unicast source port send the local IP address MAC address the module name version number IP MAC MID ver 10 10 100 254 D8BO4CFCOOOO USR C322 01 01 10 Module to enter configuration mode set if not received within 30 seconds after the command the module will exit the configuration mode the user needs to send search command word enter configuration mode 3 Users can through the network to the port to send AT commands to set up and read the module working state the AT command format with a serial port the AT command Note search tools and modules must be within the same LAN if multiple STA even on a router run the search tools of the computer
19. A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO USR C322 Low Power Minisize WiFi Module User Manual V2 3 Support Wi Fi 2 4 GHz 802 11 b g n wireless standards Based on ARM Cortex M4 kernel running frequency of 80 MHZ Support WEP WPA WPAZ security mode Support AP STA working mode Support Simplelink usrlink Networking configuration Support custom web function Fully integrated serial port turn wireless TCP UDP transmission function the rate of serial port up to 3M bps Supports 485 trans control Support two uart and three socket communication Support PC1 16 bytes encryption when work in trans mode Support the HTTPD Client function Support websocket function Support SSL Client function Search in local area network LAN and wireless parameters setting function Support TCP UDP Client registered packet mechanism Support similar RFC2217 automatic baud rate adaptation function Support AT simple instruction set configuration Single 3 3 V power supply Ultra low power mode support deep dormancy Support Internal External I PEX Antenna Option 1 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO e Minisize 18 22mm 26 65mm 2 8mm SMT e FCC CE Certificated 2 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW USI SO Catalogue ls Module OVOFVIOW e OA AAA
20. AT PLANG gt Function Set query module landing page language version gt Format Query AT PLANG lt CR gt lt CR gt lt LF gt OK lt language gt lt CR gt lt LF gt Set AT PLANG lt language gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters language CN EN CN said landing page default display in Chinese EN said landing page when the default display in English 10 AT WEBU gt Function Set query website login user name and password gt Format Query AT WEBU lt CR gt lt CR gt lt LF gt OK lt username password gt lt CR gt lt LF gt 45 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO Set AT WEBU lt CR gt lt username password gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters username The user name the length must be 5 characters does not support null password Password the length must be 5 characters 11 AT VER gt Function Set query module firmware version Format Query AT VER CR lt CR gt lt LF gt OK lt ver gt lt CR gt lt LF gt Set AT VER lt ver gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters ver Set query module firmware version AA BB CC AA on behalf of the big version BB on behalf of the minor version number Arthur c CC represents the hardware version 12 AT PING gt Function Network Ping command gt Format Set A
21. CHD CR lt CR gt lt LF gt OK lt state CR LF Set AT HTPCHD lt state gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters state e ON delete the head of return data from server e OFF don t delete the head of return data from server 41 AT UART1 gt Function Set query UART interface parameters gt Format Query AT UART1 lt CR gt lt CR gt lt LF gt OK lt baudrate data_bits stop_bit parity gt lt CR gt lt LF gt Set AT UART1 sbaudrate data bits stop bit parity CR CR LFE OKSCR LF Parameters baudrate e 300 3000000 bit s data bits 5 8 bits stop bits 1 2 parity check e NONE EVEN ODD MARK SPACE Note when the baud rate are subject to change will automatically change the packaging interval see AT UARTTE1 42 AT UARTTE1 gt Function Set query free framing intervals Format Query AT UARTTE1 CR lt CR gt lt LF gt OK lt num gt lt CR gt lt LF gt Set AT UARTTE1 lt num CR lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters 90 9 55 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO num 5 250 Free framing mode the interval between two bytes ms Note this parameter will automatically change when set the baud rate If you want to change the packaging interval please first set the baud rate bps lt 600 num 250ms bps gt 20000 num 5ms
22. DP Client You can set the mode through AT command AT AOCKA AT SOCKB or through a web set When set TCP Server Socket it can support up to three TCP Client connection When the fourth client connected the the earliest connection will be disconnected In a multiple TCP link connection mode from the TCP transport data will be forwarded to them one by one on the UART interface Come from the UART interface data will be copied into a more in every TCP forwarding a link Specific data flow diagram shown below module When the Socket set to UDP Server if a serial port receives data first module sends the data to the already set IP port AT SOCKA set if the UDP Server receives data data source address the module will remember after a serial port after receipt of the data module will be transmitted to the address data When the module is set to the UDP Client the module only send data to the IP and port and only receive data from the IP and port address AT SOCKA Settings the data from other address or port is not forwarded to the UART When the module is set to tcp or udp client mode Regist packet can be add The regist can be MAC ID customer packet 32 bytes When in TCP Client mode bags can 20 63 e A Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO be set to connect for the first time send or add before each packet In UDP Client mode registpacket will be add in each packet da
23. Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO 3 Product Function 3 1 Wireless Network Mode There are two kinds of wireless module WIFI working mode the STA and AP can provide users with flexible network mode and the network topology method lt Nouns that gt AP The wireless access point is the center of a wireless network node Commonly used wireless router is an AP other wireless terminal can be interconnected by AP STA wireless site is a wireless network terminal Such as notebook computer PDA etc 3 1 1 Module As a STA Module as the STA is one of the most commonly used network mode and is composed of a router AP and many STA the following figure lts characteristic is AP in a central position communication between the STA forward by AP Router lig USR C32 3 1 2 Module As a AP Modules as AP mode can achieve phone PAD computer without any configuration fast access module for data transmission In addition you can login module internal web page to set parameters ek pa USR C322 15 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO lt note gt module in AP mode can support only 1 STA access devices 3 1 3 Encryption Type Encryption is scrambling to message data ensure the security of data transmission increase the security of communication Support multiple wireless network encryption m
24. F gt OK lt NUM gt lt CR gt lt LF gt Set AT CHANNEL lt NUM gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters NUM channel 1 13 21 AT LANN gt Function Set the IP query AP mode gt Format Query AT LANN lt CR gt lt CR gt lt LF gt OK lt IP MASK gt lt CR gt lt LF gt Set AT LANN lt IP MASK gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters IP ip MASK mask 22 AT UART gt Function Set query UART interface parameters Format Query AT UART CR lt CR gt lt LF gt OK lt baudrate data_bits stop_bit parity flowctri gt lt CR gt lt LF gt Set AT UART lt baudrate data_bits stop_bit parity flowctri gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters baudrate e 300 3000000 bit s data bits 5 8 bits stop bits 1 2 parity check e NONE e EVEN e ODD 990 9 49 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO o Mask Space flowctri CTS RTS e NFC Disable hardware flow control e FC Enable hardware flow control e 485 485 communications UART RTS as 485 send control terminal Note when the baud rate are subject to change will automatically change the packaging interval see 27 AT UARTTE 23 AT UARTTE gt Function Set query free framing intervals Format Query AT UARTTE CR lt CR gt lt LF gt OK lt num gt lt CR gt lt LF gt
25. Function 27 3 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO 3 10 Sleep Mode Introduction ooooomooos 28 4 Parameter SO CLIN arial nicas 30 4 1 Web Page Configuration 00000000000000000000000000000000000000000000000000000000 30 4 2 AT Commands Configuration cccoccco0c00000000000000000000000000000000000 39 dy Service and SUPDO ke v wate di aw RR RR TT 61 Appendix A Contact Information oooooo 62 Appendix B DISCTANNMEN usina aiii ive ies 62 Appendix C Update FIStO Mission sanan 62 4 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO 1 Module Overview 1 1 Module Overview USR C322 is a high performance module of the series wifi module C32 The module is a low power 802 11 b g n modules that design for achieving the application of the embedded system wireless network communication Through the module the customer can set a physical device connected to a wifi network so as to realize the control and management of the Internet of iot The hardware of module integrate MAC baseband chip rf transceiver unit as well as the power amplifier Adopting CC3200 chip of TI company the kernel of industrial grade ARM architecture M4 kernel running frequency of 80 MHZ The internal ultra low power operation mechanism can run
26. PSV 3 WEBSocket Function USR C322 supports websocket trans from webpage to uart The module is as a webserver port 8000 The module only support Websocket ASCII passthrough The websocket server can support only four client to be connected When a fifth client 21 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual connect to the server the first client will be shut down from the server Web site source code is open the user can modify web page realize their special needs upgrade the custom web page please refer to the custom function description Only UARTO support this pattern 3 3 2 UART1 Socket UART1 has the follow mode TCP UDP Trans Httpd Client SSL Client communication SOCKA TCP Server TCP Client TCP UDP UDP Server 7 Trans UDP Client gt Encrypt 4 Trans Mode Decrypt SO CKB TCP Client TCP UDP gt ee U A R T Trans Server 0 UDP Chent Httpd Client GET POST gt WEB Socket lt lt 22 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO 1 TCP UDP Trans In TCP UDP trans mode UART1 has one socket that can be TCP Client UDP Server UDP Client 2 3 HttpdClient mode The usage is same to UARTO S
27. RS DTU and embedded WIFI module We have professional R amp D teams for hardware and software phone APP and server And we can provide OEM amp ODM service for clients Email sales Pusr cn tec busr cn Address 1 728 Huizhan Guoji Cheng Gaoxin Qu Jinan Shandong 250101 China Jinan USR IOT Technology Limited 4 2 AT Commands Configuration AT Instruction refers to in command mode user by module with UART and SPI command set of instructions behind will detail the use of AT instruction format After the success of the electric start can through the UART for setting module Module of the default UART port parameters for 115200 baud rate no check 8 data bits one stop bit explain gt The AT command debugging tools UART interface is recommended to use SecureCRT software tools or some professional applications The following is introduced using UART communication and SecureCRT tool demo From translate mode switch to the command mode to the following two steps gt On the UART input module after receiving will return a verification code a gt Input validation code a on the UART module after receiving the confirmation return to the OK to confirm enter the command mode 40 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO File Edit View Options Transfer Script Tools Window Help 35153 m gi X Enter host lt Alt R gt A E
28. Reference Table No data transmission module the power consumption mode reference is as follows Power UART GPIO network Wake up mode STA AP CEA UART GPIO network none 18 mA 74 mA EN ER ki ra 1 UART GPIO network Uart network 13 mA 71 mA working UART network working Uart network UART network working Uart network GPIO RXD working Uart RXD The mode to distinguish the table ux difference between all modules low power consumption mode is as follows Wake up the response time from mode O to 4 wake up the response time increases gradually Power consumption from mode O to 4 gradually reduce the power consu mption Example low power consumption 1 Wifi module online various peripherals work is normal the data transmission between the interval of a few seconds use pattern 1 2 Wifi module online various peripherals working frequency decline or does not work you can use mode 2 Deepsleep model 3 Module to keep online can through the remote wireless equipment occasionally translate data suit to use mode 3 Lpds mode remote equipment after wake up the module the module to establish the connection with the remote device sending and receiving data 30 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO 4 When the user equipment does not need to be online for a long time only occasionally arouse initiative to send data to the
29. SL Client mode SSL Client mode is an expansion of TCP UDP trans SSL Client has a level of security protection that provides a higher security including authentication data encryption and integrity verification The authentication is used for the issuance and application of a digital certificate Data encryption can prevent the loss caused by listening to others even if the third party listens to the news of the passing but without the right key it still can t get the right message Integrity verification can prevent the message being modified in the delivery process Encryption types supported SSLV3 TLSV1 TLSV1 1 TLSV1 2 SSLv3 TLSV1 2 DLSV1 The encryption algorithm support 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 90 189 908 909 SSL Client support encryption certificate setting reference USR C322 wireless upgrade software Only UART1 support this mode Download Address http www usriot com Download 236 html 23 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO 3 4 Custom web function USR C322 support Custom web function User can modify the web page content or add your own web page Please refer to the specific implementation method reference USR C322 customed web function Download Address http
30. Set AT UARTTE lt num CR lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters num 5 250 Free framing mode the interval between two bytes ms Note this parameter will automatically change when set the baud rate If you want to change the packaging interval please first set the baud rate bps lt 600 num 250ms bps gt 20000 num 5ms 500 lt bps lt 20000 num 1000 bps 10 10 24 AT WKMOD gt Function Set query the socket of uartO work mode Format Query AT WKMOD lt CR gt lt CR gt lt LF gt OK lt mode gt lt CR gt lt LF gt Set AT WKMOD lt mode gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters mode work mode o TRANS trans mode e HTPC Httpd Cient e WEBSOCK WEB Socketfunction 25 AT SOCKA gt Function Set query network protocol parameters Format Query AT SOCKA CR lt CR gt lt LF gt OK lt protocol IP port gt lt CR gt lt LF gt Set 50 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO AT SOCKA lt protocol P port CR lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters Protocol Protocol type including e TCPS TCP server e TCPC TCP client e UDPS UDP server e UDPC UDP client P When the module is set to CLIENT the IP address of the server Port Protocol port decimal number less than 65535 26 AT SOCKLKA gt Function Query the TCP link is established gt
31. T PING lt IP_address gt lt CR gt lt CR gt lt LF gt OK lt STA gt lt CR gt lt LF gt gt Parameters IP address For IP address 192 168 1 1 or domain name www usr so domain name up to 64 bytes STA returned value e SUCCESS e TIMEOUT 13 AT WSCAN gt Function Search AP Query AT WSCAN lt CR gt lt CR gt lt LF gt OK lt LF gt lt CR gt SSID BSSID Security Indicator lt LF gt lt CR gt lt ap s ite_1 gt lt LF gt lt CR gt lt ap_site_2 gt lt LF gt lt CR gt lt ap_site_3 gt lt LF gt lt CR gt lt ap_site_ N gt lt CR gt lt LF gt gt Parameters e SSID SSID e BSSID MAC 11 22 33 44 AA BB Security e Indicator RSSI 46 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO Note in the AP mode WSCAN command response will be slightly slower if has established a TCP connection the connection will be disconnected need to restart after the connection is established 14 AT SLPTYPE gt Function Set the query sleep mode gt Format Query AT SLPTYPE lt CR gt lt CR gt lt LF gt OK lt MODE TIME gt lt CR gt lt LF gt Set AT SLPTYPE lt MODE TIME gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters MODE 0 4 0 no sleep mode for setting module default 1 set the module to sleep mode 2 set the module to deepsleep mode 3 set the module to LPDS mode 4 set the module to deep sleep mode TIME 10 240 seconds S
32. Un N 1 2 Characteristics of Module oomcooocoooosss 1 3 Tunctlonal block diagr AIM sssssecssscesscscecsssescacssessssessesserescsnsscscseacssncsenescsesenasevactos 6 AA Product Feature Ir RPP RR On A NASA NGANA AN SANA KAANGKAH 6 TS ADPICACON ANE A it ek ouvos HIVER IHE HEPNIEH ITE riada veeesontese sessguensqoou EE EE REFERRE RUE 7 2 Haraware DescrIDIUOD rn 9 2 1 PIN DONNONS ica nia 9 2 2 Antenna SNOWS cineasta ola apa sons asse NANG NANAS Aa NANA aa 10 2 3 Size and Layout Recommendations ccccco0c00000000000000000000000000 11 2 4 The Hardware Circuit Design Reference e e 12 di DenidilerlmM 14 3 1 Wireless Network MODO iii esoasos k s ski akosossasksssavosyossaonssiosupionopossonssesesaniondsoode 14 3 2 WOR MO M C 15 3 9 Socket CommunhlCallOniu oss NGUNGGAR ANANA ANAA NANANG NGANAN ABANGAN 18 3 4 GUSTOM web TUNCHON 23 3 5 Search in local area network cccceccccccocc0c000000000000000000000000000000000 23 3 5 TCP UDP Client Registration Packet Mechanism 23 3 7 Fast Access Wi Fi usrlink cccccccooco00000000000000000000000000000000000000000000000000060 24 3 8 Simplelink Configuration ccccoccco0c00000000000000000000000000000000000000000000000 27 3 9 RFC2217 Automatic Baud Rate
33. art1 includes Socket Mode Trans Httpdclient SSL Socket OFF In the different mode there will be different set Selecting OFF is close the socket function with uart1 35 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO Fax English gt gt UART SET gt All Socket Set Socket SET sys status Socket Mode WiFi Set Trans Function UARTO Set Socka Protocol TCP Client hal UARTI Set vz 6 ewe Socka Port Extra Function Socka Server Address 182 168 2 4 Account Set Additional Function Reload Restar TUE About USR Register content Register frequence Just for TCPC w Register ID 0 65535 5 10002 Usr Define Packet 32 bytes Trans Encrypt Trans Num Mode is Hex 000000000000000000000000 5 Extra Function In extra function page you can set search parameters in lann and module mid 36 63 O A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual EX English Search Search Port Sys status Search Data WiFi Set UARTO Set Module MID Extra function Account Set o a Jinan USR IOT Technology Limited Web Ver 1 0 0 6 Account Set Account management can set the user name and password login page the length must be 5 bytes click save Settings restart to take effect 37 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module U
34. cate Settings reference wireless upgrade software encryption certificate burning method Only UART1 support this pattern Note About SSL Client please refer to the website information USR C322 SSL Client User Manual V1 0 17 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO Download Address http www usriot com Download 236 html 1 4 WEB socket mode Support web page websocket passthrough module as the webserver port 8000 maximum four client connection Can login module built in test page Only UARTO support this pattern 2 gt gt UARTO SET gt gt All Socket Set Socket SET Ex English Sys status Socket Mode WiFi Set UARTO Set Receive as hex UARTI Set Extra function Account Set Reload Restar About USR Receive as ASCII 12345 Send As ASCII Send As Hex Note About WEB Socket function please refer to the website information USR C322 WEB Socket User Manual V1 0 Download Address http www usriot com Download 236 html 2 UART Frame Scheme Module in the receiving UART data will continue to check the time interval of two adjacent bytes If the time interval is greater than the set packing time default 5 ms can be set up by the AT UARTTE argues that the end of a frame or has been receiving data in command mode is greater than 1 k bytes are discarded the received data in translate mode is greater than 1 k bytes are sent packing
35. cted gt Format AT SOCKDISB lt CR gt lt CR gt lt LF gt OK lt STA gt lt CR gt lt LF gt gt Parameters STA set tcp client reconnect mode ON enable tcp client reconnect e OFF disable tcp client reconnect 31 AT RFCENA gt Function Enable Disable RFC2217 Function gt Format Query AT RFCENA lt CR gt lt CR gt lt LF gt OK lt status lt CR gt lt LF gt Set AT RFCENA lt status gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters status e ON Enable RFC2217 Function e OFF Disable RFC2217 Function 32 AT REGENA gt Function Set the query registration packet mechanism gt Format Query AT REGENA lt CR gt lt CR gt lt LF gt OK lt status method gt lt CR gt lt LF gt Set AT REGENA lt status method gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters status e D packet mechanism can make can make the registration the registry packet ID is 2 bytes e MAC packet mechanism can make can make the registration the registry packet is 6 bytes MAC 52 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO e USR customer defined packet e OFF Ban can register packet mechanism method e EVERY Increase registered before each packet of data packet e FIRST Only link to the server sends a registered packet for the first time Notice if disable the register just set AT REGENA OFFY 33 AT REGID
36. d to restart when effective not save power is lost 3 9 2 RFC2217 Protocol Specification Protocol length is 8 bytes specific agreement content as follows for example the value for the HEX format designation Header Data bit engi eyes Different bits to reduce baud rate value represent different Sum of the explain misjudg high in the former meanings see front four men Example 55 AA 115200 N 8 01 C2 00 83 95 1 Example 55 AA55 00 25 80 83 9600 N 8 1 28 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW USI SO Attachment a serial port pe USE meaning a bit ER EE NENNEN Check type Enable check EVEN MENM Enabled check Disable check 3 10 Sleep Mode Introduction Modules can open low power mode In module under normal condition if the network and uart port for certain time 10 240 seconds AT SLPTYPE Settings does not data communication module into low power mode The user can choose different sleep mode 0 to 4 Ways there are to awaken the network side and serial port network side refers to establish the wifi connection to establish a socket connection with module and send data to the socket a serial port end points to a serial port to send data For example set up AT SLPTYPE 2 200 When the module network end refer to the socket end and a serial port for 200 seconds didn t receive the data the module into Deepsleep mode mode 2
37. eo NON SAVED Setup failed AT RELD gt Function Recovery module configuration parameters for the user the factory configuration parameters Format Set AT RELD CR lt CR gt lt LF gt OK REBOOTING lt CR gt lt LF gt gt Parameters none The command module configuration parameters restore to the user factory Settings and then restart automatically AT MAC gt Function Query MAC gt Format Query AT MAC lt CR gt 44 63 A USR IOT LEON TET USR C322 Low Power Minisize WiFi Module UserManual gt wwwusrso lt CR gt lt LF gt OK lt mac gt lt CR gt lt LF gt gt Parameters mac MAC of the modul example 01020304050A 7 AT SEARCH gt Function Set query in LAN port and search module search keywords Format Query AT SEARCH CR lt CR gt lt LF gt OK lt port keywords gt lt CR gt lt LF gt Set AT SEARCH lt CR gt lt CR gt lt LF gt 0K lt port keywords gt lt CR gt lt LF gt gt Parameters port Search module port default 48899 keywords Module search keywords default www usr cn Up to 20 bytes 8 AT MID gt Function Set the MID query module gt Format Query AT MID lt CR gt lt CR gt lt LF gt OK lt mid gt lt CR gt lt LF gt Set AT MID lt mid gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters mid Set query module mids 20 characters MID the main models of module Note this setting mid cannot contain a comma 9
38. ers data GET POST 53 ATTHTPSV1 gt Function Set Query the httpd client server address and port Format Query AT HTPSV1 CR lt CR gt lt LF gt OK lt address port gt lt CR gt lt LF gt Set AT HTPSV1 lt address port gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters address The server address port the server port 1 65535 54 AT HTPHEAD1 gt Function Set Query the httpd client Format Query AT HTPHEAD1 CR lt CR gt lt LF gt OK lt data CR LF Set AT HTPHEAD1 lt data CR lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters data The head defined by customer the max length is 200 bytes The lt lt CRLF gt gt replace rin like Accept image gif lt lt CRLF gt gt Content Type text html lt lt CRLF gt gt 55 HTPURL1 gt Function Set Query the httpd client post url gt Format Query AT HTPURL1 lt CR gt lt CR gt lt LF gt OK lt data gt lt CR gt lt LF gt Set AT HTPURL1 lt data gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt Parameters data The url that is set in POST mode The max length is 64 bytes 56 HTPCHD1 gt Function Set Query the state of cutting head of return data Format Query AT HTPCHD1 lt CR gt lt CR gt lt LF gt OK lt state gt lt CR gt lt LF gt Set 59 63 USR IOT A Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual
39. et Set Reload Restar About USR 2 Socket set with uartO The socket set about uartO includes Socket Mode Fax English Trans Httpdclient WEBSocket In the different mode there will be different set gt gt U ARTO SET gt gt All Socket Set _ Socket SET sys status Socket Mode WiFi Set Trans Function UARTO Set Socka Protocol UARTI Set Socka Port xtra function extra function Socka Server Address Reload Restar Sockb Protocol About USR sock Fort Sockb Server Address Additional Function RFC2117 Register content Register frequence Just for TCPC Register ID 0 65535 Usr Define Packet 32 bytes Trans Encrypt Trans Num Jinan USR IOT hicimos Limited W eh IA er 100 34 63 Fax English A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO 4 UART1 Setting 1 UART1 parameters set Peripherals parameters set mainly set serial port serial port baud rate can be set to 300 3000000 data bits can set 5 8 bits parity bit can be set to no check odd parity parity stop bits can be set to 1 to 2 There is not flow control and 485 function Effecting after restart Fax English gt gt UART1 SET x EE baud rate 300 3000000 bps Sys status bits of data AU WiFi Set check bit UARTO Set mn V UARTI Set Extra function gt gt All Socket Set Account Set Reload Restar About USR 2 Socket set with uart1 The socket set about u
40. et the module without communication last time When last time no data transmission module enter the sleep mode according to the mode patterns into different dormancy Note when set to no sleep only set AT SLPTYPE 0 lt CR gt 15 AT WMODE gt Function Set the query wifi working mode gt Format Query AT WMODE lt CR gt lt CR gt lt LF gt OK lt status gt lt CR gt lt LF gt Set AT WMODE lt status gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters status e AP The module in the AP mode e STA The module in the STA model 16 AT WSTA gt Function Set query associated AP SSID and password gt Format Query AT WSTA lt CR gt lt CR gt lt LF gt OK lt AP s ssid gt lt key gt lt CR gt lt LF gt Set AT WSTA lt AP s ssid gt lt key gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters 47 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO AP s ssid AP SSID up support 32 bytes key AP password the default encryption for wpa2psk no encryption is set to NONE Note the ssid and key does not support special characters 17 AT WANN gt Function Set query module access to IP DHCP STATIC gt Format Query AT WANN lt CR gt lt CR gt lt LF gt OK lt mode address mask gateway dns gt lt CR gt lt LF gt Set AT WANN lt mode address mask gateway dns gt lt CR gt lt CR gt l
41. ethods including WEP WPA PSK TKIP WPA PSK AES WPA2 PSK TKIP WPA2 PSK AES V VVYVYV 3 2 Work Mode Module consists of two work modes Socket trans mode and command mode e Socket Tran Mode In this mode the module realizes the UART and transparent transmission between network realize common serial data transfer between devices and network equipment e Command Mode In this mode the user can through the AT command to UART module and query and network parameters Settings When using the AT ENTM exit command mode the default back to translate mode 3 2 1 Socket Trans Mode 1 Socket Trans Mode Description USR C322 can support serial modes include TCP UDP Trans Httpd Client SSL Client WEB Socket 1 1 TCP UDP Trans UART interface can transparent transmission mode has the advantage of UART interface and network communication of the plug and play which reduce the complexity of the user to a great extent Modules to work in a transparent transmission mode the users only need to configure the necessary parameters UART interface and network communication can be realized After power on module automatically connected to the wireless network and server configured Transparent transmission mode is fully compatible with your own software platform reducing the workload of integration of wireless data transmission software development PC1 encryption can be enable in trans mode The data recived from uartO will be encripted by PC1 then up
42. l WWW USI SO Uart1 set SOCKDISA Set the tcp client reconnect mode 1 59 uu 2 44 6 ki 3 3 4 4 4 4 4 7 4 9 0 5 2 5 54 5 5 6 e 8 9 0 1 3 5 8 1 3 7 8 1 AT ENTM gt Function Exit the command mode enter the translate mode Format Set AT ENTM lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters none After the command is executed correctly module from the command mode switch 43 63 M A 2 3 4 9 6 USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO to translate mode AT E Function Set query module echo the at command set Format Query AT E CR lt CR gt lt LF gt 0OK lt on off gt lt CR gt lt LF gt Set AT E lt on off gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters on Open the echo echo the AT command input command off the AT command mode type the command does not echo AT Z gt Function Restart the module Format Set AT Z CR lt CR gt lt LF gt OK lt CR gt lt LF gt Parameters none After the command is executed correctly restart the module AT CFGTF gt Function After the command is executed correctly restart the module Format Set AT CFGTF CR lt CR gt lt LF gt OK lt status gt lt CR gt lt LF gt gt Parameters status Returns the operating status e SAVED Set up the success
43. loaded to the Socket The data recived from socket will be decripted then send the data through serial port Users need to preset parameters usually include Wireless network parameters 9 SSID security mode 16 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual secret key gt TCP UDP parameter protel connection type destination port destination address gt UART parameter Baud rate data bits stop bit parity bit Q O O O o Hardware flow control WWVW UST SO Note About PC1 encryption method please refer to the website information USR C322 PC1 Encrypt in Trans Mode User Manual V1 0 Download Address http www usriot com Download 236 html 1 2 Httpd Client mode HttpdClient mode is packaged serial data packets into the HTTP protocol packets and sent to the server the server returned data via a serial port printed Support POST GET mode UARTO UART1 support this mode 1 3 SSL Client mode SSL communication is encrypted security passthrough communication support the TCP Client mode Encryption types supported SSLV3 TLSV1 TLSV1 1 TLSV1 2 SSLv3 TLSV1 2 DLSV1 The encryption algorithm support 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 9999 90909809090 Support encryption certifi
44. ls VSWR 2 Max 10dB Max Connection Type IPEX 2 4 The Hardware Circuit Design Reference The hardware design considerations Need to add more than 200uf capacitance module power supply pin SOPO SOP1 no connect SOP2 reserved a port used to upgrade firmware in uartO Reset Reload need to pick up on the 4 7 K resistor nLink nReady Effective for low level output Serial port RXD TXD seriesa 0 9 resistance Serial port RXD TXD need to pick up on the 10K resistor V NV NN N N N 13 63 Be Honest Do Best WWwW USI SO A USR IOT USR C322 Low Power Minisize WiFi Module User Manual U USR C322 UARTl1 TX UART1 EX 14 63 GND GND GND ITAG_TMS n 4 r aL Ne am gt 3 ea yop av E 02 SOP2 3 rece MET L 30P1 E EM 39 NC 8020 7 Tom 38 GPIO22 H SPI CE GPIO17 E Ti SPI MOSIGPIOl6 gt gt ii SPI MISO GPIO15 GND SPI CLK GPIO14 12 33 des icd SS sPLIRQGPIOI3 H Go E 14 TR ra A a eee 31 UART1 RX zn Ei uU UARTI REGPIOL k ia 4 15 LADA i 30 UARTI TX e UART1 TX GPIO10 lt Ci 16 P 5 me by 29 2200 FS an Y GND 100nF goco VOCEA oO M3 3 EN VODO Er ZE Mone A a un 45 2 E Oooo 255000 GND EM GND GHD loo i OO e ler Fr uni No le JOU C4 04 3 073 T 0 074 093 07 i074 5A GA ao kk BE elem eje ks a 8 Be s GND SERE VDD 3V3 ELE LAA ee VDD 3V3 VDD 3V3 VDD 3V3 A USR IOT Be Honest
45. na http www usr so http h usriot com sales usr cn order usr cn Appendix B Disclaimer This document provides information about USR C322 modules this document does not grant any license to intellectual property rights Except the responsibility declared in the product sale clause USR does not assume any other responsibilities In addition USR does not make any warranties for the sale and use of this product including the suitability of the product for a particular purpose merchantability or fitness for any patent copyright or other intellectual property infringement etc USR may make changes to specifications and product descriptions without notice Appendix C Update History V 1 0 V 1 1 V 1 2 V 1 3 V1 4 V2 1 V2 2 V2 3 09 15 2014 10 13 2014 02 09 2015 03 05 2015 03 23 2015 03 31 2015 05 19 2015 06 10 2015 06 25 2015 First Version Add webpage setting parameter Add low power mode add domain name resolution DNS Add simplelink fast setting Add limitation of some AT command parameter Add 485 function Add RXD TXD pull up in schematic diagram Add UDP broadcast Add the limit of length when enter web authentication Improve the losing data problem when transmissing data Add uart1 and two sockets add httpd client function web socket function SSL Client function Add Service and Support web address change the AT HTPHEAD description change The Hardware Circuit Design Reference Change the
46. o Best USR C322 Low Power Minisize WiFi Module User Manual WWW USI SO Wireless Printer 9 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO 2 Hardware Description 2 1 Pin Definitions 4 18 22 mm The module pin Pin Functional Description General GPIO General GPIO Module reset pin low level effectively Start the choice see 2 4 The Hardware Circuit Design 5 SOP2 Reference SOP1 Start the choice default NC 7 SOPO Start the choice default NC ANA DC DC The RF power output pin hung up Nc re Power input pin please connect 3 3 V 10 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO 4 VDD ANA2 RF Power input pin please connect 3 3 V 17 GND GND Module factory default pin low level effectively simplelink 1 nReload start Work instructions pin of module low effective connect an nReady external LED WiFi link pin of module low effective connect an external LED GND GN GND GN 30 UARTMTX UARTTXformodde SSS O U NININ ININ IN N NO N IN O O NJ DO TOCI A N O OO O UO B IBIBI BI BLOQOQOG1OG JOQ QW W G QOW W Eh O N O O JO NJ O OI B 0O N 2 2 Antenna Shows Module has two antenna version internal antenna and external IPEX interface respectively 11 63 A USR IOT IA USR C32 Low Power Minisize WiFi Module User Manual ww
47. page will appear Management page including system status WiFi Set UARTO Set UART1 Set Extra Function Account Set Reload Restar About USR 1 The System Status Page Mainly for the module operation parameters including MAC address MID number version and WiFi link state 31 63 USR C322 Low Power Minisize WiFi Module User Manual O i USR IOT Public A Be Honest Do Best EX English a x KA Sys Statue sys run time O days 00 00 10 Sys status module MAC 54 4A 16 2E 3D 90 WiFi Set module MID USR C322 VARTO Set module ver 2 6 10 UARTI Set EG Extra function wifi mode Station Account Set STA ssid TOTOLINK B71300 Reload Restar STA ip 192 168 5 5 About USR STA gateway 192 168 5 1 STA dns 0 0 0 0 Jinan USR IOT Technology Limited http www Neb Ver 1 0 0 2 WiFi Parameter Setting 1j Wifi Mode Select Wifi model can choose the model of the STA and AP click save Settings res tart to take effect 2 AP Parameter Setting Setting module in AP mode SSID and password AP mode password for 8 63 encryption mode is WPA2PSK by default mode click save Settings restart to take effect 3 STA Parameter Setting oetting module in the STA mode needs to connect AP SSID and password adaptive encryption module DHCP is enabled When the connection of the AP is no encryption set the password to none DHCP automatically obtain IP enabled the module will automatically get the IP DHCP
48. ports 485 trans control Support two uart and three socket communication e Support PC1 16 bytes encryption when work in trans mode 5 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW USI SO Support the HTTPD Client function Support websocket function Support SSL Client function Search in local area network LAN and wireless parameters setting function Support TCP UDP Client registered packet mechanism Support similar RFC2217 automatic baud rate adaptation function Support AT simple instruction set configuration Single 3 3 V power supply Ultra low power mode support deep dormancy Support Internal External I PEX Antenna Option Minisize 18 22mm 26 65mm 2 8mm SMT FCC CE Certificated 6 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWNW USI SO 1 3 functional block diagram SOCKA TCP Server TCP Client TCP UDP UDP Server UE t1 Trans UDP Client Encrypt lt gt Trans Mode decrypt SOCKB TCP Client TCP UDP lt UDP Server 0 Httpd Client GET POST gt WEB Socket lt UART Net gt WIFI MN AT lt Command Command Pel SOCKA 1 TCP Client Encrypt gt TCP UDP lt gt UDP
49. s E SE 9 MEE serial com3 x a ok lt explain gt In the input and the code a no echo as shown in the above Input and a needs to be done in a certain period of time in order to reduce the probability of normal work wrongly into command mode Specific requirements are as follows cy EL input 4 input input input a 300 ms 300 ms lt 3 5 return a From the command mode to switch to translate mode need to adopt the AT ENTM command the command AT ENTM mode input end with a carriage return you can switch to translate mode 4 2 1 AT Summary of Instruction Set AT Instructions can be directly through the super terminal serial debugger such as input can also be programmed to input AT Instructions the command line based on ASCII format is as follows gt Format Specification lt gt Apart of must contain the optional parts gt Command AT CMD op para 1 para 2 para 3 para 4 CR AT Command messages prefix CMD Command string op Instruction operator is specified parameters to set or query parameter Settings NULL query para n Input parameter Settings such as query is not required lt CR gt end mark ENTER ASCII 0xOa or OxOd Response Message lt CR gt lt LF gt lt RSP gt op para 1 para 2 para 3 para 4 lt CR gt lt LF gt The response message prefix RSP Response to a string including
50. send 3 7 Fast Access Wi Fi usrlink When one module works in AP mode it opens a UDP port used to receive fast access Wi Fi commands the port number is 48899 if the version is under 2 1 10 the port is 49000 The phone PDA can directly connect to Wi Fi network of the module send commands to search router list and set SSID and password After the completion of set up module will automatically restart connected to the router work in the STA mode at this time Protocol format Searching command length oum of data bytes from length bytes to check byte not contain length bytes and check byte check oum of bytes from head not contained byte to check byte not contained Response for searching re fixe value OxFF length oum of data bytes from length bytes to check byte not contain length bytes and check byte The number of AP what module scans 25 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO af a Separator of SSID1 fixed value 0x00 Signal Signal strength of router 1 0 100 0 100 strength1 separator 2 Separator of signal strength1 fixed value OxOD OxOA ko are v Separator of SSID n fixed value 0x00 Signal Signal strength of router n O 100 0 100 strength M 4 check 1 Sum of bytes from head not contained byte to check byte not contained Example Data from phone PDA to module HEX FF 00 01 01 02 Data from module to
51. ser Manual WWW UST SO Ex English Set a New Account and Password Sys status Current User Name admin WIF Set Current Password admin Trans Set Extra function New User Name 5 bytes Account Set Reload Restar po oppo About USR Jinan USR IOT Technology Limited http www usr so Web Ver 1 0 0 7 Reload Restar This page includes the module to the factory state and restart the module function 38 63 A USR IOT Be Honest Do Best Sys status WiFi Set Trans Set Extra function Account Set Reload Restar About USK 8 About USR USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO IMPORTANT NOTICE After reload factory Settings all user s confiquration will become the default arguments when leaving the factory you can change the configuration by the AT command serial port or log on to http 192 168 1 1 to reconfigure Reboot to restart equipment if there is a new parameter Settings restart settings will take effect Jinan USR IOT Technology Limited htip www usr Web Ver 1 0 0 This page is a simple introduction of Jinan USR IOT Technology Limited 39 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual About USR Jinan USR IOT Technology Limited has been focusing on IOT and M2M field for more than 6 years We offer networking products such as serial device server Ethernet to serial GP
52. sword is correct 27 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO 3 8 Simplelink Configuration Simplelink function main realization module of intelligent network namely the quick connect to the AP Modules work in STA and AP mode lower Reload pin 0 to 3 seconds the module get into the Smartconfig configuration at this time Ready pin output high and low level of 0 5 Hz The handheld device connected to the module to connect to the AP open the APP enter the password click on start Module will automatically restart after successfully connect to the AP Note when using the AT WSTA AP information query module is connected password show SAFE password is not visible 3 9 RFC2217 Automatic Baud Rate Function 3 9 1 RFC2217 Functional Description 1 RFC2217 is an instant change via Ethernet equipment serial port parameters of a standard protocol this device supports a similar RFC2217 agreement not a standard RFC2217 realize the same function but the deal easier 2 Sends a command to the device after this agreement if do set serial port parameters meet the requirements not return anything if the calibration error or agreement is wrong will be as a common packet via a serial port forwarding 3 TCP Client TCP Server UDP Client and UDP Server and broadcast the several patterns are support this function 4 This command changes take effect immediately do not nee
53. t CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters data GET POST 37 ATTHTPSV gt Function Set Query the httpd client server address and port gt Format Query AT HTPSV lt CR gt lt CR gt lt LF gt OK lt address port gt lt CR gt lt LF gt Set AT HTPSV lt address port gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters address The server address port the server port 1 65535 38 AT HTPHEAD gt Function Set Query the httpd client gt Format Query AT HTPHEAD lt CR gt lt CR gt lt LF gt OK lt data gt lt CR gt lt LF gt Set AT HTPHEAD lt data gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters data The head defined by customer the max length is 200 bytes The lt lt CRLF gt gt replace rin like Accept image gif lt lt CRLF gt gt Content Type text html lt lt CRLF gt gt 39 HTPURL gt Function Set Query the httpd client post url gt Format Query AT HTPURL lt CR gt lt CR gt lt LF gt OK lt data gt lt CR gt lt LF gt Set AT HTPURL lt data gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters data The url that is set in POST mode The max length is 64 bytes 54 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO 40 HTPCHD gt Function Set Query the state of cutting head of return data gt Format Query AT HTP
54. t LF gt OK lt CR gt lt LF gt gt Parameters mode Network IP mode o sitatic static IP e DHCP dynamic IP address mask gateway DNS are omitted address IP mask mask gateway gateway dns DNS Note set the module to get the dynamic IP just set up AT WANN DHCP CR gt 18 AT WSLK gt Function Query the STA wireless link state gt Format Query AT WSLK lt CR gt lt CR gt lt LF gt OK lt status rssi gt lt CR gt lt LF gt gt Parameters status e f there is no connection return Disconnected e f there is a connection return AP SSID AP MAC rssi 0 100 When signal strength is required less than 10 weak signal when the data transmission may lose data 19 AT WAP gt Function Set query AP wi fi configuration parameters gt Format Query AT WAP lt CR gt lt CR gt lt LF gt OK lt ssid key gt lt CR gt lt LF gt Set AT WAP lt ssid key gt lt CR gt lt CR gt lt LF gt OK lt CR gt lt LF gt gt Parameters ssid AP SSID 90 48 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO key Set the AP encryption password the default wpa2psk encryption password length greater than or equal to 8 bytes set to None is without encryption Note the ssid and key does not support special characters 20 AT CHANNEL Function Channel Settings query module AP mode Format Query AT CHANNEL CR lt CR gt lt L
55. ta PC1 encryption can be enable in trans mode The data recived from uartO will be encripted by PC1 then uploaded to the Socket The data recived from socket will be decripted then send the data through serial port When enable PC1 encryption the time will increases from uart to socket or from socket to uart In order to reduce lose data you should increase the time interval between sending packets PC1 encryption algorithm please refer to the USR C322 PC1 encryption in trans mode instructions Download Address http www usriot com Download 236 html 2 Httpd Client mode HttpdClient pattern is packaged serial data packets into the HTTP protocol packets support POST GET mode UARTO UART1 support this pattern specific package is as follows POST POST customer URL HTTP 1 1 lt CR gt lt LF gt Connection close lt CR gt lt LF gt User Agent Mozilla 4 0 lt CR gt lt LF gt Content Length length of uart data CR LF customer head htp head Host server address server port CR LF CR LF data from uart GET GET data from uart HTTP 1 1 lt CR gt lt LF gt Connection close lt CR gt lt LF gt User Agent Mozilla 4 0 lt CR gt lt LF gt customer head htp head Host server address server port CR LF CR LF Related to the AT command set GET POST Mode AT HTPTP gt customer URL AT HTPURL gt customer head htp head AT HTPHEAD gt server address server port AT HT
56. wusso Internal Antenna External l PEX 2 3 Size and Layout Recommendations Suggest PCB size you can download the PCB footprint from our homepage Z45 Tt 0 7mm 29 05mm o es aaa aas 1 27mm 2 3 Cloth plate specification 1 Internal Antenna Customers to use the internal antenna the need to abide by the following considerations and internal antenna module placed general rules 12 63 A USR IOT Be Honest Do Best USR C322 Low Power Minisize WiFi Module User Manual WWW UST SO On the user s PCB and grey shaded area above the corresponding area cannot be placed components and GND gt Antennas away from the metal at least distance with high components around more than 10 mm Antenna part cannot be metal shell plastic shell need at least more than 10 mm away from the antenna It is suggested that module is placed in the following areas of the user s board as far as possible to reduce the influence of the antenna and wireless signal and at the same time please consult someone technical support staff to assist the placement of modules and related areas of the Layout design 2 external antenna Customers to use external antenna lead according to the requirement of the IEEE802 11 b g n standard need to connect the 2 4 g external antenna External antenna using IPEX interface The parameters of the external antenna requirements in the table below detai
Download Pdf Manuals
Related Search
Related Contents
5DT Data Glove Ultra Series User`s Manual Lender Manifest Reporting FAQs User Manual CompactPCI Backplanes intext:Installationsanleitung filetype:pdf VSTIZER BASIC VIRTUAL RTP-MIDI PORT - Kiss-Box Polaroid FLM-1514B User's Manual HP LaserJet 2200 User's Manual Weber 89796 User's Manual User Manual - MPI Distribution AG Copyright © All rights reserved.
Failed to retrieve file