USR-WIFI232- A/B/C User Manual http://www.usriot.c om
USR-WIFI232-
USR-WIFI232-
USR-WIFI232-
USR-WIFI232- A/B/C
Embedded
Embedded
Embedded
Embedded WiFi
WiFi
WiFi
WiFi Module
A/B/C
A/B/C
A/B/C
Module
Module
Module User
User
User
User Manual
Manual
Manual
Manual
Version : V5.0.8
Remarks: This module is applicable to USR-WIFI232-A/B/C and its derivatives, for example USRWIFI232-2/6 1 0 . For USR-WIFI232-G/T /S , please refer to the corresponding document.
Note: this article is based on the firmware version for V5.01.01 and above version of the module,
if the version is lower than this version, some function is not supported.
1
Jinan USR IOT Technology Limited Page
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Table
Of
Table
Table
Table Of
Contents
Of
Contents
Of Contents
Contents
1 Quick Start .................................................................................................................................................. 7
1.1 Hardware connect .......................................................................................................................... 7
1.2 Network connection ........................................................................................................................ 7
1.3 communication test ........................................................................................................................ 9
2 Product Overview ...................................................................................................................................... 9
2.1 General Description ..................................................................................................................... 10
2.2 Device Features ........................................................................................................................... 10
2.3 Device Paremeters .......................................................................................................................
2.4 Key Application .............................................................................................................................
2.5 Package Information .................................................................................................................... 12
2.5.1 Recommended Reflow Profile ........................................................................................ 12
2.5.2 Device Handling Instruction (Module IC SMT Preparation) ........................................ 12
2.5.3 Shipping Information ......................................................................................................... 13
3 Hardware Introduction ............................................................................................................................ 13
3.1 Pins Definition ............................................................................................................................... 13
3.1.1 USR-WIFI232-A/B Pins Definition .................................................................................. 13
3.1.2 USR-WIFI232-Ca/Cb Pins Definition ............................................................................. 15
3.2 Mechanical Size ........................................................................................................................... 16
3.2.1 USR-WIFI232-A/B ............................................................................................................. 16
3.2.2 USR-WIFI232-Ca/Cb ........................................................................................................ 17
3.3 Antenna .......................................................................................................................................... 18
3.3.1 On-board Chip Antenna ................................................................................................... 18
3.3.2 External Antenna ............................................................................................................... 18
3.4 Evaluation Kit ................................................................................................................................ 19
3.5 Hardware Reference Design ...................................................................................................... 21
3.5.1 Hardware Typical Application .......................................................................................... 21
3.5.2 10/100M Ethernet Interface ............................................................................................. 22
3.5.2.1 Ethernet Connection with Transformer ............................................................... 22
3.5.2.2 Ethernet Connection without Transformer ......................................................... 23
3.5.3 UART Interface .................................................................................................................. 25
3.5.4 Power Interface ................................................................................................................. 25
4 Modules Function Description ............................................................................................................... 25
4.1 User configuration process ......................................................................................................... 26
4.2 Working mode ............................................................................................................................... 26
4.2.1 Transparent Mode ............................................................................................................. 26
4.2.2 Serial command mode ..................................................................................................... 27
4.2.3 GPIO mode ........................................................................................................................ 28
4.2.4 HTTPD Client mode ......................................................................................................... 28
4.3 Wireless Networking .................................................................................................................... 29
4.3.1 STA ...................................................................................................................................... 30
4.3.2 AP ........................................................................................................................................ 30
4.3.3 AP+STA .............................................................................................................................. 31
4.4 Ethernet Interface Communication ............................................................................................ 32
11
11
Jinan USR IOT Technology Limited Page
2
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
4.4.1 USR-WIFI232-A/B/C Ethernet Interface Networking (As AP) .................................... 32
4.4.2 USR-WIFI232-A/B/C Ethernet Interface Networking (As STA, N-Ver) ...................... 33
4.4.3 USR-WIFI232-A/B/C Ethernet Interface Networking (As STA, Z-Ver) ...................... 34
4.5 WI-FI parameter setting ............................................................................................................... 34
4.5.1 Auto- Frequency Function ............................................................................................... 34
4.5.2 Security ............................................................................................................................... 34
4.5.3 Search Function for STA .................................................................................................. 35
4.5.4 Address Binding ................................................................................................................ 35
4.6 UART Frame Scheme ................................................................................................................. 35
4.6.1 UART Free-Frame ............................................................................................................ 35
4.6.2 UART Auto-Frame ............................................................................................................ 36
4.7 Network Setting ............................................................................................................................ 36
4.7.1 Socket A ............................................................................................................................. 36
4.7.2 Socket B ............................................................................................................................. 37
4.8 New function ................................................................................................................................. 37
4.8.1 TCP password authentication ......................................................................................... 37
4.8.2 Registered Package ID/MAC .......................................................................................... 37
4.8.3 Self-adaption Baudrate .................................................................................................... 38
4.8.4 WEB IO ............................................................................................................................... 38
4.8.5 Keepalive ............................................................................................................................ 38
4.8.6 Multiple
STA
parameters .................................................................................................. 38
4.8.7 Websocket ......................................................................................................................... 39
4.8.8 Fast access Wi-Fi(usr-link) .............................................................................................. 39
4.9 Palmodic Signal ............................................................................................................................ 41
4.10 Parameters Configuration ......................................................................................................... 41
4.11 Firmware Upgrade ..................................................................................................................... 42
5 Web Accessing and AT+instruction set ................................................................................................ 43
5.1 Configuration via Web Accessing .............................................................................................. 43
5.1.1 Open Web Management Interface ................................................................................. 43
5.1.2 Quick Configure ................................................................................................................ 44
5.1.3 Mode Selection Page ....................................................................................................... 44
5.1.4 AP Interface Setting Page ................................................................................................ 45
5.1.5
STA
Interface Setting Page ............................................................................................. 45
5.1.6 Application Setting Page .................................................................................................. 46
5.1.7 Ethernet Setting ................................................................................................................ 47
5.1.8 HTTPD Client Mode ......................................................................................................... 48
5.1.9 WEB IO ............................................................................................................................... 48
5.1.10 Advanced Page ............................................................................................................... 49
5.1.11 Device Management Page ............................................................................................ 49
5.2 AT+instruction Introduction ......................................................................................................... 50
5.2.1 Configuration Mode .......................................................................................................... 50
5.2.1.1 Switch to Configuration Mode .............................................................................. 51
5.2.2 AT+ Instruction Set Overview .......................................................................................... 51
5.2.2.1 Instruction Syntax Format .................................................................................... 53
Jinan USR IOT Technology Limited Page
3
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
5.2.2.2 AT+ Instruction Set ................................................................................................ 54
5.2.2.2.1 AT+E ............................................................................................................. 56
5.2.2.2.2 AT+ENTM .................................................................................................... 56
5.2.2.2.3 AT+NETP ..................................................................................................... 56
5.2.2.2.4 AT+UART ..................................................................................................... 57
5.2.2.2.5 AT+UARTF .................................................................................................. 57
5.2.2.2.6 AT+UARTFT ................................................................................................ 57
5.2.2.2.7 AT+UARTFL ................................................................................................ 58
5.2.2.2.8 AT+TMODE ................................................................................................. 58
5.2.2.2.9 AT+WMODE ................................................................................................ 58
5.2.2.2.10 AT+WSKEY ............................................................................................... 59
5.2.2.2.11 AT+WSSSID .............................................................................................. 59
5.2.2.2.12 AT+ WSLK ................................................................................................. 59
5.2.2.2.13 AT+WEBU ................................................................................................. 60
5.2.2.2.14 AT+WAP .................................................................................................... 60
5.2.2.2.15 AT+WAKEY ............................................................................................... 61
5.2.2.2.16 AT+HIDESSID ........................................................................................... 61
5.2.2.2.17 AT+MSLP ................................................................................................... 62
5.2.2.2.18 AT+WSCAN ............................................................................................... 62
5.2.2.2.19 AT+ TCPLK ................................................................................................ 62
5.2.2.2.20
AT
+ TCPDIS ............................................................................................. 62
5.2.2.2.21 AT+ WANN ................................................................................................ 63
5.2.2.2.22 AT+ LANN .................................................................................................. 63
5.2.2.2.23 AT+DHCPDEN .......................................................................................... 64
5.2.2.2.24 AT+ DHCPGW .......................................................................................... 64
5.2.2.2.25 AT+ TCPTO ............................................................................................... 64
5.2.2.2.26 AT+ MAXSK .............................................................................................. 65
5.2.2.2.27 AT+TCPB ................................................................................................... 65
5.2.2.2.28 AT+TCPPTB .............................................................................................. 65
5.2.2.2.29 AT+TCPADDB ........................................................................................... 66
5.2.2.2.30 AT+TCPTOB ............................................................................................. 66
5.2.2.2.31 AT+TCPLKB .............................................................................................. 66
5.2.2.2.32 AT+EPHY ................................................................................................... 66
5.2.2.2.33 AT+STTC ................................................................................................... 67
5.2.2.2.34 AT+DOMAIN ............................................................................................. 67
5.2.2.2.35 AT+FUDLX ................................................................................................ 67
5.2.2.2.36 AT+MMID ................................................................................................... 68
5.2.2.2.37 AT+IDFIR ................................................................................................... 68
5.2.2.2.38 AT+IDEVE ................................................................................................. 68
5.2.2.2.39 AT+AABR ................................................................................................... 69
5.2.2.2.40 AT+RELD ................................................................................................... 69
5.2.2.2.41 AT+Z ........................................................................................................... 69
5.2.2.2.42 AT+MID ...................................................................................................... 69
5.2.2.2.43 AT+VER ..................................................................................................... 69
Jinan USR IOT Technology Limited Page
4
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
5.2.2.2.44 AT+H .......................................................................................................... 69
5.2.2.2.45 AT+ HTTPURL .......................................................................................... 70
5.2.2.2.46 AT+ HTTPTP ............................................................................................. 70
5.2.2.2.47 AT+ HTTPPH ............................................................................................ 70
5.2.2.2.48 AT+ HTTPCN ............................................................................................ 70
5.2.2.2.49 AT+ HTTPUA ............................................................................................ 71
5.2.2.2.50 AT+WSSSIDA ........................................................................................... 71
5.2.2.2.51 AT+WSSSIDB ........................................................................................... 71
5.2.2.2.52 AT+WSSSIDC ........................................................................................... 72
5.2.2.2.53 AT+WSKEYA ............................................................................................. 72
5.2.2.2.54 AT+WSKEYB ............................................................................................ 72
5.2.2.2.55 AT+WSKEYC ............................................................................................ 73
5.2.2.2.56 AT+ WSQY ................................................................................................ 74
5.2.2.2.57 AT+ HTPMODE ........................................................................................ 74
5.2.2.2.58 AT+ HTPSV ............................................................................................... 74
5.2.2.2.59 AT+ HTPTP ............................................................................................... 74
5.2.2.2.60 AT+ HTPURL ............................................................................................ 75
5.2.2.2.61 AT+ HTPHEAD ......................................................................................... 75
5.2.2.2.62 AT+ REGEN .............................................................................................. 75
5.2.2.2.63 AT+ REGTCP ............................................................................................ 76
5.2.2.2.64 AT+ REGID ................................................................................................ 76
6 USR-WIFI232-A/B/C Usage Introduction ............................................................................................. 76
6.1 Module Debug .............................................................................................................................. 76
6.1.1 Software Debug Tools ...................................................................................................... 76
6.1.2 Network Connection ......................................................................................................... 77
6.1.3 Debug ................................................................................................................................. 77
6.2 Use Cases ..................................................................................................................................... 79
6.2.1 Wireless Control Application ........................................................................................... 79
6.2.2 Remote Management Application .................................................................................. 80
6.2.3 Transparent Serial Port Application ................................................................................ 80
6.2.4 Wireless Data Acquisition Card Application .................................................................. 81
Appendix A: Questions and Answers ....................................................................................................... 83
Q1: How to configure transparent serial port application (TCP protocol) with two WIFI
modules? .............................................................................................................................................. 83
Q2: Where to Set WIFI Module LAN IP and WAN IP through Web Page ? .............................. 84
Q3: How to configure transparent serial port application (UDP protocol) with two WIFI
modules? .............................................................................................................................................. 84
Q4: Where to set USR-WIFI232-A/B/C module network protocol (TCP/UDP)? ....................... 85
Q5: How to configure transparent serial port application: Two WIFI modules all configured as
STA
and connection through AP? ..................................................................................................... 86
Q6: How to avoid IP address confliction when apply USR-WIFI232-A/B/C module? .............. 87
Q7: PC works as server, all WIFI modules works as data acquisition card and connect with
PC, how to configure this application? ............................................................................................ 87
Q8: WIFI module support UDP multicast? ...................................................................................... 88
Jinan USR IOT Technology Limited Page
5
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Q9:WIFI module operates in
STA
mode, the PC how to get the IP module? ............................ 88
Appendix b: evb reference design ............................................................................................................ 90
Appendix c: external power shutdown mode reference design ........................................................... 91
Appendix e: Contact Information .............................................................................................................. 92
Appendix f: Disclaimer ............................................................................................................................... 92
Appendix g: History .................................................................................................................................... 93
Jinan USR IOT Technology Limited Page
6
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
1
Quick
1
Quick
1
1 Quick
Quick Start
USR-WIFI232 series product is used to transm it data between RS232 and WIFI TCPIP
transparently, user can update the product to WIFI control without know ing the WIFI and TCPIP
detail. All the convert work is done by the module . F or users, the RS232 side is only as a serial
device,the WIFI side is TCPIP Socket data. User can setup the work detail by sample settings
which can setup via inside web pages or RS232 port . T he setup work only need do once, then it
will save the setting forever.
This chapter is a user guide for USR-WIFI232 series products. W e suggest users follow the guide
to test module at first, and will have a good understanding of the modules. U sers can also choose
the chapter which you are interested in to read. For specific details and instructions, please refer
to the following chapters.
If there are problems in using the process, you can refer to the official website of our application
case:
http://www.usriot.com/Faq/cat-47.html
http://www.usriot.com/Faq/cat-47.html
http://www.usriot.com/Faq/cat-47.html
http://www.usriot.com/Faq/cat-47.html
We can also submit the issue to our customer support center:
http://h.usriot.com
http://h.usriot.com
http://h.usriot.com
http://h.usriot.com
Start
Start
Start
1.1
Hardware
1.1
Hardware
1.1
1.1 Hardware
Hardware connect
In order to test WIFI module, we need connect module RS232 to PC and also WIFI to PC.
In order to test the communication between serial and WIFI network, we need to connect the
serial port to PC, and also connect WIFI networks to PC. Due to the special need both WIFI and
serial, we use PC which add USB WIFI network Card such as the following picture.
connect
connect
connect
hardware
Figure 1 hardware
hardware
hardware connection
connection
connection
connection diagram
diagram
diagram
diagram
About the serial connection, because the module RS232 is 3.3V TTL lev el, the computer can not
connect to module directly, the user needs to have a TTL to RS232 adapter cable and then
connect to the computer. in order to facilitate the test, we provide USR-WIFI232-A/B/C evaluation
board for users to choose.
7
Jinan USR IOT Technology Limited Page
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
1.2
Network
1.2
Network
1.2
1.2 Network
Network connection
The following is the USR-WIFI232-Amodule example ,Other modules are the same. Open Wi-Fi,
search network, as shown in below, USR-WIFI232-A/B _3378(A/B determined according to the
specific type of module, XXXX is the MAC address after the four) is the default network name
(SSID) of the module.
connection
connection
connection
Figure 2 WIFI
Join the network, choose to automatically obtain
and is enabled by default.
Jinan USR IOT Technology Limited Page
WIFI
Search
WIFI
Search
WIFI Search
Search
IP,
WIFI module supports DHCP Server feature
8
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
WIFI
connection
WIFI
Figure 3 WIFI
Now, n link led of USR-WIFI232-AEvaluation Board is lighting.
1.3
communication
1.3
communication
1.3
1.3 communication
communication test
Module ’ s default setting:
SSID:
SSID:
SSID:
SSID: USR-WIFI232-A;
Encryption
Encryption
Encryption
Encryption mode
UART:
UART:
UART:
UART: 57600 ,8,1,None ;
Network
Network
Network
Network parameters
IP:
IP:
IP:
IP: 10.10.100.254;
We just need to follow the parameters of the corresponding set of network communication
parameters, you can make serial <- - > WIFI communication, the steps are as follows:
1. Open test software USR-TCP232-Test ;
2. COM Settings area (left):
C hoose COM port witch has connect the module, there is COM3, choose band rate to 57600 , this
is the default band rate of WIFI module, Click Open COM port.
3. Net Settings area (right):
C hoose TCP client mode, Server IP write 10.10.100.254, it is the WIFI default IP address, Server
port to 8899, It is the default Port the WIFI module listen, Click Connect to link to the module.
Now, you can test send data between RS232 and WIFI.
COM port to WIFI: PC RS232 -> Module RS232 -> Module WIFI -> PC WIFI .
WIFI to COM port: PC WIFI -> Module WIFI -> Module RS232 -> PC RS232.
mode
mode
mode :
parameters
parameters
parameters : TCP ,Server,8899,10.10.100.254 ;
test
test
test
:
:
: open , none ;
connection
WIFI connection
connection
serial
Figure 4 serial
Jinan USR IOT Technology Limited Page
serial
serial /
/
network
/
network
/ network
network transmission
transmission
transmission
transmission test
9
93
of
test
test
test
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
2
Product
2
Product
2
2 Product
Product Overview
2.1
General
2.1
General
2.1
2.1 General
General Description
USR-WIFI232-A/B/C module is an integration of 802.11 b/g/n wi-fi module,which provide a
wireless interface to any equipment with a Serial interface for data transfer.
The module used to MAC, baseband chip, RF transceiver unit, as well as the power
amplifier;Embedded firmware support wi-fi protocols and configuration, as well as the network
TCP/IP protocol stack.
USR-WIFI232-A/B/C uses the industry's highest performance embedded industrial structure, and
for the application of smart furniture, smart grid, handheld devices, personal medical, industrial
control, etc. These data fields, do a professional optimization.
USR-WIFI232-A/B/C as a hot spot can accommodate 32 clients simultaneously wi - fi access, but
also can accommodate 32 TCP client, specific models and parameters of the series modules are
as follows:
USR-WIFI232-A 40mm x 25mm , 2x7 2mm Connector , Built-in antenna
USR-WIFI232-B 40mm x 25mm , 2x7 2mm Connector , I-PEX connector
USR-WIFI232-Ca 40mm x 25mm , SMT Footprint , Built-in antenna
USR-WIFI232-Cb 40mm x 25mm , SMT Footprint , I-PEX connector
Overview
Overview
Overview
Description
Description
Description
2.2
Device
2.2
Device
2.2
2.2 Device
Device Features
Support
Support
Support
Support IEEE802.11b/g/n
Support
Support
Support
Support TCP/IP/UDP
Support
Support
Support
Support UART/GPIO/Ethernet
Support
Support
Support
Support Work
Support
Support
Support
Support Router/Bridge
Support
Support
Support
Support Internal/External
Support
Support
Support
Support Transparent
Support
Support
Support
Support AT+
Support
Support
Support
Support Friendly
Support
Support
Support
Support Palmodic
Support
Support
Support
Support UART
Features
Features
Features
IEEE802.11b/g/n
IEEE802.11b/g/n
IEEE802.11b/g/n Wireless
TCP/IP/UDP
TCP/IP/UDP
TCP/IP/UDP Network
UART/GPIO/Ethernet
UART/GPIO/Ethernet
UART/GPIO/Ethernet Data
Work
As
Work
Work As
Router/Bridge
Router/Bridge
Router/Bridge Mode
Internal/External
Internal/External
Internal/External Antenna
Transparent
Transparent
Transparent Transmission
AT+
AT+
AT+ Instruction
Friendly
Friendly
Friendly Web
Palmodic
Palmodic
Palmodic Signal
UART
UART
UART Auto-Frame
STA/AP
As
STA/AP
As STA/AP
STA/AP /AP+STA
Instruction
Instruction
Instruction Set
Web
Web
Web Configuration
Auto-Frame
Auto-Frame
Auto-Frame Function
Wireless
Wireless
Wireless Standards
Network
Network
Network Protocols
Mode
Mode
Mode Networking
Transmission
Transmission
Transmission Mode
Configuration
Configuration
Configuration Page
Signal
Signal
Signal
Protocols
Protocols
Protocols
Data
Data
Data Interface
/AP+STA
/AP+STA
/AP+STA Mode
Networking
Networking
Networking
Antenna
Antenna
Antenna Option
Set
for
Set
for
Set for
for Configuration
Function
Function
Function
Standards
Standards
Standards
Interface
Interface
Interface
Mode
Mode
Mode
Option
Option
Option
Mode
Mode
Mode
Configuration
Configuration
Configuration
Page
Page
Page
Single
Single
Single
Single +3.3V
Small
Small
Small
Small Size:
Jinan USR IOT Technology Limited Page
+3.3V
+3.3V
+3.3V Power
Size:
Size:
Size: 25
Power
Power
Power Supply
25
x
25
x
25 x
x 40mm
40mm
40mm
40mm
Supply
Supply
Supply
10
93
of
tec@usr.cn
FCC/CE
FCC/CE
FCC/CE
FCC/CE Certificated
2.3
Device
2.3
Device
2.3
2.3 Device
Device Paremeters
Certificated
Certificated
Certificated
Paremeters
Paremeters
Paremeters
Class
Class
Class
Class Item
Wireless
Wireless
Wireless
Wireless
Parameters
Parameters
Parameters
Parameters
Hardware
Hardware
Hardware
Hardware
Parameters
Parameters
Parameters
Parameters
Software
Software
Software
Software
Parameters
Parameters
Parameters
Parameters
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Table 1 USR-WIFI232-A/B/C Module Technical Specifications
Item
Item
Item Parameters
Certification FCC / CE
Wireless standard 802.11 b/g/n
Frequency range 2.412GHz-2.484GHz
Transmit Power
Receiver Sensitivity
Antenna Option
Data Interface
Operating Voltage 3.3V (+/-5%)
Operating Current 170mA~300mA
Operating
Temperature
Storage Temperature
Dimensions and Size 25 × 40 × 8mm
Network Type Station /AP mode /STA+AP
Security Mechanisms WEP/WAP-PSK/WAP2-PSK
Encryption WEP64/WEP128/TKIP/AES
Work Mode Transparent Mode/Serial command
AT command AT+instruction set
Network Protocol
Max. TCP Connection 32
User Configuration
Parameters
Parameters
Parameters
802.11b: +20 dBm (Max.)
802.11g: +18 dBm (Max.)
802.11n: +15 dBm (Max.)
Configurable
802.11b: -89 dBm
802.11g: -81dBm
802.11n: -71dBm
External : I-PEX Connector
Internal :On-board chip antenna
UART: 300 bps - 4608 00bps
GPIOs
Ethernet: 100Mpbs
- 40 ℃ - 85 ℃
-4 0 ℃ - 125 ℃
TCP/UDP/ARP/ICMP/DHCP/DNS/HT
TP
Web Server + AT command config.
2.4
Key
2.4
2.4
2.4 Key
Remote equipment monitoring
Industrial sensors and controls
Asset tracking and telemetry
Home automation
Medical devices
Jinan USR IOT Technology Limited Page
Application
Key
Application
Key Application
Application
11
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
2.5
Package
2.5
Package
2.5
2.5 Package
Package Information
Information
Information
Information
2.5.1 Recommended Reflow Profile
Reflow
Figure 5 Reflow
Table 2 Reflow Soldering Parameter
NO.
NO.
NO.
NO. Item
1 Reflow Time Time of above 220
2 Peak-Temp 260 max
Note:
Note:
Note:
Note:
1. Recommend to supply N2 for reflow oven.
2. N2 atmosphere during reflow (O2<300ppm).
Item
Item
Item Temperature
Reflow
Reflow Soldering
Temperature
Temperature
Temperature (Degree)
Soldering
Soldering
Soldering Profile
Profile
Profile
Profile
(Degree)
(Degree)
(Degree)
Time(Sec)
Time(Sec)
Time(Sec)
Time(Sec)
35~55 sec
2.5.2 Device Handling Instruction (Module IC SMT Preparation)
Shelf life in sealed bag: 12 months, at <30 ℃ and <60% relative humidity (RH)
After bag is opened, devices that will be re-baked required after last baked with window time
168 hours.
R ecommend to oven bake with N2 supplied.
Baked required with 24 hours at 125 ± 5 ℃ before rework process for two modules, one is
new module and two is board with module.
Recommend to store at ≦ 10% RH with vacuum packing.
If SMT process needs twice reflow:
(1)
Top
side SMT and reflow à (2) Bottom side SMT and reflow
Case 1: Wifi module mounted on top side. Need to bake when bottom side process over 168
hours window time, no need to bake within 168 hours.
Case 2: Wifi module mounted on bottom side, follow normal bake rule before process.
Note:
Window time means from last bake end to next reflow start that has 168 hours space.
Jinan USR IOT Technology Limited Page
12
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
2.5.3 Shipping Information
Shipping
Figure 6 Shipping
TRAY
TRAY
TRAY
TRAY Size: 420*245*34 mm
Note:
Note:
Note:
Note:
1 tray = 5*20 pcs = 100 pcs
1 box = 2 trays = 2*100 pcs = 200pcs
1 carton = 4 boxes = 4*200 pcs = 800pcs
3
Hardware
3
Hardware
3
3 Hardware
Hardware Introduction
3.1
Pins
3.1
Pins
3.1
3.1 Pins
Pins Definition
Definition
Definition
Definition
Introduction
Introduction
Introduction
Shipping
Shipping Information
3.1.1 USR-WIFI232- A/B Pins Definition
Information
Information
Information
Figure 7 USR-WIFI232-
Jinan USR IOT Technology Limited Page
USR-WIFI232-
USR-WIFI232-
USR-WIFI232- A/B
13
93
of
A/B
A/B
A/B
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
PHY_TX
PHY_RX
nReady/GPIO
UART_RTS/GPIO
UART_TXD/GPIO
Figure 8 USR-WIFI232-
+
+
9
RESET
5
3
GND
USR-WIFI232-
USR-WIFI232-
USR-WIFI232- A/B
PHY_TX
PHY_RX
nReload/GPIO
nLink/GPIO
UART_CTS/GPIO
UART_RXD/GPIO
A/B
A/B
A/B Pins
3 . 3 V
Pins
Pins
Pins Map
-
-
Map
Map
Map
10
8
6
4
Table 3 USR-WIFI232- A/B Pins Definition
Pin
Pin
Pin
Pin Description
1
1
1
1 Ground --GND GND Power G round
2
2
2
2 VCC 3.3V@350mA 3.3V Power 3.3V @ 350mA power input
3
3
3
3 UART Data Transmit UART_TXD O If not use UART function ,
4
4
4
4 UART Data Receive UART_RXD I
5
5
5
5 UART sends request
Description
Description
Description Name
Name
Name
Name Directi
GP IO GPIO3 I/O
GP IO GPIO4 I/O
UART_RTS O
Directi
Directi
Directi o
n
n
n
n
o
Note
o
Note
o
Note
Note
this 4 pins can be configured
as GPIO pins, and can
change GPIO pin status
through AT command
of data transmission
GP IO GPIO5 I/O
6
6
6
6 UART receives data
UART_CTS I
transmission
permission
GP IO GPIO6 I/O
7
7
7
7 Module reset signal RESET I “ Low ( 0 ) ” effective reset
input.
The reset duration should be
kept more than 300ms
8
8
8
8 WiFi status Indication nLink O “ 0 ” - WIFI connection
GPIO GPIO8 I/O
available
“ 1 ” - No WIFI connection
Can be configured as GPIO.
9
9
9
9 Indicate the module
status of power on
process
GPIO GPIO9 I/O
nReady O “ 0 ” or “ Palmodic Signal ” -
Finish module boot up
process;
“ 1 ” - Module boot up not
finish.
Can be configured as GPIO.
10
10
10
10 Restore configuration nReload I Module will Restore factory
GPIO GPIO10 I/O
default configuration after set
this pin “ 0 ” more than 1s,
then set “ 1 ” .
11
11
11
11 Ethernet Input+ PHY_RX+ I +1.8V Ethernet Data
12
12
12
12 Ethernet Input- PHY_RX- I
Interface
Jinan USR IOT Technology Limited Page
14
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
13
13
13
13 Ethernet Output+ PHY_TX+ O
14
14
14
14 Ethernet Output- PHY_TX- O
3.1.2 USR-WIFI232- Ca/Cb Pins Definition
Support transformer and
direct connection (AC
couple) mode.
USR-WIFI232-
Figure 9 USR-WIFI232-
Figure 10 USR-WIFI232-
USR-WIFI232-
USR-WIFI232- Ca/Cb
USR-WIFI232-
USR-WIFI232-
USR-WIFI232- Ca/Cb
Ca/Cb
Ca/Cb
Ca/Cb
Ca/Cb
Ca/Cb
Ca/Cb Pins
Pins
Pins
Pins Map
Map
Map
Map
Table 4 USR-WIFI232- Ca/Cb Pins Definition
Pin Description Name DirectionNote
3,18,19,
GND GND Power Ground
20,24,26
1, 2 VCC 3.3V Power 3.3V @ 350mA power
input
4 UART Data Transmit UART_TXD O If not use UART
GPIO GPIO 3 I/O
Jinan USR IOT Technology Limited Page
15
93
of
function , this 4 pins
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
5 UART Data Receive UART_RXD I
GPIO GPIO 4 I/O
6 UART sends request of
data transmission
GPIO GPIO 5 I/O
7 UART receives data
transmission permission
GPIO GPIO6 I/O
8 Ethernet output+ PHY_TX+ O +1.8V Ethernet Data
9 Ethernet output- PHY_TX- O
10 Ethernet In put+ PHY_RX+ I
11
14 WiFi status Indication nlink O “ 0 ” - WIFI connection
15 Module reset signal nRST I
16 Indicate the module
17 Restore configuration nReload I Module will Restore
21 UART1 Data Receive NC NC
22 UART1 Data Transmit NC NC
23 Output 1.8V 1.8V O 1.8V@300mA, to the
25 2.4GHz Antenna ANT O 50ohm impedance
12,13 Retain NC NC
Ethernet In put- PHY_RX- I
status of power on
process
UART_RTS O
UART_CTS I
nReady O
can be configured as
GPIO pins, and can
change GPIO pin
status through
command
Interface(Module with
external 1.8V
reference voltage)
available, “ 1 ” - No WIFI
connection .
“ Low ( 0 ) ” effective
reset input.
The reset duration
should be kept more
than 300ms
“ 0 ” - Finish module
boot up process;
“ 1 ” - Module boot up
not finish.
factory default
configuration after set
this pin “ 0 ” more than
1s, then set “ 1 ” .
Eth application
control line
AT
3.2
Mechanical
3.2
Mechanical
3.2
3.2 Mechanical
Mechanical Size
USR-WIFI232-A/B/C modules physical size (25x40mm) as follows:
Size
Size
Size
3.2.1 USR-WIFI232-A/B
USR-WIFI232- A/B module Mechanical Size:
16
Jinan USR IOT Technology Limited Page
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
USR-WIFI232-
Figure 11 USR-WIFI232-
USR-WIFI232-
USR-WIFI232- A/B
3.2.2 USR-WIFI232-Ca/Cb
USR-WIFI232-Ca/Cb module Mechanical Dimension:
A/B
Mechanical
A/B
Mechanical
A/B Mechanical
Mechanical Size
Size
Size
Size
USR-WIFI232-
Figure 12 USR-WIFI232-
Jinan USR IOT Technology Limited Page
USR-WIFI232-
USR-WIFI232- Ca/Cb
Ca/Cb
Ca/Cb
Ca/Cb Mechanical
17
Mechanical
Mechanical
Mechanical Dimension
93
of
Dimension
Dimension
Dimension
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
3.3
Antenna
3.3
Antenna
3.3
3.3 Antenna
Antenna
3.3.1 On-board Chip Antenna
USR-WIFI232-A/B/C supports a built-in antenna options, when customers choose a built-in antenna,
must comply with the following built-in antenna module placement of notes and general rules:
Be in the user's PCB board, and the red region ( 6X8 mm ) corresponding to the region cannot be
placed components and with GND;
Antenna must away from the metal, at least to the distance around the higher components above
10MM;
Antenna can no t be shielded by any meal enclosure; All cover, include plastic, shall away from
antenna at least 10MM;
USR-WIFI232-A/B/C
Figure 13 USR-WIFI232-A/B/C
USR technological suggestions USR-WIFI232-A/B/C module be placed in the following areas of user
board, in order to reduce the antenna and a wireless signal influence, at the same time, please consult
with technology and technical support staff to assist module placement and associated regions of
Layout design.
Figure 14 Suggested
USR-WIFI232-A/B/C
USR-WIFI232-A/B/C Chip
Suggested
Suggested
Suggested Module
Chip
Antenna
Chip
Antenna
Chip Antenna
Antenna Keep
Module
Module
Module Placement
Placement
Placement
Placement Region
Keep
Out
Keep
Out
Keep Out
Out Region
Region
Region
Region
Region
Region
Region
3.3.2 External Antenna
USR-WIFI232-A/B/C modules support internal antenna and external antenna option for user
dedicated application. If user select external antenna, USR-WIFI232-A/B/C modules must be
connected to the 2.4G antenna according to IEEE 802.11b/g/n standards.
The antenna parameters required as follows:
Jinan USR IOT Technology Limited Page
18
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Table 5 USR-WIFI232-A/B/C External Antenna Parameters
Item Parameters
Frequency range 2.4~2.5GHz
Impedance 50 Ohm
VSWR 2 (Max)
Return Loss -10dB (Max)
Connector Type I-PEX or populate directly
3.4
Evaluation
3.4
Evaluation
3.4
3.4 Evaluation
Evaluation Kit
USR provides the evaluation kit to promote user to familiar the product and develop the detailed
application. The evaluation kit shown as below, user can connect to USR-WIFI232-A/B/C module
with the RS-232 UART port, 100M Eth port or Wireless port to configure the parameters, manage
the module or do the some functional tests.
Kit
Kit
Kit
USR-WIFI232-
Figure 15 USR-WIFI232-
Table 6 USR-WIFI232- A/B Evaluation Kit Interface Description
Jinan USR IOT Technology Limited Page
USR-WIFI232-
USR-WIFI232- A/B
A/B
module
A/B
module
A/B module
module Evaluation
19
93
of
Evaluation
Evaluation
Evaluation Kit
Kit
Kit
Kit
tec@usr.cn
Function
Function
Function
Function
External
External
External
External
Interface
Interface
Interface
Interface
Name
Name
Name
Name Description
DC jack
DB9
RJ-45 100M Eth Interface
Module 2x7 2mm DIP connector , connect WIFI module
LED
LED
LED
LED Power
(Red)
TXD TXD Indicator
RXD RXD Indicator
Ready nReady/GPIO Indicator
Link nLink/GPIO Indicator
Button
Button
Button
Button
Reset
Reload Module restore to factory default configuration.
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Description
Description
Description
5V power input connector
Male serial jack of 9-pin,and used to connect to
PC
3.3V Power Indicator
Used to reset the module.
USR-WIFI232-Ca/Cb
Figure 16 USR-WIFI232-Ca/Cb
USR-WIFI232-Ca/Cb
USR-WIFI232-Ca/Cb module
Table 7 USR-WIFI232-Ca/Cb module Evaluation Kit Interface Description
Jinan USR IOT Technology Limited Page
module
module
module Evaluation
20
93
of
Evaluation
Evaluation
Evaluation Kit
Kit
Kit
Kit
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Function
External
Interface
LED
Button
3.5
Hardware
3.5
Hardware
3.5
3.5 Hardware
Hardware Reference
Name Description
DB9
RJ-45 100M Eth Interface
Mini USB B - type interface,AS 5v@1A power input port
Module 2x7 2mm DIP connector
Power (Red) 3.3V Power Indicator
CTS (Green 1) CTS/GPIO Indicator
RTS(Green 2) RTS/GPIO Indicator
Reload(Green
3)
Ready(Green
4)
Link(Green 5) NLink/GPIO Indicator
Reset Used to reset the module.
Reload Module restore to factory default configuration.
Reference
Reference
Reference Design
Male serial jack of 9-pin,and used to connect to
PC
nReload/GPIO Indicator
nReady/GPIO Indicator
Design
Design
Design
3.5.1 Hardware Typical Application
USR-WIFI232-A/B/C
Figure 17 USR-WIFI232-A/B/C
Notes
Notes
Notes
Notes :
nRST-
nRST-
nRST-
nRST- Module hardware reset signal. Input. Logics “ 0 ” effective.
There is 100K Ohm pull-up resister internal up to 3.3V. When module power up or some issue
happened, MCU need assert nRST signal “ 0 ” at least 300ms, then set ” 1 ” to keep module fully
reset.
USR-WIFI232-A/B/C
USR-WIFI232-A/B/C Hardware
Hardware
Hardware
Hardware Typical
Typical
Typical
Typical Application
Application
Application
Application
Jinan USR IOT Technology Limited Page
21
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
nReady-
nReady-
nReady-
nReady-
Module boot up ready signal. Output. Logics “ 0 ” effective.
There is 4.7K Ohm pull-up resister internal up to 3.3V . The module will output “ 0 ” “ or “ Palmodic
Signal ” after normal boot up. This signal used to judge if module finish boot up and ready for
application or working at normal mode.
nLink-
nLink-
nLink-
nLink-
Module WIFI connection indication. Output.
There is 4.7K Ohm pull-up resister internal up to 3.3V . When module connect to AP (STA mode)
or some WiFi
STA
connect to module (AP mode), the module will output “ 0 ” . This signal used to
judge if module already at WiFi connection status.
nReload
nReload
nReload
nReload -
Module restore to factory default configuration.Input. Logics “ 0 ” effective.
User can assert nReload signal “ 0 ” more than 3’s through button or MCU pin, then release,
module will restore to factory default configuration and re-start boot up process. User need add
4.7K~10K Ohm pull-up resister external the module.
UART_TXD/RXD- UART port data transmit and receive signal.
There is 1K Ohm pull-down resister internal. User can ’ t add pull-up resister at these pins.
3.5.2 10/100M Ethernet Interface
USR-WIFI232-A/B/C modules provide one 10/100M Ethernet PHY layer interface for data
transition or user configuration. This Ethernet support with transformer and without transformer
(PHY-to-PHY) 2 kinds of connection.
3.5.2.1 Ethernet Connection with Transformer
User board put Ethernet transformer and RJ-45 connector. This is a general 10/100M Ethernet
phy layer connection. The reference design as following:
(Above is for USR-WIFI232-A/B pin type module, Below is for SMD type USR-WIFI232-C)
Jinan USR IOT Technology Limited Page
22
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Ethernet
Figure 18 Ethernet
Ethernet
Ethernet Reference
Reference
Reference
Reference Design
Design
Design
Design with
with
Transformer
with
Transformer
with Transformer
Transformer
3.5.2.2 Ethernet Connection without Transformer
For this application, Ethernet will work as internal data transmition interface and save one
transformer and RJ45 connector. Ethernet PHY-to-PHY connection will use AC coupled
connection. This is a space and cost optimized solution. Hardware reference design as following:
Note: VCC signal at reference design shall base on user board PHY chipset voltage level, such
as 2.5V power supply for general Ethernet PHY chipset.
(Above is for USR-WIFI232-A/B pin type module, Below is for SMD type USR-WIFI232-C)
23
Jinan USR IOT Technology Limited Page
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Ethernet
Figure 19 Ethernet
Ethernet
Ethernet Reference
Reference
Reference
Reference Design
Design
Design
Design without
without
without
without Transformer
Transformer
Transformer
Transformer
This module Ethernet interface default is for the application with transformer connection. If you
n eed PHY -PHY directly connection, please change the hardware as follows:
1.
Weld
0
ohm
1.
Weld
1.
1. Weld
Weld 0
2.
Remove
2.
Remove
2.
2. Remove
Remove the
0
0 ohm
resistance
ohm
resistance
ohm resistance
resistance in
the
component
the
component
the component
component in
in
red
in
in red
position
red
position
red position
position
in
yellow
in
yellow
in yellow
yellow position
position
position
position
BOT side component TOP side component
Schematic
Figure 20 Schematic
Schematic
Schematic resistance
resistance
resistance
resistance changes
changes
changes
changes
Specific PHY-PHY direct connection reference to user manual chapter 1.3.2.2 application of
Ethernet w ithout transformer a nd AT+FEPTP command
The command:
AT+FVEW=enable<CR>
to open ethernet WAN port function
Remark:
1. Only when ethernet as WAN, this command is needed. Module default LAN port.
2. After this command, make sure module WAN IP and LAN IP in different segment. (Modify the
ALN IP in AP Settings, modify the WAN IP in
AT+FEPTP=on<CR>
AT+FEPHY=on<CR>
AT+RELD<CR>
Quey/set default ethernet PHY-PHY on/off
Open ethernet function permanently
Command with “ F ” need to be affective after AT+RELD
STA
Settings)
After module reset, command effect, then will not impact by Reload
For user’s design, pls note:
1. Cable connection should be AC coupling, your cable need be pulled up to VCC (fit with PHY
c hip level)
2. Cable TX connected to RX. In PHY-PHY direct connection, PHY chip dose not support
direct/ cross self-adaption
3. Your PHY chip on board should better to be forced into 100M work mode
Jinan USR IOT Technology Limited Page
24
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
3.5.3 UART Interface
UART interface is the serial data transmition interface mainly used for USR-WIFI232-A/B/C
modules.
User can add RS-232 chipset on user board and convert the signal to RS-232 voltage to
communicate with outside equipment or sensors. USR-WIFI232-A/B/C modules UART interface
include 4 general signals: TXD/RXD/RTS/CTS. The hardware reference design with RS-232
chipset as following:
Figure
Figure 21 Figure
Notes:
Notes:
Notes:
Notes: TXD pin is also hardware configuration pin internal module. So this pin MUST pull-down
during module power up. USR-WIFI232-A/B/C modules provide internal pull-down resister, user
can ’ t add pull-up/pull-down resister on user board, which may cause module can ’ t work.
Figure
Figure 10
10
UART
10
UART
10 UART
UART Interface
Interface
Interface
Interface Reference
Reference
Reference
Reference Design
Design
Design
Design
3.5.4 Power Interface
USR-WIFI232-A/B/C module support single +3.3V power supply. The peak current shall about
350mA and normal WiFi working current shall about 200mA. The power save (WiFi OFF) mode
will about 100mA
Decoupling at power pin suggested, At least one 100uF and one 10uF capacitor required at user
board and put near module power input pin will increase the reliability and performance.
4
Modules
4
Modules
4
4 Modules
Modules F
F
unction
F
unction
F unction
unction D
D
escription
D
escription
D escription
escription
Jinan USR IOT Technology Limited Page
25
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
4.1
User
4.1
User
4.1
4.1 User
User configuration
After USR-WIFI232-A/B/C module electric starter, based on user pre-set parameters,
automatically connect to wireless networks and servers, and enter the working mode is set to
open in accordance with the default serial port parameters.
The parameters which need to configure include:
Wireless Network Parameters
Wireless Network Name ( SSID )
TCP/UDP Linking Parameters
Link Type ( Server or Client )
configuration
configuration
configuration process
Security Mode
Encryption Key
Protocol Type
Target Port ID Number
Target Port IP Address
process
process
process
Serial Port Parameters
Baud Rate
Data Bit
Parity (Check) Bit
Stop Bit
Hardware Flow Control
Work Mode Selection
Transparent mode/Serial command mode/GPIO mode
The following sections will introduce specific to each part in detail.
4.2
Working
4.2
Working
4.2
4.2 Working
Working mode
mode
mode
mode
4.2.1 Transparent Mode
USR-WIFI232-A/B/C modules support serial interface transparent transmission mode. The benefit
of this mode is achieves a plug and play serial data port, and reduces user complexity furthest. In
this mode, user should only configure the necessary parameters. After power on, module can
automatically connect to the default wireless network and server.
As in this mode, the module's serial port always work in the transparent transmission mode, so
users only need to think of it as a virtual serial cable, and send and receive data as using a
simple serial. In other words, the serial cable of users’original serial devices is directly replaced
with the module; user devices can be easy for wireless data transmission without any changes.
26
Jinan USR IOT Technology Limited Page
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
The transparent transmission mode can fully compatible with user’s original software platform
and reduce the software development effort for integrate wireless data transmission.
Notes:
Notes:
Notes:
Notes: Users also open the serial port hardware flow control (CTS/RTS) function, so that we can
make the bit error rate to a minimum.If the user doesn't need hardware flow control function of the
serial port, only need to the corresponding pin foot (CTS/RTS) hung up.
4.2.2 Serial command mode
In this mode, the user can send the serial data to a different server address, this pattern can be
use udp or TCP client sends data to the server.
Customer MCU send packets according to the following format, parsing module is finished, only
the n bytes of data sent to the destination address.When data is returned, not analytical data from
serial port output directly.
Table 8 Protocol table of Serial command mode
frame
header
2 2
frame
frame
frame
frame header
header
header
header :
0x55 0xAA ( Constant )
Length
Length
Length
Length :
Starting from the function byte, to Sum check (does not contain the sum check) all bytes.
High byte at the front
Function
Function
Function
Function byte
byte
byte
byte :
Bit0: ( UDP:0 ;TCP:1 )
Bit1: ( Short connection:0;Long connection:1 )
Bit2: ( IP:0;Domain name:1 )
Bit7: ( cut protocol:0;full protocol:1 ) Note: currently only supports cut protocol
Notes:
Bit1:If it is a short connection, it sends data, and then will be disconnected; if it is long
connection, it sends data, connection will remain, until the re changing the target address.
Bit2:Indicates that the target address is IP or domain name. If it is
bytes; if the domain name, the target address length for the entire domain name string length
(the last byte address is ‘ \0 ’ , that is the end of the string).
Bit7:Under the cut protocol, reply frame contains only data; Under the full protocol, reply
frame has "failed to send", "waiting for", "UDP radio response equipment IP" frame data.
Backup
Backup
Backup
Backup data
data
data
data area
First byte:If it is a short connection, this position is TCP waits for the timeout time (1-255), if
the send command is completed, did not receive a response, then wait a few seconds and
the corresponding, if 5, said to wait for the 5S to disconnect; if the sending command,
immediately receive the returned data, then immediately disconnected; if it is long connection,
this position is 0x00.
Second byte:Reserve
length functio
(n+m+5)
area
:
area
:
area :
:
Backup
n
data area
Destinati
on port
Target
address
Data Sum
byte
1 2 2 m n 1
IP,
the target address is 4
check
Jinan USR IOT Technology Limited Page
27
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Destination
Destination
Destination
Destination port
port
port
port :
:
:
:
Little endian, low byte in the former,such as port 23, here are 0x17 0x00
Target
Target
Target
Target address:
address:
address:
address:
If it is
IP,
is 4 bytes, for example, 192.168.0.7 said 0x07 0x00 0xA8 0xC0; if it is a domain
name, then the address of indefinite length,ending with the ’ \0'.
Data:
Data:
Data:
Data:
Variable length,the maximum not exceeding 1000bytes.
Sum
check:
Sum
check:
Sum
Sum check:
check:
From the function word to check byte (does not contain a check byte), add Sum check.
The following is an example of a specific application:
send data:0x55 0xaa 0x00 0x0a 0x00 0x00 0x00 0x21 0x00 0x85 0x00 0xA8 0xC0 0x01 0x0f
Length:0x00 0x0a
Function byte:0x00 (UDP;Short connection;IP;cut protocol)
Destination port :0x21 0x00(33)
Target address: 0x85 0x00 0xA8 0xC0 (192.168.0.133)
Data:0x01(data length :1)
Sum check:0x0f ( 0x00+0x00+0x00+0x21+0x00+0x85+0x00+0xA8+0xC0+0x01=0x0f )
4.2.3 GPIO mode
USR-WIFI232-A/B/C module support GPIO mode:At GPIO,UART (TXD/ RXD/CTS/RTS) defined
as GPIO and others (Ready/Link/) also defined as GPIO pin.
When module works at GPIO mode, PC and other equipments can setup connection (TCP/UDP)
through WiFi, then read/write GPIO information through command.
GPIO n IN, Set GPIOn as input, Response GPIO OK or GPIO NOK;
GPIO n OUT 0, Set GPIOn as output and output ‘ 0 ’ , Response GPIO OK or GPIO NOK;
GPIO n OUT 1, Set GPIOn as output and output ‘ 1 ’ , Response GPIO OK or GPIO NOK;
GPIO n SW, Set GPIOn as output and switch the output status, Response GPIO OK or
GPIO NOK;
GPIO n PWM m1 m2, Set GPIOn output a wave: m1 is ‘ high ’ duration and m2 is ’ low ’
duration (Time unit is ‘ ms ’ and minimal is 10ms), Response GPIO OK or GPIO NOK;
GPIO n GET, Read GPIOn status, Response I0,I1,O0,O1, means ” input low ” , ” input
high ” , ” output low ” , ” output high ”
Notes: n can be 3, 4, 5, 6, 8, 9 corresponding module pin. GPIO 4 can only defined as input and
GPIO 3 can only defined as output.
GPIO READ returns all current IO status, and GPIO n GET said method. Such as, I1I1I0I0I0I0O1,
I said input, O output. 0 low, 1 express high.4 pin is negated. Read the 1 actual 0 actual 1, read
the 0.
4.2.4 HTTPD Client mode
This mode is used to send data to the HTTP server.
After setting the HTTP header format by webpage or
UART will add the HTTP header automatically.Convenient for the user directly submit data or
read data from the HTTP server.
Jinan USR IOT Technology Limited Page
28
AT
command, the data sent each time by
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Below is the specific application, for example:
The first set HTTP parameters using
AT+HTTPURL=192.168.1.1,80 The serveraddress and portsettings
AT+HTTPTP=POST Set the HTTP type, GET, PUT or POST
AT+HTTPPH=/set Set the path,the mostis50 bytes
AT+HTTPCN=keep-alive Set the Connection,maximum length of 20bytes
AT+HTTPUA=lwip13.2 Set the User-Agent,maximum length of 20bytes
If the sending data is 1234.In the 80 port of 192.168.1.1 will receive the following data
POST /set HTTP /1.1
Connection:keep-alive
User-Agent:lwip1.3.2
Content-Length:4
Host:192.168.1.1:80
1234
If the HTTP type is GET, the 80 port 192.168.1.1 receive data
POST /set 1234 HTTP /1.1
Connection:keep-alive
User-Agent:lwip1.3.2
Content-Length:0
Host:192.168.1.1:80
Data received from server will be directly sent to the serial port,without any treatment.
Note: after V5.01.14 version of the firmware it add a new method of HTTP header definition,
called the new mode, the way at above, is called the old mode.
Users can custom HTTP headers in the way of the new mode, can add, delete, modify the
contents of each HTTP header (if the HTTP request type is POST/PUT, module will automatically
add the Content - Length).Including the
HTPURL,
section.Similarly, also has the corresponding Settings page in the web page.
Note: in the new mode, if you use the
"<<CRLF>>" instead of carriage "return",in the web page,you don't need to worry about the
"return".
AT
+ HTPHEAD, specific instructions please refer to the
AT
instructions.
AT
+ HTPMODE,
AT
command set HTTP headers, Please use the
AT
+ HTPSV,
AT
AT
+ HTPTP,
command set process
AT
+
4.3
Wireless
4.3
Wireless
4.3
4.3 Wireless
Wireless Networking
USR-WIFI232-A/B/C module can be configured as both wireless
type. Logically there are two interfaces in USR-WIFI232-A/B/C . One is for STA, and another is for
AP.
When USR-WIFI232-A/B/C works as
wireless LAN via USR-WIFI232-A/B/C module. Wireless Networking with USR-WIFI232-A/B/C is
very flexible.
Following figure shows the functional architecture of USR-WIFI232-A/B/C module:
Jinan USR IOT Technology Limited Page
Networking
Networking
Networking
AP,
other
29
STA
and AP base on network
STA
equipments are able to connect to
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
USR-WIFI232-A/B/C
Figure 22 USR-WIFI232-A/B/C
Notes:
Notes:
Notes:
Notes:
AP:
AP:
AP:
AP: that is the wireless Access Point, the founder of a wireless network and the cent er of the
USR-WIFI232-A/B/C
USR-WIFI232-A/B/C Functional
network nodes. The wireless router we use at home or in office may be an
STA:
STA:
STA:
STA: short for Station, each terminal connects to a wireless network (such as laptops, PDA and
other networking devices) can be called with a
STA
Functional
Functional
Functional Architecture
Architecture
Architecture
Architecture
device.
AP.
4.3.1 STA
Infrastructure: it’s also called basic network. It built by AP and many STAs which join in.
The characters of network of this type are that AP is the cent er , and all communication between
STAs is transmitted through the
AP.
The figure following shows such type of networking.
A P
USR
- WIFI
USR
- WIFI
232
-
A / B / C
USR
- WIFI
232
-
A / B / C
A / B / C
232
UART
-
User Device
USR-WIFI232-A/B/C
Figure 23 USR-WIFI232-A/B/C
USR-WIFI232-A/B/C
USR-WIFI232-A/B/C Basic
Basic
Basic
Basic Wireless
Wireless
Wireless
Wireless Network
Network
Network
Network Structure
Structure
Structure
Structure
4.3.2 AP
Because USR-WIFI232-A/B/C can be set to
A/B/C can be achieved easily wireless ad hoc network.
As showing in the figure below, USR-WIFI232-A/B/C (1) can be treat as an
WIFI232-A/B/C (2), USR-WIFI232-A/B/C (3) and the laptop are STAs connected to USRWIFI232-A/B/C (1). Meanwhile, all USR-WIFI232-A/B/C modules can connected to user device
via UART interface. All USR-WIFI232-A/B/C modules can be operated and managed through the
laptop. So it is convenient to O&M all USR-WIFI232-A/B/C modules. Moreover, in such Adhoc
network structure, the whole coverage of a wireless network can be extended easily.
Jinan USR IOT Technology Limited Page
AP,
can also be set to STA, so the USR-WIFI232-
AP,
30
93
of
tec@usr.cn
and USR-
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
P C
USR-WIFI
232
- A / B / C
User Device
USR-WIFI232-A/B/C
Figure 24 USR-WIFI232-A/B/C
USR-WIFI232-A/B/C
USR-WIFI232-A/B/C STA
USR-WIFI
UART
232
- A / B / C
User Device
STA
Network
STA
Network
STA Network
Network Structure
USR-WIFI
Structure
Structure
Structure
232
- A / B / C
UART
4.3.3 AP+STA
USR-WIFI232-A/B/C module support AP+STA network mode, means module support one AP
interface and one
STA
interface at the same time, as following figure,
User
Device
A P
UART
Phone
Tcp
server
Tcpb
Tcp
Client
Figure 25 USR-WIFI232-A/B/C
When module enables AP+STA function, Module’s
connect to TCP server in the network. At the same time, module’s AP interface is also active and
permit phone/PAD to connect through TCPB, then phone/PAD can control user device and and
setting the module parameters,
The advantage of AP+STA mode is:
Tcp server
USR-WIFI
USR-WIFI232-A/B/C
USR-WIFI232-A/B/C
USR-WIFI232-A/B/C AP+STA
232
- A / B / C
AP+STA
AP+STA
AP+STA Network
STA
Network
Network
Network Structure
interface can connect with router and
Structure
Structure
Structure
Jinan USR IOT Technology Limited Page
31
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Users can easily setting and track user device through Phone/PAD and not change the
orginal network setting.
Users can easily setting module’s parameters through WiFi when module works as
mode.
AP+STA
AP+STA
AP+STA
AP+STA Mode
AP+STA mode need serial
AP+STA
AP+STA
AP+STA
AP+STA Mode
When user enable AT+STA function,the
router(AP),
or
some date loss.
So ,if user confirm
through the following command:
After re-start module,this command not saved;
This command is saved after re-staring the module;
Mode
Setting:
Mode
Setting:
Mode Setting:
Setting:
AT
command to enable as follows:
AT+FAPSTA=on, Enable AP+STA mode;
Then, when you configure module works as
Mode
Mode
Mode Notes:
STA
port will have to scan the AP frequently ,which will affect AP port function and may cause
AT+STTC=on/off,on:Scan AP;off:N o Scan
AT+FSTTC=on/off;
Notes:
Notes:
Notes:
STA
port can't connect with AP at some time,user can disable the
AP.
STA
mode, it’s AP interface still active;
STA
port need to keep connected with other
STA
STA
scan
4.4
Ethernet
4.4
Ethernet
4.4
4.4 Ethernet
Ethernet Interface
USR-WIFI232-A/B/C module provides one 100M Ethernet interface. With this Ethernet interface,
user can easily realize the three interface (WiFi, UART, and Ethernet) intercommunication and
networking. USR-WIFI232-A/B/C module can configured as Bridge Mode or Router Mode base
on different networking technology.
Notes: As the Ethernet mode will increase additional consumption, so it is default closed. If you
need this function, pls use AT+FEPHY=on to open it and RELD can ’ t change this. F or different
application, USR-WIFI232-610 need version switch via commands (such as following description
of N-ver and Z-ver). With command AT+FVER=n to switch to N-ver and with command
AT+FVER=z to switch to Z-ver.
Interface
Interface
Interface Communication
Communication
Communication
Communication
4.4.1 USR-WIFI232-A/B/C Ethernet Interface Networking (As AP)
Jinan USR IOT Technology Limited Page
32
93
of
tec@usr.cn
IP
:
10.10.100.101
GateWay
10.10.100.254
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
PC
1
USR-WIFI
100
M Eth
:
IP
:
232
- A / B / C
AP
10.10.100.254
IP
PC
2
:
10.10.100.100
GateWay
:
10.10.100.254
USR-WIFI232-A/B/C
Figure 26 USR-WIFI232-A/B/C
USR-WIFI232-A/B/C module works as AP and also the cent er of this network. All devices’IP
address in this network shall use the same network segment with USR-WIFI232-A/B/C and they
can ntercommunication with this method.
USR-WIFI232-A/B/C
USR-WIFI232-A/B/C Ethernet
Ethernet
Ethernet
Ethernet Interface
Interface
Interface
Interface Networking
Networking
Networking
Networking (As
(As
AP)
(As
AP)
(As AP)
AP)
4.4.2 USR-WIFI232-A/B/C Ethernet Interface Networking (As STA, N-
Ver)
PC
1
IP
:
10.10.100.101
GateWay
:
10.10.100.254
100
M Eth
IP
10.10.100
254
USR-WIFI
:
A / B / C
.
232
192.168
GateWay
192.168
-
STA N-Ver
IP
:
. 1 .
. 1 .
AP
101
IP
192.168
:
. 1 . 1
:
101
PC
192.168
GateWay
192.168
2
IP
:
. 1 .
100
:
. 1 . 1
USR-WIFI232-A/B/C
Figure 27 USR-WIFI232-A/B/C
USR-WIFI232-A/B/C module works as
mode. When module connect to
192.168.1.100 ) . At the same time, module also form a subnet ( Default 10.10.100.254 ) and all
devices connected to module Ethernet interface will get assigned IP address ( For example:
10.10.100.101 ) .So as shown , PC1 at internal subnet can initiate a connection to PC2 (For USRWIFI232-A/B/C works as router mode), but PC2 can ’ t active initiate a connection to PC1.
Jinan USR IOT Technology Limited Page
USR-WIFI232-A/B/C
USR-WIFI232-A/B/C Ethernet
AP,
Ethernet
Ethernet
Ethernet Interface
STA
(Software is N-Version ), and module set as router
it will get wireless port IP address from AP ( For example:
Interface
Interface
Interface Networking
33
93
of
Networking
Networking
Networking (As
(As
(As
(As STA
STA
STA
STA ,
,
N-Ver
,
N-Ver
, N-Ver
N-Ver )
tec@usr.cn
)
)
)
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
4.4.3 USR-WIFI232-A/B/C Ethernet Interface Networking (As STA, Z-
Ver)
PC
1
100
M Eth
IP:192.168
GateWay
192.168
Figure 28 USR-WIFI232-A/B/C
For above networking, USR-WIFI232-A/B/C module works as STA ( Firmware is Z-Version ) ,and
module configured as bridge mode. When module connect to
module Ethernet interface will get assigned IP address from AP (For example: 192.168.1.101).For
module works as bridge mode, it can be treated as a transparent device and PC1, PC2 can
communicate without any limit. But in this networking, USR-WIFI232-A/B/C module needs assign
a static LAN IP address (For example: 192.168.1.10) if module also needs communication with
AP or configuration through web page.
. 1 . 1
. 1 .
101
:
USR-WIFI232-A/B/C
USR-WIFI232-A/B/C
USR-WIFI232-A/B/C Ethernet
USR-WIFI
A / B / C
232
192.168
GateWay
192.168
-
STA Z-Ver
IP
:
. 1 .
10
:
. 1 . 1
Ethernet
Ethernet
Ethernet Interface
AP
IP
:
192.168
Interface
Interface
Interface Networking
. 1 . 1
Networking
Networking
Networking (As
AP,
PC
2
IP:192.168
GateWay
192.168
(As
STA
(As
STA
(As STA
STA ,
all devices connected to
,
Z-Ver
,
Z-Ver
, Z-Ver
Z-Ver )
. 1 . 1
. 1 .
100
:
)
)
)
4.5
WI-FI
4.5
WI-FI
4.5
4.5 WI-FI
WI-FI parameter
parameter
parameter
parameter setting
setting
setting
setting
4.5.1 Auto- Frequency Function
When module works as STA, USR-WIFI232-A/B/C will adjust its wireless channel to keep the
same channel with associated AP and connect in.
When module works as AP and USR-WIFI232-A/B/C enable Auto-frequency function, then when
module boot up, it will select the best wireless channel based on surrounding environment.
4.5.2 Security
USR-WIFI232-A/B/C module supports multiple wireless encryption mechanisms, and enables to
protect the security of user’s data transmission, the mechanisms include:
WEP
WPA-PSK/TKIP
WPA-PSK/AES
WPA2-PSK/TKIP
WPA2-PSK/AES
Jinan USR IOT Technology Limited Page
34
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
4.5.3 Search Function for STA
When using web configuration
surrounding
AP,
and find a AP to associated.
STA
Interface Setting Page, user can push “ Search ” button to find
Search
Figure 29 Search
Search
Search page
page
page
page
4.5.4 Address Binding
USR-WIFI232-A/B/C module supports the feature of binding the BSSID address of target network.
According to the provisions of 802.11 protocol, different wireless networks can have a same
network name (i.e. SSID / ESSID), but must correspond to a unique BSSID address (i.e. MAC
address). Illegal intruders can create a wireless network with the same SSID / ESSID, it will make
STAs in the network to join to the illegal
AP,
thereby and then network leakage happen.
Users can prevent
wireless network security.
4.6
UART
4.6
UART
4.6
4.6 UART
UART Frame
STA
from joining to illegal network by binding the BSSID address, to improve
Frame
Frame
Frame Scheme
Scheme
Scheme
Scheme
4.6.1 UART Free-Frame
USR-WIFI232-A/B/C support UART free-frame function. If user select open this function, module
will check the intervals between any two bytes when rec ei ving UART data. If this interval time
exceeds defined value (50ms default), USR-WIFI232-A/B/C will think it as the end of one frame
and transfer this free-frame to WiFi port, or USR-WIFI232-A/B/C will receive UART data until 4K
bytes, then transfer 4KB frame to WiFi port.
USR-WIFI232-A/B/C’s default interval time is 50ms. User can also set this interval to fast (10ms)
through
interval ,or the UART data may be divide as fragment.
AT
command. But user have to consider if user MCU can send UART data with 10ms
Jinan USR IOT Technology Limited Page
35
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Through
normal (50ms). This command is factory default setting command and AT+RELD can ’ t change its
value.
AT
command: AT+FUARTTE=fas t /normal, user can set the interval time: fast (10ms) and
4.6.2 UART Auto-Frame
USR-WIFI232-A/B/C support UART auto-frame function. If user select open this function and
setting auto-frame trigger length and auto-frame trigger time parameters, then module will auto
framing the data which received from UART port and transmitting to the network as pre-defined
data structure.
Auto-frame
Auto-frame
Auto-frame
Auto-frame trigger
network.
Auto-frame
Auto-frame
Auto-frame
Auto-frame trigger
frame trigger length, then module will transmitting available data to the network and bypass
the auto-frame trigger length condition.
Detailed UART auto-frame function can refer to AT+ instruction set “ UARTF/UARTFT/UARTFL ”
introduction.
trigger
trigger
trigger length:
trigger
trigger
trigger time:
length:
length:
length: The fixed data length that module used to transmitting to the
time:
time:
time: After the trigger time, if UART port received data can ’ t reach auto-
4.7
Network
4.7
Network
4.7
4.7 Network
Network Setting
USR-WIFI232-A/B/C module has two TCP/UDP Socket: Socket
written to the module, will be sent to the Socket
module receives through either SocketAor B,will be sent to the serial port.
Dual Socket through different settings, you can achieve a variety of network interconnect. When
the module shipped only open Socket A, Socket B default is not to connect, if the user needs to
use, please set by
Setting
Setting
Setting
AT
commands.
A
and Socket B. Serial data
A
and B simultaneously; TCP/UDP data that
4.7.1 Socket A
SocketAhas three work mode: TCP Server, TCP Client, UDP.The setting method, please refer to
the AT+NETP command instruction.
When SocketAconfigured as TCP Server, it supports Multi-TCP link connection, and maximum
32 TCP clients permitted to connect to Socket A.
Multi-TCP link connection will work as following structure:
Upstream: All dates from different TCP connection or client will be transmitted to the serial port as
a sequence.
Downstream: All data from serial port (user) will be duplicate and broadcast to every TCP
connection or client.
Detailed multi-TCP link data transmition structure as following figure:
Jinan USR IOT Technology Limited Page
36
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Multi-TCP
Figure 30 Multi-TCP
Multi-TCP
Multi-TCP Link
Link
Data
Link
Data
Link Data
Data Transmition
Transmition
Transmition
Transmition Structure
Structure
Structure
Structure
4.7.2 Socket B
Socket B has one work mode: TCP Client, please refer to the AT+ TCPB/AT+TCPPTB/TCPADDB/
TCPTOB/TCPLKB command instruction.
With variety work mode, socket B can provide users with flexible data transfer methods.For
example, Socket B can connect to a remote server in order to achieve remote control.
4.8
New
4.8
New
4.8
4.8 New
New function
This chapter is based on the function of V 5.01.01 and above, if not this version you can skip this
section.
function
function
function
4.8.1 TCP password authentication
This feature is available only on the module as a TCP server, when the TCP client connection
module, the module will authenticate each connected tcp.
Each TCP client first data is the “ password +0x0d+0x0a ” (the password is Webpage
authentication password). The default password is “ admin ” , so the first piece of data should be
"0x61 0x64 0x6D 0x69 0x6E 0x0D 0x0A" ( Hex ). If the password is correct, the module returns
"OK", on the other hand, return to the "NO" and disconnect.
The TCP connection of this function can be Webpage in "TCP connection password
authentication" is opened or disable. Please refer to the specific "5.1. 6 " section.
4.8.2 Registered Package ID /MAC
This function only applies to the module as a TCP client, in front of the data when module
connected to the server with two bytes of ID (ID the range is 0 ~ 65535, the high byte before, and
the low byte behind) plus two bytes ID radix-minus-one complement (or upload 6 bytes MAC
address) .Module is the default ID is
server when the first four bytes "0x57 0x04 0xfb 0 xa8" (or "0xD8 0xB0 0x4C 0xF2 0x00 0x00") .
There are two ways to upload their own id: one is to upload their own ID/MAC for connection to
the server for the first time;The other is a plus ID/MAC in front of each data.
Registered Package related parameter is set in the "serial port and other Settings" section of the
Jinan USR IOT Technology Limited Page
1111
(MAC:D8B04CF20000) , for example, is sent to the
37
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
web, build joint function of ID /MAC for the first time, and each data with the function of ID /MAC
are disabled by default.
Note: the function of the upload MAC supported in V5.01.14 and above version.
4.8.3 S elf-adaption Baudrate
This feature, please cooperate with our company's virtual serial port software use.
Use a serial port connected module, and use the at command "at + AABR = on" open this
function and restart.In the USR - VOCM software "synchronous baud rate (RFC2217 similar )" is
selected, the following figure .
Specific setup process, please refer to the
AT
command section(5.2.2.2.39).
RFC
2217
RFC
Figure 31 RFC
In this way, the module of baud rate will be as the USR-VCOM to change at any time, and don't
have to restart the module.If restart the module, baud rate and will come back to before.
2217
RFC 2217
2217
4.8.4 WEB IO
This function only work for "GPIO mode".
When the module is in the "GPIO mode", enter the Webpage in " WEB IO ", you can click on the
corresponding button to control module pin level. Without the need to download and install app,
any platform, any equipment, as long as you can into the built-in Webpage of module through the
browser built- you can control module pin of IO.
4.8.5 Keepalive
V4.02.10. USR13 and above version of the firmware added keepalive when the TCP connection
mechanism, so when the module of network anomalies, timely diagnose abnormal to the network
and disconnect, when the network has resumed after, and just in time to connect to the server.
4.8.6 Multiple
STA
parameters
This function based on V4.02.10 D.U SR18 and above version of the firmware, in the sta mode, if
can network signal is too low, it will automatically switch to the other AP network (switching
network automatically restart).
This feature provides a signal threshold, when the current network signals is lower than the
critical value, the module of automatic switching network and restart.If the signal value is set to
100, the module will not switch network.Even if the current network signal is not the current
network will always search, not heavy to other networks.
The function of the specific Settings page refer to section 5.1.4.
38
Jinan USR IOT Technology Limited Page
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Specific setup process, please refer to the
AT
command section(5.2.2.2.50-5.2.2.2.56).
4.8.7 Websocket
This module can realize the function of the websocket server, allowing serial real-time interaction
with the web module, replace the previous HTTP GET, POST, corresponding faster.This module
provides the corresponding websocket test page for user testing, specific page is as follows:(web
Page:10.10.100.254/websocketen.html)
Websocket
Figure 32 Websocket
Websocket
Websocket Page
Page
Page
Page
Click on the "connect" page and then implements a connection, so a serial port with page can
send or receive data from each other.This module websocket server support 8 client connection
at the same time.
This function for web applications, and for web users with higher response speed, if you want to
customize the corresponding web page, can connect your company.
Note:This function occupy the 8000 port of module.
4.8.8 Fast access Wi-Fi (usr-link)
This function is based on V5.01.08 and above version of the firmware .
When one m odule work s in AP mode, it opens a UDP port used to receive fast access Wi-Fi
commands, the port number is 49000 . The p hone PDA can directly connect to Wi-Fi network of
the module, send commands to search router list and set SSID and password. A fter the
completion of s et up, module will automatically restart, connected to the router, work in the
mode at this time.
Protocol format
Searching command
No Name Num of Bytes Description
1 head 1 f ixed v alue :0xFF
2 length 2 S um of data bytes from length bytes to check
byte(not contain length bytes and check byte).
3 cmd 1 C ommand type, 0x01
4 check 1 S um of bytes from head ( not contained) byte to
STA
Jinan USR IOT Technology Limited Page
39
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
check byte ( not contained).
R esponse for search ing
No Name Num of Bytes Description
1 head 1 f ixed v alue :0xFF
2 length 2 S um of data bytes from length bytes to check
byte(not contain length bytes and check byte).
3 cmd 1 C ommand type, 0x81
4 AP num 1 The number of AP what module scans
5 SSID1 Unsized The SSID of router 1
6 separator 1 Separator of SSID1, f ixed v alue :0x00
7 Signal
1
Signal strength of router 1,0~100 : 0%~100%
strength 1
8 separator 2 Separator of s ignal strength1 , f ixed v alue :
0x0D,0x0A
… … … ………
M SSID n Unsized The SSID of router n
M+1 separator 1 Separator of SSID n, f ixed v alue :0x00
M+2 Signal
1
Signal strength of router n,0~100 : 0%~100%
strength
M+3 separator 2 f ixed v alue :0x0D,0x0A
M+4 check 1 S um of bytes from head ( not contained) byte to
check byte ( not contained).
E xample:
D ata from phone PDA to module ( HEX): FF 00 01 01 02
D ata from module to phone PDA (HEX): FF 00 14 81 0 2 54 45 53 54 31 00 40 0D 0A 54 45 53 54
32 00 37 0D 0A 1 F
Explanation :
T he phone PDA send searching command to module, the response from module is: SSID of
router1 is “ TEST1 ” , s ignal strength of router1 is 64%; SSID of router2 is “ TEST2 ” , s ignal strength
of router2 is 55%.
Note: The information of routers is ordered by signal strength.
Setting command
No Name Num of Bytes Description
1 head 1 f ixed v alue :0xFF
2 length 2 S um of data bytes from length bytes to check byte
(not contain length bytes and check byte).
3 cmd 1 C ommand type, 0x02
4 reserve 1 f ixed v alue :0x00
5 SSID Unsized SSID of router
6 separator 2 f ixed v alue :0x0D,0x0A
7 password Unsized P assword of router
8 check 1 S um of bytes from head ( not contained) byte to
check byte ( not contained).
R esponse for s etting
No Name Num of Bytes Description
1 head 1 f ixed v alue :0xFF
2 length 2 S um of data bytes from length bytes to check
byte(not contain length bytes and check byte).
3 cmd 1 C ommand type, 0x82
4 C heck for
SSID
1 I f the SSID set by PDA exist, check value is 0x01 ,
otherwise is 0x00.
5 Check for 1 I f the form of password set by PDA is correct , check
40
Jinan USR IOT Technology Limited Page
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
password value is 0x01 , otherwise is 0x00.
6 check 1 Sum of bytes from head (not contained) byte to
check byte (not contained).
E xample:
D ata from phone PDA to module ( HEX): FF 00 0F 02 00 54 45 53 54 31 0D 0A 31 32 33 34 35 36
CE
D ata from module to phone PDA (HEX): FF 00 03 82 01 01 87
Explanation :
T he phone PDA send setting command to module, SSID is set to “ TEST1 ” , password is set to
“ 123456 ” . T he response from module is that the “ TEST1 ” Wi-Fi network exist, the form of
password is correct.
4.9
Palmodic
4.9
Palmodic
4.9
4.9 Palmodic
Palmodic Signal
Base on selected factory default setting, “ nReady ” signal can have two output statuses:
Status One: The module will output “ 0 ” after normal boot up. This signal used to judge if
module finish boot up and ready for application.
Status Two: The module will output “ Palmodic Signal ” after normal boot up.The palmodic
signal is 0.5Hz square wave with dutyfactor 1:1. User can query this signal to judge if
moduleis active “ live ” or need to re-boot. When module switches to command mode, it will
output “ 0 ” , which used to distinguish work mode and command mode.
Signal
Signal
Signal
Notes:
This function is user selected factory setting and RELD instruction will not effective for this
function. If user not requires this function, the default factory setting is Status One. Contact with
USR Technology for more detailed support.
4.10
4.10
4.10
4.10 Parameters
USR-WIFI232-A/B/C module support s two methods to configuration parameters: Web
and AT+instruction
Web accessing means users can configure parameters through built-in webpage. When USRWIFI232-A/B/C module connected to wireless network, parameters configuration is done on a PC
connected to the same wireless network. AT+instruction set configuration means user configure
parameters through serial interface command. Refer to “ AT+instruction set ” chapter for more
detail.
Notes:
Notes:
Notes:
Notes:
USR can customized the parameters setting as customer request and ship USR-WIFI232-A/B/C
modules with these parameters as factory default configuration. It will reduce user’s module
configuration time for mass production. Also, if user need different parameters setting for every
module, USR can provide the auto-configuration tool to speed up the module con fi guration
duration. Please contact USR technical interface to acquire this tool if required.
Parameters
Parameters
Parameters Configuration
AT+instruction
AT+instruction
AT+instruction set.
Configuration
Configuration
Configuration
set.
set.
set.
Web
Accessing
Web
Accessing
Web Accessing
Accessing
Jinan USR IOT Technology Limited Page
41
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
4.11
4.11
4.11
4.11 Firmware
USR-WIFI232-A/B/C module supports firmware upgrade online .
Firmware
Firmware
Firmware Upgrade
Upgrade
Upgrade
Upgrade
Jinan USR IOT Technology Limited Page
42
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
5
Web
5
Web
5
5 Web
Web Accessing
5.1
Configuration
5.1
Configuration
5.1
5.1 Configuration
Configuration via
When first use USR-WIFI232-A/B/C modules, user may need some configuration. User can
connect to USR-WIFI232-A/B/C module’s wireless interface with following default setting
information and configure the module through laptop.
Accessing
Accessing
Accessing and
Table 9 USR-WIFI232-A/B/C Web Access Default Setting
Parameters
Parameters
Parameters
Parameters Default
SSID USR-WIFI232-A/B _xxxx
IP Address 10.10.10 0 .254
Subnet Mask
User Name
Password admin
and
and
and AT+instruction
via
Web
via
Web
via Web
Web Accessing
AT+instruction
AT+instruction
AT+instruction set
Accessing
Accessing
Accessing
Default
Default
Default Setting
255.255.255.0
admin
Setting
Setting
Setting
set
set
set
5.1.1 Open Web Management Interface
Step 1: Connect laptop to SSID “ USR-WIFI232-A/B_xxxx ” of USR-WIFI232-A/B/C module via
wireless LAN card;
http://10.10.100.254
Step 2: After wireless connection OK. Open Wen browser and access “ http://10.10.100.254
Step 3: Then input user name and password in the page as following and click “ OK ” button.
http://10.10.100.254
http://10.10.100.254 ” ;
Figure 33 Open
The USR-WIFI232-A/B/C web management page support English and Chinese language. User
can select language environment at the top right corner and click “ Apply ” button.
The main menu include five pages: “ Mode Selection ” , ” AP Interface Setting ” , ”
Setting ” , ” Application Setting ” , “ WEB IO ” and “ Device Management ”
Jinan USR IOT Technology Limited Page
Open
Web
Open
Web
Open Web
Web Management
43
Management
Management
Management page
93
of
page
page
page
STA
tec@usr.cn
Interface
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
5.1.2 Quick Configure
This page provides users with a method of rapid configuration module.Users according to the
steps to configure the parameters and restart the module page, you can let the module is normal
work, reduced the configuration steps and time.Of course the options on this page is less, if some
detailed configuration, still need to the corresponding configuration page.
Quick
Figure 34 Quick
Quick
Quick Configure
Configure
Configure
Configure Page
Page
Page
Page
This page has four configuration options and a restart, the corresponding instructions below:
WI-FI Setting: set the working mode of wifi, AP mode or the STA.
Ethernet Ports Setting: open/close the Ethernet ports, and set up the corresponding work
mode.
UART Setting: set serial port parameters, including baud rate, parity bit, 485 functions and so
on.
Network Setting: set network parameters, Only TCPA related parameters.
Device Management: when after completion of the above parameters are configured, click
reset module.
5.1.3 Mode Selection Page
This page use to setting the wireless networking mode (AP and
"Data transmission mode" selection module working mode are "Transparent Mode", "Serial Command
mode", " HTTPD Client mode", "GPIO mode".
"TCP connection password authentication" can choose whether open TCP password authentication.
STA
mode).
Jinan USR IOT Technology Limited Page
44
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Mode
Figure 35 Mode
Mode
Mode Selection
Selection
Selection
Selection Page
Page
Page
Page
5.1.4 AP Interface Setting Page
This page use to setting the parameters when USR-WIFI232-A/B/C module works as
AP.
AP
Interface
AP
Figure 36 AP
5.1.5
This page use to setting the parameters when USR-WIFI232-A/B/C module works as STA.
Such as SSID of AP which module need to connected, and also select the networking type: DHCP or
static IP address.
Jinan USR IOT Technology Limited Page
STA
Interface Setting Page
Interface
AP Interface
Interface Setting
45
93
of
Setting
Setting
Setting Page
Page
Page
Page
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Figure 37 STA
Interface
STA
Interface
STA Interface
Interface Setting
Setting
Setting
Setting Page
Page
Page
Page
STA
5.1.6 Application Setting Page
This page use to setting the parameters of serial port communication, such as UART
setting , UART AutoFrame Setting , Ethernet function ,Device ID setting and high layer network
protocol setting which used support serial communication.
Jinan USR IOT Technology Limited Page
46
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Application
Application
Application Setting
Notes:
Notes:
Notes:
Notes:
Figure 38 Application
Generally, Network protocols support three modes: TCP
Server.
Server.
Server.
Server.
Setting
Setting
Setting Page
TCP
Server
TCP
Server
TCP Server
Server , TCP
Page
Page
Page
TCP
TCP
TCP Client
Client
Client
Client , UDP
UDP
Client
UDP
Client
UDP Client
Client , UDP
UDP
UDP
UDP
Besides module working as TCP Server (IP address not required in this mode). User must set the
IP address of the device which need communicate with USR-WIFI232-A/B/C module.
Also the Port ID between two sides of the communication devices must keep the same.
5.1.7 Ethernet Setting
This page is used to set Ethernet front-end ports of the module, It can be open or closed.And
also can be set to the WAN port to use, this module can be used as a secondary router, making it
easy for users to network.Specific Settings page is as follows:
Figure 39 Ethernet
Jinan USR IOT Technology Limited Page
Ethernet
Ethernet
Ethernet Setting
47
of
Setting
Setting
Setting Page
93
Page
Page
Page
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
5.1.8 HTTPD Client Mode
This page sets the HTTP header in the HTTPD Client mode.Include: the address of the server,
the server port, request type, protocol header path, Connection, user-agent.
HTTPD Client mode support POST, PUT , GET three HTTP request types.Is a POST or PUT
request way, serial data can be added to the back of the HTTP header;When the request is a
GET, data can be added to the back of the path in the HTTP header.The specific way of sending
data can consult section 4.2.4.
5.1.9 WEB IO
HTTPD
Figure 40 HTTPD
HTTPD
HTTPD Client
Client
Client
Client Mode
Mode
Mode
Mode Page
Page
Page
Page
Figure 41 WEB
Jinan USR IOT Technology Limited Page
WEB
WEB
WEB IO
48
of
IO
IO
IO Page
93
Page
Page
Page
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
5.1.10 Advanced Page
Under the advanced Settings page, the user can set the port mapping and function of DDNS,
without having to go on a router Settings, reduce the complexity of setting, the port mapping and
DDNS, can be in the public environment, by entering the peanut shell domain name and port, can
quickly and easily find the module.
Advanced
Figure 42 Advanced
Advanced
Advanced Setting
Setting
Setting
Setting Page
Page
Page
Page
5.1.11 Device Management Page
This page use to manage USR-WIFI232-A/B/C module general setting, such as administrator setting,
restart module button, restore factory default setting button, and update firmware through webpage.
Jinan USR IOT Technology Limited Page
49
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Figure 43 Device
Restart
Notes:
Notes:
Notes:
Notes:
you
you
you
you will
user
user
user
user click
information
information
information
information with
5.2
5.2
5.2
5.2 AT+instruction
Restart
Restart
Restart module
will
click
will
click
will click
click “
click
click
click the
AT+instruction
AT+instruction
AT+instruction Introduction
module
module
module button:
“
Apply
“
Apply
“ Apply
Apply ”
the
“
Restart
the
“
Restart
the “
“ Restart
Restart ”
with
new
with
new
with new
new changes.
button:
button:
button: When
”
button
”
button
” button
button to
”
button
”
button
” button
button here,
changes.
changes.
changes.
Introduction
Introduction
Introduction
When
When
When you
to
confirm
to
confirm
to confirm
confirm the
here,
here,
here, the
Device
Device
Device Management
you
you
you setting
the
the
the module
Management
Management
Management Page
setting
setting
setting the
the
the
the setting,
module
module
module will
the
the
the parameters
setting,
setting,
setting, but
will
will
will re-boot
Page
Page
Page
parameters
parameters
parameters of
but
the
but
but the
re-boot
re-boot
re-boot up
setting
the
setting
the setting
setting take
up
up
up and
of
different
of
different
of different
different web
take
take
take effect
and
ref
and
ref
and ref
ref re
effect
effect
effect only
re
sh
the
re
sh
the
re sh
sh the
the memory
web
pages,
web
pages,
web pages,
pages,
only
after
only
after
only after
after
memory
memory
memory
5.2.1 Configuration Mode
When USR-WIFI232-A/B/C power up, it will default works as transparent transmission mode, then
user can switch to configuration mode by serial port command. USR-WIFI232-A/B/C UART
default parameters setting as below figure
USR-WIFI232-A/B/C
Figure 44 USR-WIFI232-A/B/C
In configuration mode, user can setting the module through AT+ instruction set, which cover all
web page setting function.
Jinan USR IOT Technology Limited Page
USR-WIFI232-A/B/C
USR-WIFI232-A/B/C Default
Default
Default
Default UART
50
93
of
UART
UART
UART Port
Port
Port
Port Parameters
Parameters
Parameters
Parameters
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
5.2.1.1 Switch to Configuration Mode
Two steps to finish switching from transparent transmission mode to configuration mode.
UART
UART
UART
UART input
UART
UART
UART
UART input
instruction
instruction
instruction
instruction set
input
“
input
input “
+++
“
+++
“ +++
+++ ”
input
input
input “
“
“
“ a
set
set
set configuration
”
,
after
”
” ,
a
”
,
a
”
,
a ”
” ,
, after
configuration
configuration
configuration mode.
module
,
after
module
, after
after module
module receive
after
module
after
module
after module
module receive
mode.
mode.
mode.
receive
receive
receive “
receive
receive
receive “
“
“
“ +++
+++
+++
+++ ”
”
”
” ,
“
a
”
“
a
”
“ a
a ”
” and
,
and
feedback
,
and
feedback
, and
and feedback
feedback “
and
feedback
and
feedback
and feedback
feedback “
“
a
”
as
“
“ a
confirmation.
a
”
as
confirmation.
a ”
” as
as confirmation.
confirmation.
“
+ok
”
+ok
+ok ”
”
” to
to
to
to go
“
“ +ok
go
go
go into
into
into
into AT+
AT+
AT+
AT+
Notes:
Notes:
Notes:
Notes:
Switch
Figure 45 Switch
Switch
Switch to
to
Configuration
to
Configuration
to Configuration
Configuration Mode
Mode
Mode
Mode
1. When user input “ +++ ” (No “ Enter ” key required), the UART port will display feedback
information “ a ” , and not display input information ” +++ ” as above UART display.
2. Any other input or wro ng step to UART port will cause the module still works as original mode
(transparent transmission).
5.2.2 AT+ Instruction Set Overview
User can input AT+ Instruction through hyper terminal or other serial debug terminal, also can
program the AT+ Instruction to script. User can also input “ AT+H ” to list all AT+ Instruction and
description to start.
Jinan USR IOT Technology Limited Page
51
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
”
AT+H
”
Figure 46 ”
”
AT+H
” AT+H
AT+H ”
Instruction
”
Instruction
” Instruction
Instruction for
for
Help
for
Help
for Help
Help
We supply software USR-WIFI232-Setup to send command easily, software setup:
Serial
Figure 47 Serial
Serial
Serial port
port
parameter
port
parameter
port parameter
parameter
Click “ Open Com ” , send “ +++a ” , it will reply +ok in left side, then type in and send the command
you need to send, then click “ AT+RELD ” to restore, then parameters saved.
Jinan USR IOT Technology Limited Page
52
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
software
Figure 48 software
software
software of
of
USR-WIFI232-Setup
of
USR-WIFI232-Setup
of USR-WIFI232-Setup
USR-WIFI232-Setup
Above is by COM, also you can send by WIFI:
First, connect with PC, open the software, see Net part
Search
Figure 49 Search
Search
Search module
module
module
module
Click search, then will show module, click module then you can send command.
5.2.2.1 Instruction Syntax Format
AT+Instruction protocol is based on the instruction of ASCII command style, the description of
syntax format as follow.
Format
Format
Format
Format Description
< >: Means the parts must be included
[ ]: Means the optional part
Description
Description
Description
Command
Command
Command
Command Message
Jinan USR IOT Technology Limited Page
Message
Message
Message
53
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
AT+<CMD>[op][para-1,para-2,para-3,para-4
AT+<CMD>[op][para-1,para-2,para-3,para-4
AT+<CMD>[op][para-1,para-2,para-3,para-4
AT+<CMD>[op][para-1,para-2,para-3,para-4 …
AT+: Prefix of command message;
CMD: Command string;
[op]: Symbol of command operator,
“ = ” : The command requires parameters input;
“ NULL ” : Query the current command parameters setting;
[para-n]: Parameters input for setting if required;
…
]<CR>
…
]<CR>
… ]<CR>
]<CR>
<CR> : ” Enter ” Key, it’s 0x0a or 0x0d in ASCII;
Notes
Notes
Notes
Notes : When input AT+Instruction, “ AT+<CMD> ” character will display capital letter automatic
and other parts will not change as you input.
Response
Response
Response
Response Message
+<RSP>[op]
+<RSP>[op]
+<RSP>[op]
+<RSP>[op] [para-1,para-2,para-3,para-4
+: Prefix of response message;
RSP: Response string;
[op] : =
[para-n]: Parameters if query command or Error code when error happened;
<CR>: ASCII 0x0d;
<LF>: ASCIII 0x0a;
Message
Message
Message
[para-1,para-2,para-3,para-4
[para-1,para-2,para-3,para-4
[para-1,para-2,para-3,para-4 …
“ ok ” : Success
“ ERR ” : Failure
…
]<CR><LF><CR><LF>
…
]<CR><LF><CR><LF>
… ]<CR><LF><CR><LF>
]<CR><LF><CR><LF>
Error
Error
Code
Error
Code
Error Code
Code
Table 10 Error Code Description USR-WIFI232-A/B/C Web Access Default Setting
Error
Code
Error
Code
Error
Error Code
Code Description
Description
Description
Description
-1 Invalid Command Format
-2 Invalid Command
-3 Invalid Operation Symbol
-4 Invalid Parameter
-5 Operation Not Permitted
5.2.2.2 AT+ Instruction Set
Table 11
Instruction
Instruction
Instruction
Instruction Description
Description
Description
Description
<null> NULL
E Open/Close show back function
ENTM Set module into transparent transmission mode
NETP Set/Query network protocol parameters
UART Set/Query serial port parameters
UARTF Open/Close UART auto-frame function
UARTFT Set/Query UART auto-frame trigger time
Jinan USR IOT Technology Limited Page
AT+
Instruction Set List
54
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
UARTFL Set/Query UART auto-frame trigger length
TMODE Set/Query data transmission mode
(transparent transmission or agreement transmission)
WMODE Set/Query WIFI work mode (AP or STA)
WSKEY Set/Query WIFI security parameters as STA
WSSSID Set/Query WIFI target AP SSID parameters as STA
WSLK Query WiFi link status as STA
WEBU Set/Query WEB page login parameters
(User Name and Password)
WAP Set/Query WIFI parameters as AP
WAKEY Set/Query WIFI security parameters as AP
HIDESSID Set/Query hide AP ’ s SSID
MSLP Set modules into power save mode.(Turn OFF WiFi)
WSCAN Seek AP when module works as STA mode
TCPLK Query if TCP link already build-up
TCPDIS Open/Cose TCP (Only TCP Client available)
WANN Set/Query WAN setting, only effective as STA mode
LANN Set/Query LAN setting, only effective as AP mode
DHCPDEN Enable/Disable LAN DHCP server function
DHCPGW Set/Query DHCP gateway address
TCPTO Set/Query TCP timeout
MAXSK Set/Query maxima TCP connection
TCPB Open/Close TCPB function
TCPPTB Set/Query TCPB port number
TCPADDB Set/Query TCPB server address
TCPTOB Set/Query TCPB time out time
TCPLKB Query TCPB link status
EPHY Open/Close ETH interface
STTC Enable/Disable STA port scan function
DOMAIN Set/Query domain of module webpage
RELD Restore to factory default setting
FUDLX Open / close the 485 function
MMID Device ID
IDFIR Send an ID when module connection is established
IDEVE Every time to send data to send ID
AABR Open / close baud rate adaptive function
MID Query module ID information
VER Query module software version information
H Help
WSSSIDA
Set/query the first AP ‘ s ssid of 3 sta parameters settings
WSSSID B Set/query the second AP ‘ s ssid of 3 sta parameters settings
WSSSID C Set/query the third AP ‘ s ssid of 3 sta parameters settings
WS KEY A
WS KEYB
WS KEYC
WSQY
HTPMODE
HTPSV
Set/query the first AP ‘ s password of 3 sta parameters settings
Set/query the second AP ‘ s password of 3 sta parameters settings
Set/query the third AP ‘ s password of 3 sta parameters settings
Set /query the critiacl value of network switching
The switch of new/old HTTP headers setting mode(HTTPD Client)
Under the new mode , Settings/query server and IP address (HTTPD
Client)
HTPTP
HTPURL
Under the new mode , Settings/query request type (HTTPD Client)
Under the new mode,setting/query request path (HTTPD Client)
HTPHEAD Under the new mode,Settings/query the HTTP header (HTTPD
Jinan USR IOT Technology Limited Page
55
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Client)
REGEN
REGTCP
REGID
Notes:
Notes:
Notes:
Notes: USR-WIFI232-A/B/C module can works as AP or STA, user have to use different AT+
Instruction to set WiFi parameters when module works as AP or
5.2.2.2.1
5.2.2.2.1
5.2.2.2.1
5.2.2.2.1 AT+E
When USR-WIFI232-A/B/C module firstly switch from transparent transmission to configuration mode,
show back status is open, input “ AT+E ” to close show back function, input “ AT+E ” again to open show
back function.
5.2.2.2.2
5.2.2.2.2
5.2.2.2.2
5.2.2.2.2 AT+ENTM
AT+E
AT+E
AT+E
Function: Open/Close show back function;
Format:
AT+E<CR>
AT+E<CR>
AT+E<CR>
AT+E<CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
AT+ENTM
AT+ENTM
AT+ENTM
Function: Set module into transparent transmi ss ion mode;
Format:
Settings/query Registered Package Type
Settings/query Upload Manner
Settings/query Device ID
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
LF
LF
LF >
>
>
>
STA
mode.
AT+ENTM<CR>
AT+ENTM<CR>
AT+ENTM<CR>
AT+ENTM<CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
When operate this command, module switch from configuration mode to transparent transmission
mode.
5.2.2.2.3
5.2.2.2.3
5.2.2.2.3
5.2.2.2.3 AT+NETP
Note: When it is
49000 (usr - link port).
AT+NETP
AT+NETP
AT+NETP
Function: Set/Query network protocol parameters;
Format:
Query Operation
AT+NETP<CR>
AT+NETP<CR>
AT+NETP<CR>
AT+NETP<CR>
+ok=<protocol,CS,port,IP><CR><
+ok=<protocol,CS,port,IP><CR><
+ok=<protocol,CS,port,IP><CR><
+ok=<protocol,CS,port,IP><CR>< LF
Set Operation
AT+NETP=<protocol,CS,port,IP><CR>
AT+NETP=<protocol,CS,port,IP><CR>
AT+NETP=<protocol,CS,port,IP><CR>
AT+NETP=<protocol,CS,port,IP><CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
protocol:
CS: Network mode:
Port: protocol port ID: Decimal digit and less than 65535
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
TCP
UDP
SERVER
CLIENT
Tcp
and Udp Server, the Port can not be 80 (HTTP port), 8000 (websocket port),
LF
LF
LF >
LF
LF
LF >
>
>
>
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
>
>
>
LF
LF
LF >
>
>
>
Jinan USR IOT Technology Limited Page
56
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
IP: Server ’ s IP address when module set as client
After USR-WIFI232-A/B/C module boots up again, the setting will be effective.
5.2.2.2.4
5.2.2.2.4
5.2.2.2.4
5.2.2.2.4 AT+UART
After USR-WIFI232-A/B/C module boots up again , the setting will be effective.
5.2.2.2.5
5.2.2.2.5
5.2.2.2.5
5.2.2.2.5 AT+UARTF
5.2.2.2.6
5.2.2.2.6
5.2.2.2.6
5.2.2.2.6 AT+UARTFT
AT+UART
AT+UART
AT+UART
Function: Set/Query serial port parameters;
Format:
Query Operation
AT+UART<CR>
AT+UART<CR>
AT+UART<CR>
AT+UART<CR>
+ok=<baudrate,data_bits,stop_bit,parity,flowctrl><CR><
+ok=<baudrate,data_bits,stop_bit,parity,flowctrl><CR><
+ok=<baudrate,data_bits,stop_bit,parity,flowctrl><CR><
+ok=<baudrate,data_bits,stop_bit,parity,flowctrl><CR>< LF
Set Operation
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>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
baudrate:
data_bits:
stop_bits:
parity:
flowctrl : hardware flow control (CTSRTS)
AT+UARTF
AT+UARTF
AT+UARTF
Function: Open/Close UART auto-frame function;
Format:
Query Operation
AT+
UARTF<CR>
AT+
UARTF<CR>
AT+
AT+ UARTF<CR>
UARTF<CR>
+ok=<para><CR><
+ok=<para><CR><
+ok=<para><CR><
+ok=<para><CR>< LF
Set Operation
AT+
UARTF=<para
AT+
UARTF=<para
AT+
AT+ UARTF=<para
UARTF=<para ><CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
para:
AT+UARTFT
AT+UARTFT
AT+UARTFT
Function: Set/Query UART auto-frame trigger time;
Format:
Query Operation
AT+
UARTFT<CR>
AT+
UARTFT<CR>
AT+
AT+ UARTFT<CR>
UARTFT<CR>
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
300,600,1200,1800,2400,4800,9600,19200,38400,57600,115200,230400,345
600,460800
5,6,7,8
1,2
NONE,EVEN,ODD,MARK,SPACE
NFC: No flow control
FC: flow control
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
disable - Close auto-frame function;
enable - Open auto-frame function;
LF
LF
LF >
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
><CR>
><CR>
><CR>
LF
LF
LF >
>
>
>
LF
>
LF
>
LF >
>
>
>
>
LF
LF
LF ><CR><
><CR><
><CR><
><CR>< LF
LF
LF
LF >
>
>
>
Jinan USR IOT Technology Limited Page
57
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
+ok=<time><CR><
+ok=<time><CR><
+ok=<time><CR><
+ok=<time><CR>< LF
Set Operation
AT+
UARTFT=<time
AT+
UARTFT=<time
AT+
AT+ UARTFT=<time
UARTFT=<time ><CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
time: Range 100 ~10000; Unit: ms. Auto-frame trigger time
5.2.2.2.7
5.2.2.2.7
5.2.2.2.7
5.2.2.2.7 AT+UARTFL
5.2.2.2.8
5.2.2.2.8
5.2.2.2.8
5.2.2.2.8 AT+TMODE
After USR-WIFI232-A/B/C module boots up again, the setting will be effective.
Note: N o CMD .A fter power on , the module will not work in the
5.2.2.2.9
5.2.2.2.9
5.2.2.2.9
5.2.2.2.9 AT+WMODE
AT+UARTFL
AT+UARTFL
AT+UARTFL
Function: Set/Query UART auto-frame trigger length;
Format:
Query Operation
AT+
AT+
AT+
AT+ UARTFL<CR>
+ok=<len><CR><
+ok=<len><CR><
+ok=<len><CR><
+ok=<len><CR>< LF
Set Operation
AT+
UARTFL=<len
AT+
UARTFL=<len
AT+
AT+ UARTFL=<len
UARTFL=<len ><CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
len: Range 64 ~4096; Unit: byte. Auto-frame trigger length;
AT+TMODE
AT+TMODE
AT+TMODE
Function: Set/Query data transmi ss ion mode;
Format:
Query Operation
AT+TMODE<CR>
AT+TMODE<CR>
AT+TMODE<CR>
AT+TMODE<CR>
+ok=<tmode><CR><
+ok=<tmode><CR><
+ok=<tmode><CR><
+ok=<tmode><CR>< LF
Set Operation
AT+
AT+
AT+
AT+ TMODE=<tmode><CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
tmode: Data transm iss ion mode
AT+WMODE
AT+WMODE
AT+WMODE
Function: Set/Query WIFI work mode;
Format:
Query Operation
AT+WMODE<CR>
AT+WMODE<CR>
AT+WMODE<CR>
AT+WMODE<CR>
+ok=<mode><CR><
+ok=<mode><CR><
+ok=<mode><CR><
+ok=<mode><CR>< LF
Set Operation
AT+
WMODE=<mode><CR>
AT+
WMODE=<mode><CR>
AT+
AT+ WMODE=<mode><CR>
WMODE=<mode><CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
LF
LF
LF ><CR><
UARTFL<CR>
UARTFL<CR>
UARTFL<CR>
LF
LF
LF ><CR><
TMODE=<tmode><CR>
TMODE=<tmode><CR>
TMODE=<tmode><CR>
LF
LF
LF ><CR><
Through: Transparent transmi ss ion
Agreement: Agreement transmi ss ion
Httpdclient:Httpd C lient Mode
GPIO : GPIO Mode
LF
LF
LF ><CR><
LF
LF
LF ><CR><
><CR>
><CR>
><CR>
><CR><
><CR><
><CR>< LF
LF
LF
LF ><CR><
><CR>
><CR>
><CR>
><CR><
><CR><
><CR>< LF
LF
><CR><
><CR><
><CR>< LF
LF
LF
LF ><CR><
><CR><
><CR><
><CR>< LF
><CR><
><CR><
><CR>< LF
LF
>
LF
>
LF >
>
><CR><
><CR><
><CR>< LF
LF
>
LF
>
LF >
>
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
LF
>
LF
>
LF >
>
><CR><
><CR><
><CR>< LF
LF
>
LF
>
LF >
>
LF
LF
LF >
LF
LF
LF >
LF
LF
LF >
LF
LF
LF >
>
>
>
>
>
>
>
>
>
AT
command mode by default.
>
>
>
Jinan USR IOT Technology Limited Page
58
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
mode:WIFI work mode
AP
STA
After USR-WIFI232-A/B/C module boots up again, the setting will be effective.
5.2.2.2.10
5.2.2.2.10
5.2.2.2.10
5.2.2.2.10 AT+WSKEY
This Instruction only effective for USR-WIFI232-A/B/C works as STA. After USR-WIFI232-A/B/C
module boots up again, the setting will be effective. But user can set this command when module
configured as
5.2.2.2.11
5.2.2.2.11
5.2.2.2.11
5.2.2.2.11 AT+WSSSID
This Instruction only effective for USR-WIFI232-A/B/C works as STA. After USR-WIFI232-A/B/C
module boots up again, the setting will be effective. But user can set this command when module
configured as
5.2.2.2.12
5.2.2.2.12
5.2.2.2.12
5.2.2.2.12 AT+
AT+WSKEY
AT+WSKEY
AT+WSKEY
Function: Set/Query WIFI security parameters as STA;
Format:
Query Operation
AT+WSKEY<CR>
AT+WSKEY<CR>
AT+WSKEY<CR>
AT+WSKEY<CR>
+ok=<auth,encry,key><CR><
+ok=<auth,encry,key><CR><
+ok=<auth,encry,key><CR><
+ok=<auth,encry,key><CR>< LF
Set Operation
AT+
WSKEY=<
AT+
WSKEY=<
AT+
AT+ WSKEY=<
WSKEY=< auth,encry,key><CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
auth: Authentication mode
OPEN
SHARED
WPAPSK
encry:Encryption algorithm
NONE: When “ auth=OPEN ” , effective
WEP: When “ auth=OPEN ” or “ SHARED ” , effective
TKIP: When ” auth= WPAPSK ” , effective
AES: When “ auth= WPAPSK ” , effective
key: password, ASCII code, shall less than 64 bit and greater than 8bit
AP.
AT+WSSSID
AT+WSSSID
AT+WSSSID
Function: Set/Query WIFI target AP SSID parameters as STA.
Format:
Query Operation
AT+WSSSID<CR>
AT+WSSSID<CR>
AT+WSSSID<CR>
AT+WSSSID<CR>
+ok=<ap
+ok=<ap
+ok=<ap
+ok=<ap
Set Operation
AT+
AT+
AT+
AT+ WSSSID=<ap
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
ap ’ s ssid: AP ’ s SSID
AP.
Function: Query WiFi link status as STA
’
’
’
’
WSSSID=<ap
WSSSID=<ap
WSSSID=<ap ’
AT+
WSLK
AT+
WSLK
AT+ WSLK
WSLK
auth,encry,key><CR>
auth,encry,key><CR>
auth,encry,key><CR>
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
s
ssid><CR><
s
ssid><CR><
s
s ssid><CR><
ssid><CR>< LF
’
s
ssid
’
s
ssid
’ s
s ssid
ssid ><CR>
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
LF
LF
LF
LF >
LF
LF >
LF
LF
LF ><CR><
>
>
>
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
><CR>
><CR>
><CR>
>
>
>
><CR><
><CR><
><CR>< LF
LF
>
LF
>
LF >
>
LF
LF
LF >
>
>
>
Jinan USR IOT Technology Limited Page
59
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Format:
Query Operation
AT+
WSLK<CR>
AT+
WSLK<CR>
AT+
AT+ WSLK<CR>
WSLK<CR>
+ok=<ret><CR><
+ok=<ret><CR><
+ok=<ret><CR><
+ok=<ret><CR>< LF
Parameters:
ret
” Disconnected ” , if no WiFi connection;
” AP ’SSID ( AP ’ s MAC ” ) , if WiFi connection available;
” RF Off ” , if WiFi OFF;
This Instruction only effective for USR-WIFI232-A/B/C works as STA. After USR-WIFI232-A/B/C
module boots up again, the setting will be effective. But user can set this command when module
configured as
5.2.2.2.13
5.2.2.2.13
5.2.2.2.13
5.2.2.2.13 AT+WEBU
5.2.2.2.14
5.2.2.2.14
5.2.2.2.14
5.2.2.2.14 AT+WAP
AP.
AT+WEBU
AT+WEBU
AT+WEBU
Function: Set/Query WEB page login parameters;
Format:
Query Operation
AT+WEBU<CR>
AT+WEBU<CR>
AT+WEBU<CR>
AT+WEBU<CR>
+ok=<usr,password><CR><
+ok=<usr,password><CR><
+ok=<usr,password><CR><
+ok=<usr,password><CR>< LF
Set Operation
AT+
WEBU=<
AT+
WEBU=<
AT+
AT+ WEBU=<
WEBU=< usr,password
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
usr: User name for WEB page access;
password : Password for WEB page access;
AT+WAP
AT+WAP
AT+WAP
Function: Set/Query WIFI parameters as AP;
Format:
Query Operation
AT+WAP<CR>
AT+WAP<CR>
AT+WAP<CR>
AT+WAP<CR>
+ok=<wifi_mode,ssid,channel><CR><
+ok=<wifi_mode,ssid,channel><CR><
+ok=<wifi_mode,ssid,channel><CR><
+ok=<wifi_mode,ssid,channel><CR>< LF
Set Operation
AT+
WAP=<wifi_mode,ssid,channel><CR>
AT+
WAP=<wifi_mode,ssid,channel><CR>
AT+
AT+ WAP=<wifi_mode,ssid,channel><CR>
WAP=<wifi_mode,ssid,channel><CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
wifi_mode: WiFi protocols
ssid: SSID when module works as AP;
channel: WIFI channel selection
LF
LF
LF ><CR><
LF
LF
LF ><CR><
11BG
11B
11G
11BGN
11N
AUTO
CH1~CH11
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
usr,password
usr,password
usr,password ><CR>
><CR><
><CR><
><CR>< LF
><CR><
><CR><
><CR>< LF
LF
LF
LF
LF >
LF
LF >
LF
LF
LF >
LF
LF
LF ><CR><
><CR>
><CR>
><CR>
>
>
>
>
>
>
>
>
>
><CR><
><CR><
><CR>< LF
LF
>
LF
>
LF >
>
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
LF
>
LF
>
LF >
>
Jinan USR IOT Technology Limited Page
60
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
This Instruction only effective for USR-WIFI232-A/B/C works as
boots up again, the setting will be effective. But user can set this command when module configured
as STA.
5.2.2.2.15
5.2.2.2.15
5.2.2.2.15
5.2.2.2.15 AT+WAKEY
This Instruction only effective for USR-WIFI232-A/B/C works as AP. After USR-WIFI232-A/B/C module
boots up again, the setting will be effective. But user can set this command when module configured
as STA.
AT+WAKEY
AT+WAKEY
AT+WAKEY
Function: Set/Query WIFI security parameters as AP;
Format:
Query Operation
AT+WAKEY<CR>
AT+WAKEY<CR>
AT+WAKEY<CR>
AT+WAKEY<CR>
+ok=<auth,encry,key><CR><
+ok=<auth,encry,key><CR><
+ok=<auth,encry,key><CR><
+ok=<auth,encry,key><CR>< LF
Set Operation
AT+
WAKEY=<
AT+
WAKEY=<
AT+
AT+ WAKEY=<
WAKEY=< auth,encry,key><CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
auth: Authentication mode
OPEN
SHARED
WPAPSK
encry:Encryption algorithm
NONE: When “ auth=OPEN ” , effective;
WEP: When “ auth=OPEN ” , effective or “ SHARED ” , effective;
TKIP: When “ auth=WPAPSK ” , effective;
AES:When “ auth=WPAPSK ” , effective;
TKIPAES:When “ auth=WPAPSK ” , effective;
key: password, ASCII code, shall less than 64 bit and greater than 8bit;
auth,encry,key><CR>
auth,encry,key><CR>
auth,encry,key><CR>
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
LF
LF
LF >
LF
LF
LF ><CR><
>
>
>
><CR><
><CR><
><CR>< LF
LF
LF
LF >
AP.
After USR-WIFI232-A/B/C module
>
>
>
5.2.2.2.16
5.2.2.2.16
5.2.2.2.16
5.2.2.2.16 AT+HIDESSID
Jinan USR IOT Technology Limited Page
AT+HIDESSID
AT+HIDESSID
AT+HIDESSID
Function: Set/Query hide AP ’ s SSID;
Format:
Query Operation
AT+HIDSSID<CR>
AT+HIDSSID<CR>
AT+HIDSSID<CR>
AT+HIDSSID<CR>
+ok=<sta.><CR><LF><CR><LF>
+ok=<sta.><CR><LF><CR><LF>
+ok=<sta.><CR><LF><CR><LF>
+ok=<sta.><CR><LF><CR><LF>
Set Operation
AT+HIDSSID=<sta><CR>
AT+HIDSSID=<sta><CR>
AT+HIDSSID=<sta><CR>
AT+HIDSSID=<sta><CR>
+ok<CR><LF><CR><LF>
+ok<CR><LF><CR><LF>
+ok<CR><LF><CR><LF>
+ok<CR><LF><CR><LF>
Parameters:
When Query,sta reply if module ’s SSID is hide;
On-not hide SSID
Off- hide SSID
When Set,
Off-hide SSID
61
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
On- not hide SSID
5.2.2.2.17
5.2.2.2.17
5.2.2.2.17
5.2.2.2.17
When module go into sleep mode, user can input “ AT+MSLP=on ” to re-start the module and module
go into transparent transmission mode.
5.2.2.2.18
5.2.2.2.18
5.2.2.2.18
5.2.2.2.18 AT+WSCAN
The first line of the return value is "RSSI, SSID, BSSID, Channel, Encryption,Authentication", they are
the signal strength, network name, MAC address,channel, mode of authentication, encryption
algorithm.
5.2.2.2.19
5.2.2.2.19
5.2.2.2.19
5.2.2.2.19 AT+
5.2.2.2.20
5.2.2.2.20
5.2.2.2.20
5.2.2.2.20
A
T+MSLP
A
T+MSLP
A
A
T+MSLP
T+MSLP
Function: Set modules into power save mode.(Turn OFF WiFi ,
mode or the sta mode )
Format:
Query Operation
AT+
MSLP
AT+
MSLP
AT+
AT+ MSLP
MSLP <CR>
+ok=<sta.><CR><
+ok=<sta.><CR><
+ok=<sta.><CR><
+ok=<sta.><CR>< LF
Set Operation
AT+
MSLP=<on/off><CR>
AT+
MSLP=<on/off><CR>
AT+
AT+ MSLP=<on/off><CR>
MSLP=<on/off><CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
When Query,sta reply if the module in sleep mode;
When Set,
AT+WSCAN
AT+WSCAN
AT+WSCAN
Function: Seek AP when module works as
Format:
AT+
WSCAN<CR>
AT+
WSCAN<CR>
AT+
AT+ WSCAN<CR>
WSCAN<CR>
+ok=<ap_site><CR><
+ok=<ap_site><CR><
+ok=<ap_site><CR><
+ok=<ap_site><CR>< LF
Parameters:
ap_site: AP searched;
AT+
AT+
AT+ TCPLK
Function: Query if TCP link already build-up;
Format:
AT+
TCPLK<CR>
AT+
TCPLK<CR>
AT+
AT+ TCPLK<CR>
TCPLK<CR>
+ok=<sta><CR><
+ok=<sta><CR><
+ok=<sta><CR><
+ok=<sta><CR>< LF
Parameters:
sta.: if module already setup TCP link;
AT
AT
AT
AT
Function: Open/Cose TCP (Only TCP Client available);
Format:
Query Operation
<CR>
<CR>
<CR>
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
On - Module not in sleep mode (WiFi ON);
Off - Module in sleep mode(WiFi OFF);
Off - Set module to sleep mode (WiFi OFF);
On - Set module to normal mode (WiFi ON);
TCPLK
TCPLK
TCPLK
on: TCP link setup;
off: TCP link not setup;
+
TCPDIS
+
TCPDIS
+
+ TCPDIS
TCPDIS
;
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
LF
LF
LF >
LF
LF
LF ><CR><
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
LF
LF
LF >
>
>
>
><CR><
><CR><
><CR>< LF
LF
LF
LF >
>
>
>
STA
mode;
LF
>
LF
>
LF >
>
>
>
>
Regardless of the AP
Jinan USR IOT Technology Limited Page
62
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
AT+TCPDIS<CR>
AT+TCPDIS<CR>
AT+TCPDIS<CR>
AT+TCPDIS<CR>
+ok=<sta><CR><
+ok=<sta><CR><
+ok=<sta><CR><
+ok=<sta><CR>< LF
Set Operation
AT+
TCPDIS=<on/off><CR>
AT+
TCPDIS=<on/off><CR>
AT+
AT+ TCPDIS=<on/off><CR>
TCPDIS=<on/off><CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
sta.: set/qu er y TCP link status;
5.2.2.2.21
5.2.2.2.21
5.2.2.2.21
5.2.2.2.21 AT+
This Instruction only effective for USR-WIFI232-A/B/C works as STA. After USR-WIFI232-A/B/C
module boots up again, the setting will be effective. But user can set this command when module
configured as
5.2.2.2.22
5.2.2.2.22
5.2.2.2.22
5.2.2.2.22 AT+
AT+
AT+
AT+ WANN
Function: Set/Query WAN setting, only effective as
Format:
Query Operation
AT+WANN<CR>
AT+WANN<CR>
AT+WANN<CR>
AT+WANN<CR>
+ok=<mode,address,mask,gateway><CR><
+ok=<mode,address,mask,gateway><CR><
+ok=<mode,address,mask,gateway><CR><
+ok=<mode,address,mask,gateway><CR>< LF
Set Operation
AT+
WANN=<
AT+
WANN=<
AT+
AT+ WANN=<
WANN=< mode,address,mask,gateway
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
mode: IP setting for WAN port
address: WAN port IP address;
mask: WAN port subnet mask;
gateway: WAN port gateway address;
AP.
AT+
AT+
AT+ LANN
Function: Set/Query LAN setting, only effective as AP mode;
Format:
Query Operation
AT+LANN<CR>
AT+LANN<CR>
AT+LANN<CR>
AT+LANN<CR>
+ok=<address,mask
+ok=<address,mask
+ok=<address,mask
+ok=<address,mask ><CR><
Set Operation
AT+
LANN=<address,mask
AT+
LANN=<address,mask
AT+
AT+ LANN=<address,mask
LANN=<address,mask ><CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
address: LAN port IP address;
mask: LAN port subnet mask;
LF
LF
LF ><CR><
on: TCP link availab l e; When setting “ on ” , module will connect to TCP server
right away.
off: TCP link not availab l e; when setting “ off ” , module will disconnect with TCP
server and not connect again.
WANN
WANN
WANN
LF
LF
LF ><CR><
static: Static IP
DHCP: Dynamic IP
LANN
LANN
LANN
LF
LF
LF ><CR><
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
><CR><
><CR><
><CR>< LF
mode,address,mask,gateway
mode,address,mask,gateway
mode,address,mask,gateway ><CR>
><CR><
><CR><
><CR>< LF
><CR><
><CR><
><CR>< LF
LF
LF
LF >
LF
LF
LF >
><CR><
><CR><
><CR>< LF
LF
LF
LF >
>
>
>
>
>
>
>
>
>
><CR>
><CR>
><CR>
LF
>
LF
>
LF >
>
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
LF
LF
LF ><CR><
><CR>
><CR>
><CR>
LF
>
LF
>
LF >
>
STA
mode;
><CR><
><CR><
><CR>< LF
LF
LF
LF >
>
>
>
Jinan USR IOT Technology Limited Page
63
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
This Instruction only effective for USR-WIFI232-A/B/C works as
boots up again, the setting will be effective. But user can set this command when module configured
as STA.
Note: AT+WANN check the wan port address of module, AT+LANN check the LAN port address of
module, and the two IP cannot be set on the same network segment, If do,Module will be abnormal.
5.2.2.2.23
5.2.2.2.23
5.2.2.2.23
5.2.2.2.23 AT+DHCPDEN
AT+DHCPDEN<CR>
AT+DHCPDEN<CR>
AT+DHCPDEN<CR>
AT+DHCPDEN<CR>
+ok=<sta><CR><LF><CR><LF>
+ok=<sta><CR><LF><CR><LF>
+ok=<sta><CR><LF><CR><LF>
+ok=<sta><CR><LF><CR><LF>
AT+DHCPDEN=<sta><CR>
AT+DHCPDEN=<sta><CR>
AT+DHCPDEN=<sta><CR>
AT+DHCPDEN=<sta><CR>
+ok<CR><LF><CR><LF>
+ok<CR><LF><CR><LF>
+ok<CR><LF><CR><LF>
+ok<CR><LF><CR><LF>
5.2.2.2.24
5.2.2.2.24
5.2.2.2.24
5.2.2.2.24 AT+
5.2.2.2.25
5.2.2.2.25
5.2.2.2.25
5.2.2.2.25 AT+
AT+DHCPDEN
AT+DHCPDEN
AT+DHCPDEN
Function: Enable/Disable LAN DHCP server function;
Format:
Query Operation
Set Operation
Parameters:
sta. If Enable/Disable LAN DHCP server function;
on: Enable LAN DHCP function
off: Disable LAN DHCP function
AT+
DHCPGW
AT+
DHCPGW
AT+ DHCPGW
DHCPGW
Function: Set/Query DHCP gateway address;
Format:
Query Operation
AT+
DHCPGW<CR>
AT+
DHCPGW<CR>
AT+
AT+ DHCPGW<CR>
DHCPGW<CR>
+ok=<address><CR><
+ok=<address><CR><
+ok=<address><CR><
+ok=<address><CR>< LF
Set Operation
AT+
DHCPGW=<address
AT+
DHCPGW=<address
AT+
AT+ DHCPGW=<address
DHCPGW=<address ><CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
address: DHCP gate address;
AT+
AT+
AT+ TCPTO
Function: Set/Query TCP timeout;
Format:
Query Operation
AT+
TCPTO<CR>
AT+
TCPTO<CR>
AT+
AT+ TCPTO<CR>
TCPTO<CR>
+ok=<time><CR><
+ok=<time><CR><
+ok=<time><CR><
+ok=<time><CR>< LF
Set Operation
AT+
TCPTO=<time
AT+
TCPTO=<time
AT+
AT+ TCPTO=<time
TCPTO=<time ><CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
time: TCP timeout time.
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
TCPTO
TCPTO
TCPTO
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
<= 600, (600s);
>=0, (0 means no timeout);
Default, 0 s;
LF
LF
LF ><CR><
><CR>
><CR>
><CR>
LF
LF
LF >
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
><CR>
><CR>
><CR>
LF
LF
LF >
><CR><
><CR><
><CR>< LF
>
>
>
LF
LF
LF >
>
>
>
LF
>
LF
>
LF >
>
>
>
>
AP.
After USR-WIFI232-A/B/C module
Jinan USR IOT Technology Limited Page
64
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
TCP timeout: module began to count when TCP channel did not receive any data, receive data purge
count.If the timing time exceed TCPTO, disconnect the TCP channel.If module work in TCP Client , it
will take the initiative to rewiring the TCP Server, If module work in the TCP Server, the TCP Client
need active reconnection.
5.2.2.2.26
5.2.2.2.26
5.2.2.2.26
5.2.2.2.26 AT+
When configure as TCP/Server, USR-WIFI232-A/B/C support maxim a 32 TCP connections. If not
require so much connection, user can resetting this parameters.
AT+
MAXSK
AT+
MAXSK
AT+ MAXSK
MAXSK
Function: Set/Query maxima TCP connection;
Format:
Query Operation
AT+
MAXSK<CR>
AT+
MAXSK<CR>
AT+
AT+ MAXSK<CR>
MAXSK<CR>
+ok=<num><CR><
+ok=<num><CR><
+ok=<num><CR><
+ok=<num><CR>< LF
Set Operation
AT+
MAXSK
AT+
MAXSK
AT+
AT+ MAXSK
MAXSK =<num
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
num: 1~32, default 32. maxima TCP connection;
LF
LF
LF ><CR><
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
=<num
=<num
=<num ><CR>
><CR><
><CR><
><CR>< LF
><CR>
><CR>
><CR>
LF
LF
LF >
LF
>
LF
>
LF >
>
>
>
>
5.2.2.2.27
5.2.2.2.27
5.2.2.2.27
5.2.2.2.27 AT+TCPB
After USR-WIFI232-A/B/C module boots up again, the setting will be effective.
5.2.2.2.28
5.2.2.2.28
5.2.2.2.28
5.2.2.2.28 AT+TCPPTB
AT+TCPB
AT+TCPB
AT+TCPB
Function: Open/Close TCPB function;
Format:
Query Operation
AT+TCPB<CR>
AT+TCPB<CR>
AT+TCPB<CR>
AT+TCPB<CR>
+ok=<sta><CR><
+ok=<sta><CR><
+ok=<sta><CR><
+ok=<sta><CR>< LF
Set Operation
AT+
TCPB=<on/off><CR>
AT+
TCPB=<on/off><CR>
AT+
AT+ TCPB=<on/off><CR>
TCPB=<on/off><CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
sta: TCPB enable status
AT+TCPPTB
AT+TCPPTB
AT+TCPPTB
Function: Set/Query TCPB port number;
Format:
Query Operation
AT+TCPPTB<CR>
AT+TCPPTB<CR>
AT+TCPPTB<CR>
AT+TCPPTB<CR>
+ok=<port><CR><
+ok=<port><CR><
+ok=<port><CR><
+ok=<port><CR>< LF
Set Operation
AT+
TCPB=<port><CR>
AT+
TCPB=<port><CR>
AT+
AT+ TCPB=<port><CR>
TCPB=<port><CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
port: decimal ,<65535
LF
LF
LF ><CR><
on, TCPB enable
off, TCPB disable
LF
LF
LF ><CR><
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
><CR><
><CR><
><CR>< LF
LF
LF
LF ><CR><
><CR><
><CR><
><CR>< LF
LF
>
LF
>
LF >
>
><CR><
><CR><
><CR>< LF
LF
>
LF
>
LF >
>
LF
LF
LF >
LF
LF
LF >
>
>
>
>
>
>
Jinan USR IOT Technology Limited Page
65
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
After USR-WIFI232-A/B/C module boots up again, the setting will be effective.
5.2.2.2.29
5.2.2.2.29
5.2.2.2.29
5.2.2.2.29 AT+TCPADDB
After USR-WIFI232-A/B/C module boots up again, the setting will be effective
5.2.2.2.30
5.2.2.2.30
5.2.2.2.30
5.2.2.2.30 AT+TCPTOB
After USR-WIFI232-A/B/C module boots up again, the setting will be effective.
5.2.2.2.31
5.2.2.2.31
5.2.2.2.31
5.2.2.2.31 AT+TCPLKB
5.2.2.2.32
5.2.2.2.32
5.2.2.2.32
5.2.2.2.32 AT+EPHY
AT+TCPADDB
AT+TCPADDB
AT+TCPADDB
Function: Set/Query TCPB server address;
Format:
Query Operation
AT+TCP ADDB<CR>
AT+TCP ADDB<CR>
AT+TCP ADDB<CR>
AT+TCP ADDB<CR>
+ok=<add><CR><
+ok=<add><CR><
+ok=<add><CR><
+ok=<add><CR>< LF
Set Operation
AT+
TCPADDB=<add><CR>
AT+
TCPADDB=<add><CR>
AT+
AT+ TCPADDB=<add><CR>
TCPADDB=<add><CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
add: TCPB server address, can be IP address or url.
AT+TCPTOB
AT+TCPTOB
AT+TCPTOB
Function: Set/Query TCPB time out time;
Format:
Query Operation
AT+TCPTOB<CR>
AT+TCPTOB<CR>
AT+TCPTOB<CR>
AT+TCPTOB<CR>
+ok=<time><CR><
+ok=<time><CR><
+ok=<time><CR><
+ok=<time><CR>< LF
Set Operation
AT+
TCPTOB=<time><CR>
AT+
TCPTOB=<time><CR>
AT+
AT+ TCPTOB=<time><CR>
TCPTOB=<time><CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
time: TCPB time out time, <=600 (600s), >=0 (No time out), default 0
AT+TCPLKB
AT+TCPLKB
AT+TCPLKB
Function: Query TCPB link status;
Format:
AT+TCPCKB<CR>
AT+TCPCKB<CR>
AT+TCPCKB<CR>
AT+TCPCKB<CR>
+ok=<sta><CR><
+ok=<sta><CR><
+ok=<sta><CR><
+ok=<sta><CR>< LF
Parameters:
sta: TCPB link status
AT+EPHY
AT+EPHY
AT+EPHY
Function: Open/Close ETH interface;
Format:
Set Operation
AT+
AT+
AT+
AT+ EPHY=<on/off><CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
On/off
LF
LF
LF ><CR><
LF
LF
LF ><CR><
on, TCPB link OK
off, TCPB link not availab l e
EPHY=<on/off><CR>
EPHY=<on/off><CR>
EPHY=<on/off><CR>
Off: Close Ethernet port function;
LF
LF
LF ><CR><
><CR><
><CR><
><CR>< LF
LF
LF
LF ><CR><
><CR><
><CR><
><CR>< LF
LF
LF
LF ><CR><
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
><CR><
><CR><
><CR>< LF
LF
>
LF
>
LF >
>
><CR><
><CR><
><CR>< LF
LF
>
LF
>
LF >
>
><CR><
><CR><
><CR>< LF
LF
>
LF
>
LF >
>
LF
LF
LF >
LF
LF
LF >
LF
LF
LF >
>
>
>
>
>
>
>
>
>
Jinan USR IOT Technology Limited Page
66
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
On: Open Ethernet port function;
If you want to keep the Ethernet port open,please use the AT+FEPHY=on.
Close module ’ s Ethernet port function can reduce the power consumption. The default setting for
USR-WIFI232-A/B/C is close Ethernet port function.
Use
AT
+ FVEW = disable/enable, so you can set the modules work in LAN port (disable) or wan port
(enable), the directive restore factory Settings to take effect.
5.2.2.2.33
5.2.2.2.33
5.2.2.2.33
5.2.2.2.33 AT+
AT+
STTC
AT+
STTC
AT+ STTC
STTC
Function : Enable/Disable
STA
port scan function
Format:
Query Operation
AT+
STTC
AT+
AT+
AT+ STTC
+ok
=<sta>
+ok
=<sta>
+ok
+ok =<sta>
=<sta> <CR><
Set Operation
AT+STTC=<on/off><CR>
AT+STTC=<on/off><CR>
AT+STTC=<on/off><CR>
AT+STTC=<on/off><CR>
+ok<CR><LF><CR><LF>
+ok<CR><LF><CR><LF>
+ok<CR><LF><CR><LF>
+ok<CR><LF><CR><LF>
Parameters:
Sta: when query, this value feedback
<CR>
STTC
<CR>
STTC <CR>
<CR>
<CR><
<CR><
<CR>< LF
On: Enable
Off: Disable
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
STA
STA
LF
>
LF
>
LF >
>
port scan function
port scan function
5.2.2.2.34
5.2.2.2.34
5.2.2.2.34
5.2.2.2.34 AT+DOMAIN
5.2.2.2.35
5.2.2.2.35
5.2.2.2.35
5.2.2.2.35 AT+FUDLX
AT+DOMAIN
AT+DOMAIN
AT+DOMAIN
Function: Set/Query domain of module webpage;
Format
Query Operation
AT+DOMAIN<CR>
AT+DOMAIN<CR>
AT+DOMAIN<CR>
AT+DOMAIN<CR>
+ok=<domian><CR><LF><CR><LF>
+ok=<domian><CR><LF><CR><LF>
+ok=<domian><CR><LF><CR><LF>
+ok=<domian><CR><LF><CR><LF>
Set Operation
AT+DOMAIN=<domain><CR>
AT+DOMAIN=<domain><CR>
AT+DOMAIN=<domain><CR>
AT+DOMAIN=<domain><CR>
+ok<CR><LF><CR><LF>
+ok<CR><LF><CR><LF>
+ok<CR><LF><CR><LF>
+ok<CR><LF><CR><LF>
Parameters:
domain: domain to access to module webpage
AT+FUDLX
AT+FUDLX
AT+FUDLX
Function: Enable/Disable 485 function;
Format:
Query Operation
AT+F
UDLX
AT+F
UDLX
AT+F
AT+F UDLX
UDLX <CR>
+ok=<on/off><CR><LF><CR><LF>
+ok=<on/off><CR><LF><CR><LF>
+ok=<on/off><CR><LF><CR><LF>
+ok=<on/off><CR><LF><CR><LF>
Set Operation
AT+F
UDLX
AT+F
UDLX
AT+F
AT+F UDLX
UDLX =<on/off><CR>
+ok<CR><LF><CR><LF>
+ok<CR><LF><CR><LF>
+ok<CR><LF><CR><LF>
+ok<CR><LF><CR><LF>
Parameters:
On/off: Enable or Disable 485 function
On, enable 485 function;
Off, disable 485 function;
<CR>
<CR>
<CR>
=<on/off><CR>
=<on/off><CR>
=<on/off><CR>
Jinan USR IOT Technology Limited Page
67
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Notes: AT+F UDLX is F-Setting, means restore to factory setting will not affect this command.
5.2.2.2.36
5.2.2.2.36
5.2.2.2.36
5.2.2.2.36 AT+
After USR-WIFI232-A/B/C module boots up again, the setting will be effective.
5.2.2.2.37
5.2.2.2.37
5.2.2.2.37
5.2.2.2.37 AT+IDFIR
5.2.2.2.38
5.2.2.2.38
5.2.2.2.38
5.2.2.2.38 AT+IDEVE
AT+
MMID
AT+
MMID
AT+ MMID
MMID
Function: Set/Query Device ID ;
Format:
Query Operation
AT+
MMID
AT+
AT+
AT+ MMID
+ok=<time><CR><
+ok=<time><CR><
+ok=<time><CR><
+ok=<time><CR>< LF
Set Operation
AT+
AT+
AT+
AT+ MMID
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
ID : device id(0~65535)
Function: Enable/Disable “ Send an ID when module connection is established ” function;
Format:
Query Operation
AT+
AT+
AT+
AT+ IDFIR
+ok=<on/off><CR><LF><CR><LF>
+ok=<on/off><CR><LF><CR><LF>
+ok=<on/off><CR><LF><CR><LF>
+ok=<on/off><CR><LF><CR><LF>
Set Operation
AT+
AT+
AT+
AT+ IDFIR
+ok<CR><LF><CR><LF>
+ok<CR><LF><CR><LF>
+ok<CR><LF><CR><LF>
+ok<CR><LF><CR><LF>
Parameters:
On/off: Enable or Disable “ Send an ID when module connection is established ”
Function: Enable/Disable Every time to send data to send ID function;
Format:
Query Operation
AT+
AT+
AT+
AT+ IDEVE
+ok=<on/off><CR><LF><CR><LF>
+ok=<on/off><CR><LF><CR><LF>
+ok=<on/off><CR><LF><CR><LF>
+ok=<on/off><CR><LF><CR><LF>
Set Operation
AT+
AT+
AT+
AT+ IDEVE
+ok<CR><LF><CR><LF>
+ok<CR><LF><CR><LF>
+ok<CR><LF><CR><LF>
+ok<CR><LF><CR><LF>
Parameters:
On/off: Enable or Disable Every time to send data to send ID function
<CR>
MMID
<CR>
MMID <CR>
<CR>
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
MMID
=<time><CR>
MMID
=<time><CR>
MMID =<time><CR>
=<time><CR>
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
AT+IDFIR
AT+IDFIR
AT+IDFIR
IDFIR
<CR>
IDFIR
<CR>
IDFIR <CR>
<CR>
IDFIR
=<on/off><CR>
IDFIR
=<on/off><CR>
IDFIR =<on/off><CR>
=<on/off><CR>
function
On, enable “ Send an ID when module connection is established ” function;
Off, disable “ Send an ID when module connection is established ” function;
AT+IDEVE
AT+IDEVE
AT+IDEVE
IDEVE
IDEVE
IDEVE <CR>
IDEVE
IDEVE
IDEVE =<on/off><CR>
<CR>
<CR>
<CR>
=<on/off><CR>
=<on/off><CR>
=<on/off><CR>
On, enable Every time to send data to send ID function;
Off, disable Every time to send data to send ID function;
LF
LF
LF >
LF
>
LF
>
LF >
>
>
>
>
Note: The ID function requires that the server carries out corresponding processing. I n front of the
data when module connected to the server with two bytes of ID (ID the range is 0 ~ 65535, the
high byte before, and the low byte behind) plus two bytes ID radix-minus-one
Jinan USR IOT Technology Limited Page
68
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
complement.Module is the default ID is
1111,
for example, is sent to the server when the first four
bytes "0x57 0x04 0xfb 0 xa8".
5.2.2.2.39
5.2.2.2.39
5.2.2.2.39
5.2.2.2.39 AT+AABR
AT+AABR
AT+AABR
AT+AABR
Function: Enable/Disable Self-adaption Baudrate function;
Format:
Query Operation
AT+
AABR
AT+
AT+
AT+ AABR
+ok=<on/off><CR><LF><CR><LF>
+ok=<on/off><CR><LF><CR><LF>
+ok=<on/off><CR><LF><CR><LF>
+ok=<on/off><CR><LF><CR><LF>
Set Operation
AT+
AT+
AT+
AT+ AABR
+ok<CR><LF><CR><LF>
+ok<CR><LF><CR><LF>
+ok<CR><LF><CR><LF>
+ok<CR><LF><CR><LF>
Parameters:
On/off: Enable or Disable Self-adaption Baudrate function
<CR>
AABR
<CR>
AABR <CR>
<CR>
AABR
=<on/off><CR>
AABR
=<on/off><CR>
AABR =<on/off><CR>
=<on/off><CR>
On, enable Self-adaption Baudrate function;
Off, disable Self-adaption Baudrate function;
5.2.2.2.40
5.2.2.2.40
5.2.2.2.40
5.2.2.2.40 AT+RELD
This command restores the module to factory default setting, and then re-starts the module.
5.2.2.2.41
5.2.2.2.41
5.2.2.2.41
5.2.2.2.41 AT+Z
5.2.2.2.42
5.2.2.2.42
5.2.2.2.42
5.2.2.2.42 AT+MID
5.2.2.2.43
5.2.2.2.43
5.2.2.2.43
5.2.2.2.43 AT+VER
5.2.2.2.44
5.2.2.2.44
5.2.2.2.44
5.2.2.2.44 AT+H
AT+RELD
AT+RELD
AT+RELD
Function: Restore to factory default setting;
Format:
AT+
RELD<CR>
AT+
RELD<CR>
AT+
AT+ RELD<CR>
RELD<CR>
+ok=rebooting
+ok=rebooting
+ok=rebooting
+ok=rebooting …
AT+Z
AT+Z
AT+Z
Function: Re-start module;
Format:
AT+
Z<CR>
AT+
Z<CR>
AT+
AT+ Z<CR>
Z<CR>
AT+MID
AT+MID
AT+MID
Function: Query module ID information;
Format:
Query Operation
AT+MID<CR>
AT+MID<CR>
AT+MID<CR>
AT+MID<CR>
+ok=<module_id><CR><
+ok=<module_id><CR><
+ok=<module_id><CR><
+ok=<module_id><CR>< LF
Parameters:
module_id: MID information;
A11-yymmddnnnn “ yymmdd ” date; “ nnnn ” serial number;
AT+VER
AT+VER
AT+VER
Function: Query module software version information;
Format:
Query Operation
AT+VER<CR>
AT+VER<CR>
AT+VER<CR>
AT+VER<CR>
+ok=<ver><CR><
+ok=<ver><CR><
+ok=<ver><CR><
+ok=<ver><CR>< LF
Parameters:
ver: Module software version information;
AT+H
AT+H
AT+H
Function: Help;
…
<CR><
…
<CR><
… <CR><
<CR>< LF
LF
LF
LF ><CR><
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
LF
LF
LF ><CR><
><CR><
><CR><
><CR>< LF
><CR><
><CR><
><CR>< LF
LF
>
LF
>
LF >
>
LF
LF
LF >
LF
LF
LF >
>
>
>
>
>
>
Jinan USR IOT Technology Limited Page
69
93
of
tec@usr.cn
Format:
Query Operation
AT+H<CR>
AT+H<CR>
AT+H<CR>
AT+H<CR>
+ok=<comm
+ok=<comm
+ok=<comm
+ok=<comm and
Parameters:
comm an d help: command introduction;
5.2.2.2.45
5.2.2.2.45
5.2.2.2.45
5.2.2.2.45 AT+
AT+HTTPURL<CR>
AT+HTTPURL<CR>
AT+HTTPURL<CR>
AT+HTTPURL<CR>
+ok=<IP,Port><CR><
+ok=<IP,Port><CR><
+ok=<IP,Port><CR><
+ok=<IP,Port><CR>< LF
AT+HTTPURL=<IP,Port><CR>
AT+HTTPURL=<IP,Port><CR>
AT+HTTPURL=<IP,Port><CR>
AT+HTTPURL=<IP,Port><CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Port : HTTP server Port number 。
5.2.2.2.46
5.2.2.2.46
5.2.2.2.46
5.2.2.2.46 AT+
AT+HTTPTP<CR>
AT+HTTPTP<CR>
AT+HTTPTP<CR>
AT+HTTPTP<CR>
+ok=<Type><CR><
+ok=<Type><CR><
+ok=<Type><CR><
+ok=<Type><CR>< LF
AT+HTTPTP=<Type><CR>
AT+HTTPTP=<Type><CR>
AT+HTTPTP=<Type><CR>
AT+HTTPTP=<Type><CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Type : GET(default) or POST .
5.2.2.2.47
5.2.2.2.47
5.2.2.2.47
5.2.2.2.47 AT+
AT+HTTPPH<CR>
AT+HTTPPH<CR>
AT+HTTPPH<CR>
AT+HTTPPH<CR>
+ok=<Path><CR><
+ok=<Path><CR><
+ok=<Path><CR><
+ok=<Path><CR>< LF
AT+HTTPPH=<Path><CR>
AT+HTTPPH=<Path><CR>
AT+HTTPPH=<Path><CR>
AT+HTTPPH=<Path><CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
5.2.2.2.48
5.2.2.2.48
5.2.2.2.48
5.2.2.2.48 AT+
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
and
help><CR><
and
help><CR><
and help><CR><
help><CR>< LF
AT+
HTTPURL
AT+
HTTPURL
AT+ HTTPURL
HTTPURL
Function:Set /Query HTTP server IP address and Port Number.
Format:
Query Operation:
Set Operation:
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
Parameters:
IP:HTTP server IP address.
AT+
HTTPTP
AT+
HTTPTP
AT+ HTTPTP
HTTPTP
Function: Set /Query HTTP request type.
Format:
Query Operation:
LF
LF
LF ><CR><
Set Operation:
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
Parameters:
AT+
HTTPPH
AT+
HTTPPH
AT+ HTTPPH
HTTPPH
Function:Set/Query HTTP protocol header path.
Format:
Query Operation:
LF
LF
LF ><CR><
Set Operation:
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
Parameters:
Path: Max length is 50 bytes.
AT+
HTTPCN
AT+
HTTPCN
AT+ HTTPCN
HTTPCN
Function:Set/Query Connection of HTTP protocol header.
Format:
Query Operation:
LF
LF
LF ><CR><
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
LF
>
LF
>
LF >
>
><CR><
><CR><
><CR>< LF
LF
>
LF
>
LF >
>
><CR><
><CR><
><CR>< LF
LF
>
LF
>
LF >
>
><CR><
><CR><
><CR>< LF
LF
LF
LF >
LF
>
LF
>
LF >
>
LF
>
LF
>
LF >
>
LF
>
LF
>
LF >
>
>
>
>
Jinan USR IOT Technology Limited Page
70
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
AT+HTTPCN<CR>
AT+HTTPCN<CR>
AT+HTTPCN<CR>
AT+HTTPCN<CR>
+ok=<Connection><CR><
+ok=<Connection><CR><
+ok=<Connection><CR><
+ok=<Connection><CR>< LF
Set Operation:
AT+HTTPCN=<Connection><CR>
AT+HTTPCN=<Connection><CR>
AT+HTTPCN=<Connection><CR>
AT+HTTPCN=<Connection><CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
Connection: Max length is 20 bytes.
5.2.2.2.49
5.2.2.2.49
5.2.2.2.49
5.2.2.2.49 AT+
5.2.2.2.50
5.2.2.2.50
5.2.2.2.50
5.2.2.2.50 AT+WSSSID
This Instruction only effective for USR-WIFI232-A/B/C works as STA. After USR-WIFI232-A/B/C
module boots up again, the setting will be effective. But user can set this command when module
configured as
5.2.2.2.51
5.2.2.2.51
5.2.2.2.51
5.2.2.2.51 AT+WSSSID
AT+
AT+
AT+ HTTPUA
Function:Set/Query User-Agent of HTTP protocol header.
Format:
Query Operation:
AT+HTTPUA<CR>
AT+HTTPUA<CR>
AT+HTTPUA<CR>
AT+HTTPUA<CR>
+ok=<Parameter><CR><
+ok=<Parameter><CR><
+ok=<Parameter><CR><
+ok=<Parameter><CR>< LF
Set Operation:
AT+HTTPUA=<Parameter><CR>
AT+HTTPUA=<Parameter><CR>
AT+HTTPUA=<Parameter><CR>
AT+HTTPUA=<Parameter><CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
Parameter: Max length is 20 bytes.
AT+WSSSID
AT+WSSSID
AT+WSSSID A
Function:
Format:
Query Operation
AT+WSSSID
AT+WSSSID
AT+WSSSID
AT+WSSSID A
+ok=<ap
+ok=<ap
+ok=<ap
+ok=<ap
Set Operation
AT+
WSSSID
AT+
WSSSID
AT+
AT+ WSSSID
WSSSID A
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
ap ’ s ssid: AP ’ s SSID
AP.
AT+WSSSID
AT+WSSSID
AT+WSSSID B
Function:
Format:
Query Operation
AT+WSSSID
AT+WSSSID
AT+WSSSID
AT+WSSSID B
+ok=<ap
+ok=<ap
+ok=<ap
+ok=<ap
Set Operation
AT+
WSSSID
AT+
WSSSID
AT+
AT+ WSSSID
WSSSID B
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
ap ’ s ssid: AP ’ s SSID
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
HTTPUA
HTTPUA
HTTPUA
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
A
A
A
Set/query the first AP ‘ s ssid of 3 sta parameters settings .
A
<CR>
A
<CR>
A <CR>
<CR>
’
s
ssid><CR><
’
s
ssid><CR><
’
’
s
s ssid><CR><
ssid><CR>< LF
A
=<ap
A
=<ap
A =<ap
=<ap ’
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
B
B
B
LF
LF
LF ><CR><
’
s
ssid
’
s
ssid
’ s
s ssid
ssid ><CR>
LF
LF
LF >
Set/query the second AP ‘ s ssid of 3 sta parameters settings .
B
<CR>
B
<CR>
B <CR>
<CR>
’
s
ssid><CR><
’
s
ssid><CR><
’
’
s
s ssid><CR><
ssid><CR>< LF
B
=<ap
B
=<ap
B =<ap
=<ap ’
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
LF
LF
LF ><CR><
’
s
ssid
’
s
ssid
’ s
s ssid
ssid ><CR>
LF
LF
LF >
LF
LF
LF ><CR><
LF
>
LF
>
LF >
>
LF
LF
LF ><CR><
LF
>
LF
>
LF >
>
><CR><
><CR><
><CR>< LF
><CR>
><CR>
><CR>
>
>
>
><CR><
><CR><
><CR>< LF
><CR>
><CR>
><CR>
>
>
>
><CR><
><CR><
><CR>< LF
><CR><
><CR><
><CR>< LF
LF
>
LF
>
LF >
>
LF
>
LF
>
LF >
>
LF
LF
LF >
LF
LF
LF >
>
>
>
>
>
>
Jinan USR IOT Technology Limited Page
71
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
This Instruction only effective for USR-WIFI232-A/B/C works as STA. After USR-WIFI232-A/B/C
module boots up again, the setting will be effective. But user can set this command when module
configured as
5.2.2.2.52
5.2.2.2.52
5.2.2.2.52
5.2.2.2.52 AT+WSSSID
This Instruction only effective for USR-WIFI232-A/B/C works as STA. After USR-WIFI232-A/B/C
module boots up again, the setting will be effective. But user can set this command when module
configured as
5.2.2.2.53
5.2.2.2.53
5.2.2.2.53
5.2.2.2.53 AT+WSKEY
AP.
AT+WSSSID
AT+WSSSID
AT+WSSSID C
Function:
Format:
Query Operation
AT+WSSSID
AT+WSSSID
AT+WSSSID
AT+WSSSID C
+ok=<ap
+ok=<ap
+ok=<ap
+ok=<ap
Set Operation
AT+
WSSSID
AT+
WSSSID
AT+
AT+ WSSSID
WSSSID C
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
ap ’ s ssid: AP ’ s SSID
AP.
AT+WSKEY
AT+WSKEY
AT+WSKEY A
Function:
Format:
Set/query the third AP ‘ s ssid of 3 sta parameters settings .
’
s
ssid><CR><
’
s
ssid><CR><
’
’
s
s ssid><CR><
ssid><CR>< LF
LF
LF
LF ><CR><
Set/query the first AP ‘ s password of 3 sta parameters settings .
C
C
C
C
<CR>
C
<CR>
C <CR>
<CR>
C
=<ap
C
=<ap
C =<ap
=<ap ’
><CR><
><CR><
><CR>< LF
A
A
A
LF
LF
LF ><CR><
’
s
ssid
’
s
ssid
’ s
s ssid
ssid ><CR>
LF
LF
LF >
><CR><
><CR><
><CR>< LF
><CR>
><CR>
><CR>
>
>
>
LF
LF
LF >
>
>
>
Query Operation
AT+WSKEY
AT+WSKEY
AT+WSKEY
AT+WSKEY A
+ok=<auth,encry,key><CR><
+ok=<auth,encry,key><CR><
+ok=<auth,encry,key><CR><
+ok=<auth,encry,key><CR>< LF
Set Operation
AT+
WSKEY
AT+
WSKEY
AT+
AT+ WSKEY
WSKEY A
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
auth: Authentication mode
encry:Encryption algorithm
key: password, ASCII code, shall less than 64 bit and greater than 8bit
This Instruction only effective for USR-WIFI232-A/B/C works as STA. After USR-WIFI232-A/B/C
module boots up again, the setting will be effective. But user can set this command when module
configured as
5.2.2.2.54
5.2.2.2.54
5.2.2.2.54
5.2.2.2.54 AT+WSKEY
AP.
AT+WSKEY
AT+WSKEY
AT+WSKEY B
Function:
Format:
Query Operation
A
<CR>
A
<CR>
A <CR>
<CR>
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
A
=<
auth,encry,key><CR>
A
=<
auth,encry,key><CR>
A =<
=< auth,encry,key><CR>
auth,encry,key><CR>
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
OPEN
SHARED
WPAPSK
NONE: When “ auth=OPEN ” , effective
WEP: When “ auth=OPEN ” or “ SHARED ” , effective
TKIP: When ” auth= WPAPSK ” , effective
AES: When “ auth= WPAPSK ” , effective
B
B
B
LF
LF
LF >
>
>
>
LF
LF
LF >
>
>
>
Set/query the second AP ‘ s password of 3 sta parameters settings .
Jinan USR IOT Technology Limited Page
72
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
AT+WSKEY
AT+WSKEY
AT+WSKEY
AT+WSKEY B
+ok=<auth,encry,key><CR><
+ok=<auth,encry,key><CR><
+ok=<auth,encry,key><CR><
+ok=<auth,encry,key><CR>< LF
Set Operation
AT+
WSKEY
AT+
WSKEY
AT+
AT+ WSKEY
WSKEY B
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
auth: Authentication mode
encry:Encryption algorithm
key: password, ASCII code, shall less than 64 bit and greater than 8bit
This Instruction only effective for USR-WIFI232-A/B/C works as STA. After USR-WIFI232-A/B/C
module boots up again, the setting will be effective. But user can set this command when module
configured as
5.2.2.2.55
5.2.2.2.55
5.2.2.2.55
5.2.2.2.55 AT+WSKEY
AP.
AT+WSKEY
AT+WSKEY
AT+WSKEY C
Function:
Format:
Query Operation
B
<CR>
B
<CR>
B <CR>
<CR>
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
B
=<
auth,encry,key><CR>
B
=<
auth,encry,key><CR>
B =<
=< auth,encry,key><CR>
auth,encry,key><CR>
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
OPEN
SHARED
WPAPSK
NONE: When “ auth=OPEN ” , effective
WEP: When “ auth=OPEN ” or “ SHARED ” , effective
TKIP: When ” auth= WPAPSK ” , effective
AES: When “ auth= WPAPSK ” , effective
C
C
C
LF
LF
LF >
>
>
>
LF
LF
LF >
>
>
>
Set/query the third AP ‘ s password of 3 sta parameters settings .
AT+WSKEY
AT+WSKEY
AT+WSKEY
AT+WSKEY C
+ok=<auth,encry,key><CR><
+ok=<auth,encry,key><CR><
+ok=<auth,encry,key><CR><
+ok=<auth,encry,key><CR>< LF
Set Operation
AT+
WSKEY
AT+
WSKEY
AT+
AT+ WSKEY
WSKEY C
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
auth: Authentication mode
encry:Encryption algorithm
key: password, ASCII code, shall less than 64 bit and greater than 8bit
This Instruction only effective for USR-WIFI232-A/B/C works as STA. After USR-WIFI232-A/B/C
module boots up again, the setting will be effective. But user can set this command when module
configured as
AP.
C
<CR>
C
<CR>
C <CR>
<CR>
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
C
=<
auth,encry,key><CR>
C
=<
auth,encry,key><CR>
C =<
=< auth,encry,key><CR>
auth,encry,key><CR>
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
OPEN
SHARED
WPAPSK
NONE: When “ auth=OPEN ” , effective
WEP: When “ auth=OPEN ” or “ SHARED ” , effective
TKIP: When ” auth= WPAPSK ” , effective
AES: When “ auth= WPAPSK ” , effective
LF
LF
LF >
>
>
>
LF
LF
LF >
>
>
>
Jinan USR IOT Technology Limited Page
73
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
5.2.2.2.56
5.2.2.2.56
5.2.2.2.56
5.2.2.2.56 AT+
AT+
WS
AT+
WS
AT+ WS
WS QY
Function:
Format:
Query Operation
AT+
WS
QY
AT+
WS
AT+
AT+ WS
WS QY
+ok=<ret><CR><
+ok=<ret><CR><
+ok=<ret><CR><
+ok=<ret><CR>< LF
Set Operation
AT+
WS
AT+
WS
AT+
AT+ WS
WS QY=
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
r et :
<CR>
QY
<CR>
QY <CR>
<CR>
QY=
QY=
QY= <
LF
LF
LF ><CR><
The percentage of signal intensity, such as signalstrength was 50%, setting
QY
QY
QY
Set /query the critiacl value of network switching .
LF
LF
LF ><CR><
<
ret><CR>
<
ret><CR>
< ret><CR>
ret><CR>
><CR><
><CR><
><CR>< LF
><CR><
><CR><
><CR>< LF
LF
LF
LF >
LF
>
LF
>
LF >
>
>
>
>
should be AT+WS QY =50<CR> ;
Note: if set to 100, the module will not automatically switch WIFI network.If the users only one
STA
parameter, please be sure to set this parameter to 100.
5.2.2.2.57
5.2.2.2.57
5.2.2.2.57
5.2.2.2.57 AT+
5.2.2.2.58
5.2.2.2.58
5.2.2.2.58
5.2.2.2.58 AT+
AT+
HTPMODE
AT+
HTPMODE
AT+ HTPMODE
HTPMODE
Function:
Format:
Query Operation
AT+
HTPMODE
AT+
HTPMODE
AT+
AT+ HTPMODE
HTPMODE <CR>
+ok=<
+ok=<
+ok=<
+ok=< type
Set Operation
AT+
HTPMODE=
AT+
HTPMODE=
AT+
AT+ HTPMODE=
HTPMODE= <
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
type:
AT+
AT+
AT+ HT
Function:Set /Query HTTP server IP address and Port Number.
Format:
AT+HT
AT+HT
AT+HT
AT+HT PSV
+ok=<IP,Port><CR><
+ok=<IP,Port><CR><
+ok=<IP,Port><CR><
+ok=<IP,Port><CR>< LF
AT+HT
AT+HT
AT+HT
AT+HT PSV
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
The switch of new/old HTTP headers setting mode(HTTPD Client).
<CR>
<CR>
<CR>
type
><CR><
type
><CR><
type ><CR><
><CR>< LF
LF
LF
LF ><CR><
new:
old:
HT
PSV
HT
PSV
HT PSV
PSV
LF
LF
LF ><CR><
<
type
<
type
< type
type ><CR>
><CR><
><CR><
><CR>< LF
><CR><
><CR><
><CR>< LF
><CR>
><CR>
><CR>
LF
LF
LF >
LF
>
LF
>
LF >
>
>
>
>
The new HTTP headers setting mode.
The old HTTP headers setting mode.
Query Operation:
PSV
<CR>
PSV
<CR>
PSV <CR>
<CR>
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
LF
LF
LF >
>
>
>
Set Operation:
PSV
=<IP,Port><CR>
PSV
=<IP,Port><CR>
PSV =<IP ,Port><CR>
=<IP,Port><CR>
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
LF
LF
LF >
>
>
>
IP:HTTP server IP address.
Port : HTTP server Port number 。
5.2.2.2.59
5.2.2.2.59
5.2.2.2.59
5.2.2.2.59 AT+
AT+
HTPTP
AT+
HTPTP
AT+ HTPTP
HTPTP
Function: Set /Query HTTP request type.
Format:
Query Operation:
AT+HTPTP<CR>
AT+HTPTP<CR>
AT+HTPTP<CR>
AT+HTPTP<CR>
Jinan USR IOT Technology Limited Page
74
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
+ok=<Type><CR><
+ok=<Type><CR><
+ok=<Type><CR><
+ok=<Type><CR>< LF
Set Operation:
AT+HTPTP=<Type><CR>
AT+HTPTP=<Type><CR>
AT+HTPTP=<Type><CR>
AT+HTPTP=<Type><CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
LF
LF
LF ><CR><
LF
LF
LF ><CR><
><CR><
><CR><
><CR>< LF
><CR><
><CR><
><CR>< LF
LF
>
LF
>
LF >
>
LF
LF
LF >
>
>
>
Type : GET(default) or POST .
5.2.2.2.60
5.2.2.2.60
5.2.2.2.60
5.2.2.2.60 AT+
5.2.2.2.61
5.2.2.2.61
5.2.2.2.61
5.2.2.2.61 AT+
AT+
HTP
AT+
AT+ HTP
Function:Set/Query HTTP header path.
Format:
AT+HT
AT+HT
AT+HT
AT+HT PURL
+ok=<Path><CR><
+ok=<Path><CR><
+ok=<Path><CR><
+ok=<Path><CR>< LF
AT+HT
AT+HT
AT+HT
AT+HT PURL
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
AT+
AT+
AT+ HTP
Function:Set/Query HTTP header.
Format:
AT+HT
AT+HT
AT+HT
AT+HT PHEAD
+ok=<
+ok=<
+ok=<
+ok=< head
AT+HT
AT+HT
AT+HT
AT+HT PHEAD
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
URL
HTP
URL
HTP URL
URL
Query Operation:
PURL
<CR>
PURL
<CR>
PURL <CR>
<CR>
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
Set Operation:
PURL
=<Path><CR>
PURL
=<Path><CR>
PURL =<Path><CR>
=<Path><CR>
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
LF
LF
LF >
Path: Max length is 50 bytes.
HTP
HEAD
HTP
HEAD
HTP HEAD
HEAD
Query Operation:
PHEAD
PHEAD
PHEAD <CR>
head
head
head ><CR><
<CR>
<CR>
<CR>
><CR><
><CR><
><CR>< LF
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
Set Operation:
PHEAD
PHEAD
PHEAD =<
=<
head
=<
head
=< head
head ><CR>
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
><CR>
><CR>
><CR>
LF
LF
LF >
head : HTTP header ,Please use the "<<CRLF>>" instead of carriage
LF
>
LF
>
LF >
>
>
>
>
LF
>
LF
>
LF >
>
>
>
>
"return",Max length:200 bytes .
Note: the
AT
command of
AT
+ HTPMODE,
AT
+ HTPSV,
HTPHEAD is supported in V5.01.14 and above version.
5.2.2.2.62
5.2.2.2.62
5.2.2.2.62
5.2.2.2.62 AT+
AT+
REGEN
AT+
REGEN
AT+ REGEN
REGEN
Function:
Format:
Query Operation
AT+
REGEN
AT+
REGEN
AT+
AT+ REGEN
REGEN <CR>
+ok=<
mode
+ok=<
mode
+ok=<
+ok=< mode
mode ><CR><
Set Operation
AT+
REGEN=
AT+
REGEN=
AT+
AT+ REGEN=
REGEN= <
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
mode:
id:
mac:
Settings/query Registered Package Type.
<CR>
<CR>
<CR>
><CR><
><CR><
><CR>< LF
<
<
< mode
LF
LF
LF ><CR><
LF
LF
LF ><CR><
mode
><CR>
mode
><CR>
mode ><CR>
><CR>
><CR><
><CR><
><CR>< LF
><CR><
><CR><
><CR>< LF
LF
>
LF
>
LF >
>
LF
LF
LF >
>
>
>
Registered package of ID .
Registered package of MAC.
AT
+ HTPTP,
AT
+ HTPURL,AT +
Jinan USR IOT Technology Limited Page
75
93
of
tec@usr.cn
5.2.2.2.63
5.2.2.2.63
5.2.2.2.63
5.2.2.2.63 AT+
Function:
Format:
Query Operation
AT+
AT+
AT+
AT+ REGTCP
+ok=<
+ok=<
+ok=<
+ok=< type
Set Operation
AT+
AT+
AT+
AT+ REGTCP=
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
type:
5.2.2.2.64
5.2.2.2.64
5.2.2.2.64
5.2.2.2.64 AT+
Function:
Format:
Query Operation
AT+
AT+
AT+
AT+ REGID
+ok=<
+ok=<
+ok=<
+ok=< ID
Set Operation
AT+
AT+
AT+
AT+ REGID=
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
Parameters:
ID:
Note: the
above version.
AT
command of
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
off : disable Registered package
AT+
REGTCP
AT+
REGTCP
AT+ REGTCP
REGTCP
Settings/query Upload Manner.
REGTCP
REGTCP
REGTCP <CR>
type
type
type ><CR><
REGTCP=
REGTCP=
REGTCP= <
first:
every:
AT+
AT+
AT+ REGID
REGID
REGID
REGID <CR>
ID
ID
ID ><CR><
REGID=
REGID=
REGID= <
<CR>
<CR>
<CR>
><CR><
><CR><
><CR>< LF
LF
LF
LF ><CR><
REGID
REGID
REGID
Settings/query Device ID .
<CR>
<CR>
<CR>
><CR><
><CR><
><CR>< LF
<
<
< ID
LF
LF
LF ><CR><
ID number, the range is 0 to 65535
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
<
type
><CR>
<
type
><CR>
< type
type ><CR>
><CR>
><CR><
><CR><
><CR>< LF
Module send registration packet when connection established .
ID
><CR>
ID
><CR>
ID ><CR>
><CR>
><CR><
><CR><
><CR>< LF
AT
LF
LF
LF >
Send registration packet every time when module send data .
LF
><CR><
LF
><CR><
LF ><CR><
><CR>< LF
LF
LF
LF >
+ REDEN ,
>
>
>
LF
LF
LF >
>
>
>
AT
LF
LF
LF >
>
>
>
+ REGTCP ,
>
>
>
AT
+ REGID is supported in V5.01.14 and
6
USR-WIFI232-A/B/C
6
USR-WIFI232-A/B/C
6
6 USR-WIFI232-A/B/C
USR-WIFI232-A/B/C Usage
6.1
M
6.1
6.1
6.1 M
odule
M
odule
M odule
odule D
D
ebug
D
ebug
D ebug
ebug
Usage
Usage
Usage Introduction
Introduction
Introduction
Introduction
6.1.1 Software Debug Tools
In order to facilitate the use of my company, development of the serial and network debugging two-
in-one test software, USR-TCP232-Test
76
Jinan USR IOT Technology Limited Page
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
6.1.2 Network Connection
In order to test the serial port to the WIFI network address conversion, we will module serial connected
with the computer, network and computer links to WIFI.
Due to the need to have both a WIFI and serial special requirements, only a minority of the notebook
computer can achieve, the user can use the desktop with a USB card, or use the notebook computer
with a USB to serial line way, the author uses the desktop and WIFI card form test, desktop with serial.
( Note: there USB transfer RS232 the line quality uneven, some good and some bad, in order not to
waste your valuable time, look for buying a used FT232 chip scheme suggested switching line, about
the price $ 10 )
Connection
Figure 50 Connection
On the serial connection, module pin leads to 3.3V TTL level, not directly connected with the computer,
need to bring the bottom or users are TTL to RS232 connecting line connected to the computer, in
order to facilitate the user to test the use of, we provide a variety of floor for the user to choose, here in
the case of USR-WIFI232-2 .
Hardware connectivity, for module power supply, the red power indicator light, wait about 6 seconds
( internal system boot ), Ready lights, said system startup complete, can operate, entering the next
step.
Connection
Connection diagram
diagram
diagram
diagram
6.1.3 Debug
As shown above, opened in PC program, set the COM export and open the serial port connection
Jinan USR IOT Technology Limited Page
77
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
“
CommTools
“
Figure 51 “
Open test software USR-TCP232-Test.exe, selection of hardware attached to the computer's serial
number, this is COM 1 , choose 57600 baud rate, such as the WIFI module serial default baud rate,
open the serial port.
Network settings in TCP client mode, the server IP address input 10.10.100.254, this is WIFI module
default IP address, server port number 8899, this module default monitor TCP port number, click the
link to establish TCP connection ,Then click the create connection.
CommTools
“ CommTools
CommTools ”
”
Serial
”
Serial
” Serial
Serial Debug
Debug
Debug
Debug Tools
Tools
Tools
Tools
“
TCP
UDP
“
TCP
Figure 52 “
Jinan USR IOT Technology Limited Page
“ TCP
TCP UDP
UDP
UDP Dbg
Dbg
Dbg
Dbg ”
78
”
Tools
”
Tools
” Tools
Tools Create
93
of
Create
Create
Create Connection
Connection
Connection
Connection
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Because of the USR-WIFI232-A/B/C module default support for transparent transmission mode, so
now you can debug tools two-way data, all data will be wholly intact transmission to the other side of
display. The testing process can be seen in module TXD and RXD indicator lights in the data through
the flashing.
The
test
Figure 53 The
Note
Note
Note
Note : because of the RTS/CTS pin processing difference, currently available on the part of the
serial debugging software for the module of the system is not available, please be sure to want to
use USR-TCP232-Test we provide testing, or just RXD TXD GND connected the three line to the
computer, please notice .
6.2
Use
6.2
6.2
6.2 Use
Cases
Use
Cases
Use Cases
Cases
The
The test
results
test
results
test results
results show
show
that
show
that
show that
that the
the
network
the
network
the network
network and
and
serial
and
serial
and serial
serial port
port
port
port
6.2.1 Wireless Control Application
AP SSID
WIFI
:
USR
-
232
-
AP
_
xxxx
UART
User Device
Jinan USR IOT Technology Limited Page
USR-WIFI
232
- A / B / C
79
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Wireless
Figure 54 Wireless
For this wireless control application, USR-WIFI232-A/B/C works as AP mode. Module ’ s serial port
connects to user device. So, control agent (Smart phone for this example) can manage and control the
user device through the wireless connection with USR-WIFI232-A/B/C module.
Wireless
Wireless Control
Control
Control
Control Application
Application
Application
Application
6.2.2 Remote Management Application
STA
UART
Internet
User
Device
USR-WIFI
A / B / C
232
-
STA
UART
User
Device
USR-WIFI
A / B / C
232
-
Remote
Figure 55 Remote
For this remote management application, USR-WIFI232-A/B/C works as
Internet through wireless
server at Internet. Module ’ s serial port connects to user device.
So, user device’s data or sampling information can send to remote TCP server for storage or
processing. Also remote TCP server can send command to control and manage the user device
through the wireless network.
AP.
Module configured as TCP Client and communicates with remote TCP
Remote
Remote Management
Management
Management
Management Application
Application
Application
Application
STA
mode and connects to
6.2.3 Transparent Serial Port Application
For this transparent serial port application, two USR-WIFI232-A/B/C modules connect as below figures
to build up a transparent serial port connection.
Jinan USR IOT Technology Limited Page
80
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
1 #
UART
User
Device
AP SSID:USR-WIFI
AP_xxxx
LAN IP:10.10.100.254
Net Prot:Tcp Server
Protocol Port:8899
USR-WIFI
232
-
232
-
A / B / C
Transparent
Figure 56 Transparent
For left side USR-WIFI232-A/B/C module, configured as AP mode and use default SSID and IP
address, network protocol configured as TCP/Server mode, and protocol port ID: 8899.
For right side USR-WIFI232-A/B/C module, configured as
( ” USR-WIFI232-A/B_xxxx ” for this example ) with left side USR-WIFI232-A/B/C module, enable
DHCP network and network protocol configured as TCP/Client mode, protocol port ID: 8899. T arget IP
address part setting the same IP address with left side USR-WIFI232-A/B/C module ( “ 10.10.100.254 ”
for this example).
Transparent
Transparent Serial
Serial
Serial
Serial Port
2 #
STA SSID:USR-WIFI
AP_xxxx
WAN IP:DHCP
Net Prot:Tcp client
10.10.100.254:8899
LAN IP:10.10.99.254
Port
Application
Port
Application
Port Application
Application
STA
mode and setting the same SSID
232
UART
-
USR-WIFI
A / B / C
User
Device
232
-
When right side USR-WIFI232-A/B/C boot up, it will find wireless AP (SSID : USR-WIFI232-A/B_xxxx
for this example) and open TCP/Client network protocol to connect with left side module ’ s TCP/Server.
All these operation will be automatic and after finished, the two user devices connected to USR-
WIFI232-A/B/C module through serial port can communicate each other and think the connection
between them is fully transparent.
Note:
LAN
IP
Note:
LAN
Note:
Note: LAN
LAN IP
to
10.10.99.254
to
10.10.99.254
to
to 10.10.99.254
10.10.99.254 (the
address
IP
address
IP address
address and
(the
(the
(the address
and
WAN
and
WAN
and WAN
WAN port
address
address
address get
get
get
get from
port
should
port
should
port should
should in
from
left
from
left
from left
left module
in
different
in
different
in different
different segment,
module
module
module WAN
WAN
WAN
WAN port
segment,
segment,
segment, as
port
DHCP
port
DHCP
port DHCP
DHCP is
as
picture
as
picture
as picture
picture shown,
is
10.10.100.xxx)
is
10.10.100.xxx)
is 10.10.100.xxx)
10.10.100.xxx)
shown,
shown,
shown, we
we
change
we
change
we change
change
6.2.4 Wireless Data Acquisition Card Application
For this wireless data acquisition card application, one PC works as data server and every data
acquisition card connects with a USR-WIFI232-A/B/C module to support wireless connection function.
Jinan USR IOT Technology Limited Page
81
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
IP
:
10.10.100.100
Net Prot
server
,
UART
:
tcp
8899
User
Device
STA SSID
:
USR-WIFI
AP_xxxx
LAN IP
WAN IP
Net Prot
:
10.10.99.254
:
10.10.100.101
:
tcp client
10.10.100.100:8899
232
USR-WIFI
-
,
AP SSID
:
USR-WIFI
AP_xxxx
LAN IP
Net Prot
:
10.10.100.254
:
tcp client
10.10.100.100:8899
232
-
A / B / C
232
-
,
UART
USR-WIFI
A / B / C
STA SSID
LAN IP
WAN IP
:
Net Prot
10.10.100.100:8899
User
Device
232
-
:
USR-WIFI
AP_xxxx
:
10.10.98.254
10.10.100.102
:
tcp client
UART
User
Device
232
-
,
Wireless
Figure 57 Wireless
As above figure, one USR-WIFI232-A/B/C configured as AP mode and all others configured as
mode. All USR-WIFI232-A/B/C which configured as
USR-WIFI232-A/B/C which configured as AP to make up a wires network.
Data server PC open TCP/Server protocol and all USR-WIFI232-A/B/C modules open TCP/Client
protocol. All data acquisition cards’data and sampling information can be transmitted to data server
PC for operation.
Wireless
Wireless Data
Data
Acquisition
Data
Acquisition
Data Acquisition
Acquisition Card
STA
and data server PC wireless connected to
Card
Application
Card
Application
Card Application
Application
STA
Jinan USR IOT Technology Limited Page
82
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Appendix
Appendix
Appendix
Appendix A
Q1:
Q1:
Q1:
Q1: How
protocol)
protocol)
protocol)
protocol) with
Network structure as below figure:
How
How
How to
with
with
with two
Module 1# Setting:
Works as AP mode;
LAN IP address: 10.10.100.254;
Network Protocal:TCP/Server, Port ID: 8899;
(Module default setting);
Module 2# Setting:
Works as
WAN connection type: DHCP or Static IP (For this example:10.10.100.100)
Network Protocal:TCP/Client, Port ID: 8899; Application IP address: Module 1# ’ s LAN
IP address (10.10.100.254);
Notes:
Notes:
Notes:
Notes: When module 2# works as
port. Module’s WAN IP address and LAN IP address shall be setting different segment.
So, module 2# ’ s LAN IP address must change to other segment; (For this sample, we
change to 10.10.99.254);
A
:
Questions
A
:
Questions
A :
: Questions
Questions and
to
configure
to
configure
to configure
configure transparent
two
two
two WIFI
STA
modules?
WIFI
modules?
WIFI
WIFI modules?
modules?
mode; --See “ Mode Selection Page ”
and
and
and Answers
transparent
transparent
transparent serial
STA
mode, module’s WiFi interface works as WAN
--See “ AP Interface Setting Page ”
Answers
Answers
Answers
serial
serial
serial port
--See “ Mode Selection Page ”
--See “ AP Interface Setting Page ”
-- See “ Application Setting Page ”
--See “ STA Interface Setting Page ”
-- See “ Application Setting Page ”
port
port
port application
application
application
application (TCP
(TCP
(TCP
(TCP
UART
User
Device
AP SSID:USR-WIFI
LAN IP:10.10.100.254
Net Prot:Tcp Server
Figure 58 Configure
1 #
232
AP_xxxx
Protocol Port:8899
USR-WIFI
232
-
A / B / C
Configure
Configure
Configure Transparent
STA SSID:USR-WIFI
Transparent
Transparent
Transparent Serial
Serial
Serial
Serial Port
2 #
AP_xxxx
WAN IP:DHCP
Net Prot:Tcp client
10.10.100.254:8899
LAN IP:10.10.99.254
Port
Connection
Port
Connection
Port Connection
Connection (TCP)
232
UART
-
USR-WIFI
(TCP)
(TCP)
(TCP)
A / B / C
232
User
Device
-
Jinan USR IOT Technology Limited Page
83
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Q2:
Where
Q2:
Q2:
Q2: Where
Page
Page
Page
Page ?
USR-WIFI232-A/B/C Wireless LAN IP address setting see “ AP Interface Setting Page ” as below
Where
Where to
Figure,
to
Set
to
Set
to Set
Set WIFI
WIFI
WIFI
WIFI Module
Module
Module
Module LAN
LAN
LAN
LAN IP
IP
IP
IP and
and
and
and WAN
WAN
WAN
WAN IP
IP
through
IP
through
IP through
through Web
Web
Web
Web
Module
Figure 59 Module
USR-WIFI232-A/B/C Wireless WAN IP address setting see “
Figure, User can set WAN connection type to DHCP and STA TIC
Figure 60 Module
Q3:
Q3:
Q3:
Q3: How
protocol)
protocol)
protocol)
protocol) with
Network structure as below figure:
How
How
How to
Module 1# Setting:
Module 2# Setting:
to
configure
to
configure
to configure
configure transparent
with
with
with two
Works as AP mode;
LAN IP address: 10.10.100.254;
Network Protocal:UDP, Port ID: 8899; Application IP address:10.10.100.100;
Works as
WAN connection type: Static IP (10.10.100.100)
Network Protocal:UDP, Port ID: 8899; Application IP address: Module 1# ’ s LAN IP
LAN IP address: 10.10.99.254 (Different net segment with WAN port)
two
WIFI
two
WIFI
two WIFI
WIFI modules?
STA
mode; --See “ Mode Selection Page ”
address (10.10.100.254);
transparent
transparent
transparent serial
modules?
modules?
modules?
Module
Module LAN
Module
Module
Module WAN
LAN
IP
LAN
IP
LAN IP
IP Setting
WAN
IP
WAN
IP
WAN IP
IP Setting
serial
serial
serial port
--See “ Mode Selection Page ”
--See “ AP Interface Setting Page ”
-- See “ Application Setting Page ”
--See “ STA Interface Setting Page ”
-- See “ Application Setting Page ”
Setting
Setting
Setting
STA
Interface Setting Page ” as below
IP.
Setting
Setting
Setting
port
port
port application
application
application
application (UDP
(UDP
(UDP
(UDP
Jinan USR IOT Technology Limited Page
84
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
--See “ AP Interface Setting Page ”
1 #
UART
User
Device
Figure 61 Configure
Q4:
Q4:
Q4:
Q4: Where
(TCP/UDP)?
(TCP/UDP)?
(TCP/UDP)?
(TCP/UDP)?
USR-WIFI232-A/B/C network protocol setting see “ Application Setting Page ” as below Figure,
Where
Where
Where to
Protocol: TCP Server
Only Port ID required: 8899 (Default)
USR-WIFI
232
-
A / B / C
AP SSID:USR-WIFI
AP_xxxx
LAN IP:10.10.100.254
Net Prot:UDP
10.10.100.100:8899
Configure
Configure
Configure Transparent
to
set
to
set
to set
set USR-WIFI232-A/B/C
USR-WIFI232-A/B/C
USR-WIFI232-A/B/C
USR-WIFI232-A/B/C module
232
-
Transparent
Transparent
Transparent Serial
2 #
USR-WIFI
STA SSID:USR-WIFI
10.10.100.254:8899
LAN IP:10.10.99.254
Serial
Serial
Serial Port
module
module
module network
232
-
A / B / C
AP_xxxx
WAN IP:DHCP
Net Prot:UDP
Port
Connection
Port
Connection
Port Connection
Connection (UDP)
UART
User
Device
232
-
(UDP)
(UDP)
(UDP)
network
network
network protocol
protocol
protocol
protocol
Module
Figure 62 Module
Protocol: TCP Client
Application IP address required: it ’s target TCP server ‘ s IP address;
Port ID required: 8899 (Default)
Figure 63 Module
Jinan USR IOT Technology Limited Page
Module
Module Network
Module
Module
Module Network
Network
Network
Network Protocols:
Protocols:
Protocols:
Protocols: TCP/Server
Network
Network
Network Protocol:
Protocol:
Protocol:
Protocol: TCP/Client
85
93
of
TCP/Server
TCP/Server
TCP/Server
TCP/Client
TCP/Client
TCP/Client
tec@usr.cn
Protocol: UDP
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
No Server/Client selection required;
Application IP address required: it’s target device ‘ s IP address;
Port ID required: 8899 (Default)
Module
Figure 64 Module
Q5:
How
Q5:
How
Q5:
Q5: How
How to
modules
modules
modules
modules all
Network structure as below figure:
Module 1# Setting: ( We use USR-WIFI232-A/B/C as AP for this example)
Module 2# Setting:
Module 3# Setting:
to
configure
to
configure
to configure
configure transparent
all
configured
all
configured
all configured
configured as
Works as AP mode and all default setting;
Works as
WAN connection type: Static IP: 10.10.100.100;
Network Protocal:TCP/Server, Port ID: 8899;
LAN IP address: 10.10.99.254 (Different net segment with WAN port);
Works as
WAN connection type: Static IP: 10.10.100.101;
Network Protocal:TCP/Client, Port ID: 8899; Application IP address: Module 2# ’ s WAN
IP address (10.10.100.100);
LAN IP address: 10.10.98.254 (Different net segment with WAN port);
STA
STA
transparent
transparent
transparent serial
mode; --See “ Mode Selection Page ”
mode; --See “ Mode Selection Page ”
Module
Module Network
as
STA
as
STA
as
STA
STA
Network
Network
Network Protocol:
serial
serial
serial port
and
connection
and
connection
and
and connection
connection through
Protocol:
Protocol:
Protocol: UDP
port
port
port application:
--See “ STA Interface Setting Page ”
-- See “ Application Setting Page ”
--See “ STA Interface Setting Page ”
-- See “ Application Setting Page ”
--See “ AP Interface Setting Page ”
UDP
UDP
UDP
application:
application:
application: Two
through
through
through AP?
--See “ AP Interface Setting Page ”
Two
Two
Two WIFI
AP?
AP?
AP?
WIFI
WIFI
WIFI
Jinan USR IOT Technology Limited Page
86
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Q6:
Q6:
Q6:
Q6: How
User
Device
Figure 65 Two
How
How
How to
to
to
to avoid
UART
avoid
avoid
avoid IP
AP SSID:USR-WIFI
LAN IP:10.10.100.254
Net Prot:Tcp Server
Protocol Port :
USR
-
WIFI
232
- X
USR
-
WIFI
232
STA SSID:USR-WIFI
LAN IP:10.10.99.254
WAN IP:10.10.100.100
Net Prot:Tcp Server
Protocol Port :
Two
USR-WIFI232-A/B/C
Two
USR-WIFI232-A/B/C
Two USR-WIFI232-A/B/C
USR-WIFI232-A/B/C Modules
IP
address
IP
address
IP address
address confliction
8899
- X
232
- A
confliction
confliction
confliction when
232
- A
8899
UART
USR
-
WIFI
232
- X
STA SSID:USR-WIFI
WAN IP:10.10.100.101
Net Prot:Tcp client
10.10.100.100:8899
LAN IP:10.10.98.254
Modules
Modules
Modules Connection
Connection
Connection
Connection Through
when
when
when apply
User
Device
UART
User
Device
232
- A
Through
Through
Through AP
apply
apply
apply USR-WIFI232-A/B/C
USR-WIFI232-A/B/C
USR-WIFI232-A/B/C
USR-WIFI232-A/B/C
AP
AP
AP
module?
module?
module?
module?
The following address allocation method can avoid the IP address confliction for dynamic and
static IP address mixed application.
M odule dynamic IP address range from 100 to 200 for last IP address segment.
Such as default IP: 10.10.100.254. When module works as
can allocate to
So, if user needs to set static IP for dedicated
address range can start from 10.10.100.1 to 10.10.100.99.
Q7:
PC
Q7:
Q7:
Q7: PC
card
card
card
card and
Network structure as below figure: Three USR-WIFI232-A/B/C module setup 3 TCP links with PC
server. Module 1# works as AP and all devices connect to module 1# through WiFi interface;
PC Setting:
Module 1# Setting:
Module 2# Setting:
works
PC
works
PC works
works as
and
connect
and
connect
and connect
connect with
IP address: 10.10.100.100;
Network Protocal:TCP/Server, Port ID: 8899;
Works as AP mode;
LAN IP address: 10.10.100.254;
Network Protocal:TCP/Client, Port ID: 8899; Application IP address:10.10.100.100;
Works as
as
as
as server,
STA
server,
server,
server, all
with
with
with PC,
STA
mode;
is from 10.10.100.100 to 10.10.100.200;
STA
internal network, the available IP
all
all
all WIFI
PC,
PC,
PC, how
WIFI
WIFI
WIFI modules
how
how
how to
modules
modules
modules works
to
configure
to
configure
to configure
configure this
works
works
works as
this
this
this application?
AP,
the IP address module
as
data
as
data
as data
data acquisition
application?
application?
application?
acquisition
acquisition
acquisition
Jinan USR IOT Technology Limited Page
87
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
WAN connection type: Static IP: 10.10.100.101;
Network Protocal:TCP/Client, Port ID: 8899; Application IP address:10.10.100.100;
LAN IP address: 10.10.99.254 (Different net segment with WAN port);
Module 3# Setting:
Works as
WAN connection type: Static IP: 10.10.100.102;
Network Protocal:TCP/Client, Port ID: 8899; Application IP address:10.10.100.100;
LAN IP address: 10.10.98.254 (Different net segment with WAN port);
STA
mode;
10.10.100.100
Net Prot
server
User
Device
STA SSID
LAN IP
WAN IP
Net Prot
10.10.100.100:8899
IP
:
:
,
UART
tcp
8899
:
USR-WIFI
AP_xxxx
:
10.10.99.254
:
10.10.100.101
:
tcp client
AP SSID
LAN IP
Net Prot
:
USR-WIFI
AP_xxxx
:
10.10.100.254
:
tcp client
10.10.100.100:8899
USR
-
WIFI
232
-
232
-
,
UART
User
Device
A / B / C
UART
232
User
Device
-
,
USR
-
WIFI
232
232
-
A / B / C
,
-
WIFI
USR
A / B / C
-
232
-
STA SSID
LAN IP
WAN IP
Net Prot
10.10.100.100:8899
:
USR-WIFI
AP_xxxx
:
10.10.98.254
:
10.10.100.102
:
tcp client
Wireless
Figure 66 Wireless
Q8:
WIFI
Q8:
WIFI
Q8:
Q8: WIFI
WIFI module
At present, all the WIFI module does not support UDP multicast function,IP multicast address
range is " 224.0.0.0 ~ 239.255.255.255 ” , When setting module, please don't set this IP section, if
set, may cause the module can't normal start.
Q9:WIFI
Q9:WIFI
Q9:WIFI
Q9:WIFI module
module?
module?
module?
module?
All wifi module supports UDP search ,they will return to their respective
search process is as follows:
Jinan USR IOT Technology Limited Page
module
module
module support
module
module
module operates
support
support
support UDP
operates
operates
operates in
Wireless
Wireless Data
UDP
UDP
UDP multicast?
in
in
in
Data
Acquisition
Data
Acquisition
Data Acquisition
Acquisition Card
multicast?
multicast?
multicast?
STA
STA
STA
STA
mode,
mode,
mode,
mode, the
88
of
Card
Setting
Card
Setting
Card Setting
Setting
the
PC
PC
PC how
how
how
how to
the
the PC
93
to
get
to
get
to get
get the
IP,
MAC, MID, detailed
tec@usr.cn
the
the
the IP
IP
IP
IP
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
1. PC via UDP broadcast (broadcast address: xx.xx.xx.255, Port: 48899) sent a password, the
default password is: "HF-A11ASSISTHREAD", the password can be used
AT
commands (AT
+ FASWD) set up,it's Up to 100 bytes.
2. After the module receives a password, if the password is correct, to the address (Unicast,
Port: 48899) sends local IP address and MAC address and name of the module.
(IP,
MAC,
MID as 10.10.100.254,888 B5D0000E2, guxin).
S o you can get to the IP address of the module.
Jinan USR IOT Technology Limited Page
89
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Appendix
Appendix
Appendix
Appendix b:
b:
evb
b:
evb
b: evb
evb reference
reference
reference
reference design
design
design
design
Jinan USR IOT Technology Limited Page
90
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Appendix
Appendix
Appendix
Appendix c
reference
reference
reference
reference design
c
:
external
c
:
external
c :
: external
external power
design
design
design
power
power
power shutdown
shutdown
shutdown
shutdown mode
mode
mode
mode
Jinan USR IOT Technology Limited Page
91
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Appendix
Appendix
Appendix
Appendix e:
------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------
Contact
Contact
Contact
Contact us:
-----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------
Appendix
Appendix
Appendix
Appendix f
This
This
This
This document
does
does
does
does not
declared
declared
declared
declared in
addition,
addition,
addition,
addition, USR
the
the
the
the suitability
patent,
patent,
patent,
patent, copyright
to
to
to
to specifications
us:
us:
us:
Company: Jinan USR IOT Technology Limited
Address: 1-728, Huizhan Guoji Cheng, Gaoxin Qu, Jinan, Shandong, China
Tel:
Web: http://
Support : http://h.usriot.com
Email: sales@usr.cn
document
document
document provides
not
grant
not
grant
not grant
grant any
in
the
in
the
in the
the product
USR
USR
USR does
suitability
suitability
suitability of
copyright
copyright
copyright or
specifications
specifications
specifications and
e:
Contact
e:
Contact
e: Contact
Contact Information
86-531-55507297, 86-531-88826739
http://
www.usr
http://
www.usr
http:// www.usr
www.usr iot
http://h.usriot.com
http://h.usriot.com
http://h.usriot.com
f
:
Disclaimer
f
:
Disclaimer
f :
: Disclaimer
Disclaimer
provides
provides
provides information
any
any
any license
product
product
product sale
does
not
does
not
does not
not make
of
the
of
the
of the
the product
or
or
or other
and
and
and product
information
information
information about
license
license
license to
sale
sale
sale clause,
make
make
make any
product
product
product for
other
other
other intellectual
product
product
product descriptions
iot
.
com
iot
.
com
iot .
. com
com
about
about
about USR-WIFI232-
to
intellectual
to
intellectual
to intellectual
intellectual property
clause,
clause,
clause, USR
any
any
any warranties
for
for
for a
intellectual
intellectual
intellectual property
descriptions
descriptions
descriptions without
USR
USR
USR does
warranties
warranties
warranties for
a
particular
a
particular
a particular
particular purpose,
property
property
property infringement,
Information
Information
Information
USR-WIFI232-
USR-WIFI232-
USR-WIFI232- A
property
property
property rights.
does
not
does
not
does not
not assume
for
the
for
the
for the
the sale
purpose,
purpose,
purpose, merchantability
infringement,
infringement,
infringement, etc.
without
without
without notice.
rights.
rights.
rights. Except
assume
assume
assume any
sale
and
sale
and
sale and
and use
merchantability
merchantability
merchantability or
notice.
notice.
notice.
A
/
B
/
C
A
/
B
/
C
A /
/ B
B /
/ C
C modules,
any
any
any other
use
use
use of
etc.
etc.
etc. USR
modules,
modules,
modules, this
Except
Except
Except the
other
other
other responsibilities.
of
of
of this
USR
USR
USR may
responsibilities.
responsibilities.
responsibilities. In
this
this
this product,
may
may
may make
this
document
this
document
this document
document
the
responsibility
the
responsibility
the responsibility
responsibility
product,
product,
product, including
or
or
or fitness
including
including
including
fitness
fitness
fitness for
make
make
make changes
for
for
for any
changes
changes
changes
In
In
In
any
any
any
Jinan USR IOT Technology Limited Page
92
93
of
tec@usr.cn
USR-WIFI232- A/B/C User Manual http://www.usriot.c om
Appendix
Appendix
Appendix
Appendix g
Ed.V 4.5 Update on 14-04
Add TCP password authentication
Add Upload ID
Add S elf-adaption Baudrate
Add WEB-IO
Ed.V 5.0.0 Update on 14-10
Add Httpdclient Mode
Add AT+TMODE options
Add Quick Configure and Ethernet Setting Web page
Add usr-link agreement.
Ed.V 5.0.1 Update on 14-11
Modify the SSID of AP Mode
Ed.V 5.0.2 Update on 14-12
Modify the problem of TCPB in the specification,The
AT+TCPB/AT+TCPPTB etc.
Modify Self-adaption Baudrate function ,default open.
Delete the
Ed.V 5.0.4 Update on 14-12
Add the
More advanced Settings page, including the port mapping and DDNS
Ed.V 5.0.5 Update on 15-01-2015
Change the AT+WSLQ to WSQY
Ed.V 5.0.6 Update on 16-03-2015
Modify the registration packet types, increase the upload MAC function and modify the
corresponding instructions (based on V5.01.14 and above).
Modify the setting of the HTTP header, change to custom header, and compatible the
old way of setting (based on V5.01.14 and above version).
Ed.V 5.0.7 Update on 03-05-2015
modify the minimum temperature - 40 .
Modify the TCP timeout default to 0 .
When tcp or udp server,Tip 80, 8000, 49000 is not available.
Ed.V 5.0.8 Update on 16-06-2015
Increase customer support center link, remove WAPI encryption.
g
:
History
g
:
History
g :
: History
History
AT
+ FRLDEN.
AT
setting of three sta parameter sets
AT
command related is
END
END
END
END OF
Jinan USR IOT Technology Limited Page
OF
DOCUMENT
OF
DOCUMENT
OF DOCUMENT
DOCUMENT
93
93
of
tec@usr.cn