WIFI232 UserManual
WIFI232 UserManual
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.
Page 1 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Table Of Contents
1 Quick Start ................................................................................................................................... 6
1.1 Hardware connect ........................................................................................................ 6
1.2 Network connection ...................................................................................................... 7
1.3 communication test ...................................................................................................... 8
2 Product Overview ........................................................................................................................ 9
2.1 General Description...................................................................................................... 9
2.2 Device Features ........................................................................................................... 9
2.3 Device Paremeters ..................................................................................................... 10
2.4 Key Application ........................................................................................................... 11
2.5 Package Information .................................................................................................. 11
2.5.1 Recommended Reflow Profile ............................................................................ 11
2.5.2 Device Handling Instruction (Module IC SMT Preparation)............................... 11
2.5.3 Shipping Information ........................................................................................... 12
3 Hardware Introduction ............................................................................................................... 12
3.1 Pins Definition............................................................................................................. 13
3.1.1 WIFI232 Pins Definition ...................................................................................... 13
3.2 Mechanical Size ......................................................................................................... 14
3.2.1 WIFI232 ............................................................................................................... 14
3.3 Antenna....................................................................................................................... 15
3.3.1 On-board Chip Antenna ...................................................................................... 15
3.3.2 External Antenna ................................................................................................. 16
3.4 Evaluation Kit.............................................................................................................. 16
3.5 Hardware Reference Design...................................................................................... 18
3.5.1 Hardware Typical Application ............................................................................. 18
3.5.2 10/100M Ethernet Interface ................................................................................ 19
3.5.2.1 Ethernet Connection with Transformer ................................................ 19
3.5.2.2 Ethernet Connection without Transformer ........................................... 19
3.5.3 UART Interface.................................................................................................... 20
3.5.4 Power Interface ................................................................................................... 21
4 Modules Function Description .................................................................................................. 21
4.1 User configuration process ........................................................................................ 21
4.2 Working mode............................................................................................................. 22
4.2.1 Transparent Mode ............................................................................................... 22
4.2.2 Serial command mode ........................................................................................ 23
4.2.3 GPIO mode ......................................................................................................... 24
4.2.4 HTTPD Client mode ............................................................................................ 24
4.3 Wireless Networking................................................................................................... 25
4.3.1 STA ...................................................................................................................... 25
4.3.2 AP ........................................................................................................................ 26
4.3.3 AP+STA ............................................................................................................... 27
4.4 Ethernet Interface Communication ............................................................................ 28
4.4.1 WIFI232 Ethernet Interface Networking (As AP) .............................................. 28
4.4.2 WIFI232 Ethernet Interface Networking (As STA, N-Ver) .................................. 28
Page 2 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
4.4.3 WIFI232 Ethernet Interface Networking (As STA, Z-Ver) ................................. 29
4.5 WI-FI parameter setting ............................................................................................. 29
4.5.1 Auto- Frequency Function .................................................................................. 30
4.5.2 Security................................................................................................................ 30
4.5.3 Search Function for STA..................................................................................... 30
4.5.4 Address Binding .................................................................................................. 30
4.6 UART Frame Scheme ................................................................................................ 31
4.6.1 UART Free-Frame .............................................................................................. 31
4.6.2 UART Auto-Frame ............................................................................................... 31
4.7 Network Setting .......................................................................................................... 31
4.7.1 Socket A .............................................................................................................. 32
4.7.2 Socket B .............................................................................................................. 32
4.8 New function ............................................................................................................... 32
4.8.1 TCP password authentication............................................................................. 32
4.8.2 Upload ID ............................................................................................................ 33
4.8.3 WEB IO................................................................................................................ 33
4.8.4 Keepalive............................................................................................................. 33
4.8.5 Multiple STA parameters ..................................................................................... 33
4.8.6 Websocket........................................................................................................... 33
4.8.7 Fast access Wi-Fi(usr-link) ................................................................................. 34
4.8Palmodic Signal.................................................................................................................... 36
4.9 Parameters Configuration .......................................................................................... 36
4.10 Firmware Upgrade...................................................................................................... 36
5 Web Accessing and AT+instruction set .................................................................................... 37
5.1 Configuration via Web Accessing .............................................................................. 37
5.1.1 Open Web Management Interface ..................................................................... 37
5.1.2 Quick Configure .................................................................................................. 38
5.1.3 Mode Selection Page .......................................................................................... 38
5.1.4 AP Interface Setting Page .................................................................................. 39
5.1.5 STA Interface Setting Page................................................................................. 39
5.1.6 Application Setting Page..................................................................................... 40
5.1.7 Ethernet Setting .................................................................................................. 42
5.1.8 HTTPD Client Mode ............................................................................................ 42
5.1.9 WEB IO................................................................................................................ 43
5.1.10 Advanced Page ................................................................................................... 43
5.1.11 Device Management Page ................................................................................. 44
5.2 AT+instruction Introduction ........................................................................................ 44
5.2.1 Configuration Mode............................................................................................. 44
5.2.1.1 Switch to Configuration Mode .............................................................. 45
5.2.2 AT+ Instruction Set Overview ............................................................................. 45
5.2.2.1 Instruction Syntax Format .................................................................... 47
5.2.2.2 AT+ Instruction Set ............................................................................... 48
5.2.2.2.1 AT+E.............................................................................................. 50
5.2.2.2.2 AT+ENTM...................................................................................... 50
Page 3 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
5.2.2.2.3 AT+NETP ...................................................................................... 50
5.2.2.2.4 AT+UART ...................................................................................... 50
5.2.2.2.5 AT+UARTF .................................................................................... 51
5.2.2.2.6 AT+UARTFT .................................................................................. 51
5.2.2.2.7 AT+UARTFL .................................................................................. 52
5.2.2.2.8 AT+TMODE ................................................................................... 52
5.2.2.2.9 AT+WMODE.................................................................................. 52
5.2.2.2.10 AT+WSKEY ................................................................................... 52
5.2.2.2.11 AT+WSSSID.................................................................................. 53
5.2.2.2.12 AT+ WSLK..................................................................................... 53
5.2.2.2.13 AT+WEBU ..................................................................................... 54
5.2.2.2.14 AT+WAP ........................................................................................ 54
5.2.2.2.15 AT+WAKEY ................................................................................... 54
5.2.2.2.16 AT+HIDESSID ............................................................................... 55
5.2.2.2.17 AT+MSLP ...................................................................................... 55
5.2.2.2.18 AT+WSCAN .................................................................................. 56
5.2.2.2.19 AT+ TCPLK ................................................................................... 56
5.2.2.2.20 AT + TCPDIS ................................................................................. 56
5.2.2.2.21 AT+ WANN .................................................................................... 57
5.2.2.2.22 AT+ LANN ..................................................................................... 57
5.2.2.2.23 AT+DHCPDEN .............................................................................. 57
5.2.2.2.24 AT+ DHCPGW .............................................................................. 58
5.2.2.2.25 AT+ TCPTO ................................................................................... 58
5.2.2.2.26 AT+ MAXSK .................................................................................. 58
5.2.2.2.27 AT+TCPB ...................................................................................... 59
5.2.2.2.28 AT+TCPPTB.................................................................................. 59
5.2.2.2.29 AT+TCPADDB ............................................................................... 59
5.2.2.2.30 AT+TCPTOB ................................................................................. 60
5.2.2.2.31 AT+TCPLKB .................................................................................. 60
5.2.2.2.32 AT+EPHY ...................................................................................... 60
5.2.2.2.33 AT+STTC....................................................................................... 60
5.2.2.2.34 AT+DOMAIN ................................................................................. 61
5.2.2.2.35 AT+FUDLX .................................................................................... 61
5.2.2.2.36 AT+MMID ...................................................................................... 61
5.2.2.2.37 AT+IDFIR....................................................................................... 61
5.2.2.2.38 AT+IDEVE ..................................................................................... 62
5.2.2.2.39 AT+AABR ...................................................................................... 62
5.2.2.2.40 AT+RELD ...................................................................................... 63
5.2.2.2.41 AT+Z .............................................................................................. 63
5.2.2.2.42 AT+MID ......................................................................................... 63
5.2.2.2.43 AT+VER......................................................................................... 63
5.2.2.2.44 AT+H.............................................................................................. 63
5.2.2.2.45 AT+ HTTPURL .............................................................................. 63
5.2.2.2.46 AT+ HTTPTP ................................................................................. 64
Page 4 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
5.2.2.2.47 AT+ HTTPPH ................................................................................ 64
5.2.2.2.48 AT+ HTTPCN ................................................................................ 64
5.2.2.2.49 AT+ HTTPUA ................................................................................ 64
5.2.2.2.50 AT+WSSSIDA ............................................................................... 65
5.2.2.2.51 AT+WSSSIDB ............................................................................... 65
5.2.2.2.52 AT+WSSSIDC ............................................................................... 65
5.2.2.2.53 AT+WSKEYA................................................................................. 65
5.2.2.2.54 AT+WSKEYB ................................................................................ 66
5.2.2.2.55 AT+WSKEYC ................................................................................ 66
5.2.2.2.56 AT+ WSLQ .................................................................................... 67
6 WIFI232 Usage Introduction ..................................................................................................... 67
6.1 Module Debug ............................................................................................................ 68
6.1.1 Software Debug Tools ......................................................................................... 68
6.1.2 Network Connection............................................................................................ 68
6.1.3 Debug .................................................................................................................. 68
6.2 Use Cases .................................................................................................................. 71
6.2.1 Wireless Control Application ............................................................................... 71
6.2.2 Remote Management Application ...................................................................... 71
6.2.3 Transparent Serial Port Application .................................................................... 72
6.2.4 Wireless Data Acquisition Card Application ....................................................... 72
Appendix A: Questions and Answers ......................................................................................... 74
Q1: How to configure transparent serial port application (TCP protocol) with two WIFI
modules? ................................................................................................................................... 74
Q2: Where to Set WIFI Module LAN IP and WAN IP through Web Page? ........................... 74
Q3: How to configure transparent serial port application (UDP protocol) with two WIFI
modules? ................................................................................................................................... 75
Q4: Where to set WIFI232 module network protocol (TCP/UDP)? ......................................... 76
Q5: How to configure transparent serial port application: Two WIFI modules all configured as
STA and connection through AP? ............................................................................................. 77
Q6: How to avoid IP address confliction when apply WIFI232 module? ................................. 78
Q7: PC works as server, all WIFI modules works as data acquisition card and connect with
PC, how to configure this application? ..................................................................................... 78
Q8: WIFI module support UDP multicast? ............................................................................... 79
Q9:WIFI module operates in STA mode, the PC how to get the IP module?.......................... 80
Appendix b: external power shutdown mode reference design ............................................ 81
Appendix c: Disclaimer ..................................................................................................................... 81
Page 5 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
1 Quick Start
WIFI232 series product is used to transmit data between RS232 and WIFI TCPIP transparently,
user can update the product to WIFI control without knowing the WIFI and TCPIP detail. All the
convert work is done by the module. For 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. The setup work only need do once, then it will save the setting
forever.
This chapter is a user guide for WIFI232 series products. We suggest users follow the guide to
test module at first, and will have a good understanding of the modules. Users can also choose
the chapter which you are interested in to read. For specific details and instructions, please refer
to the following chapters.
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.
About the serial connection, because the module RS232 is 3.3V TTL level, 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 WIFI232 evaluation board for
users to choose.
Page 6 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
The following is the WIFI232 module example,Other modules are the same.Open Wi-Fi, search
network, as shown in below, WIFI232 _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.
Join the network, choose to automatically obtain IP, WIFI module supports DHCP Server feature
and is enabled by default.
Page 7 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Page 8 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
2 Product Overview
WIFI232 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.
WIFI232 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.
WIFI232 as a hot spot can accommodate 32 clients simultaneously wi-fi access, but also can
accommodate 32 TCP client.
Page 9 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
FCC/CE Certificated
Page 10 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Work Mode Transparent Mode/Serial command
AT command AT+instruction set
TCP/UDP/ARP/ICMP/DHCP/DNS/HT
Network Protocol
TP
Max. TCP Connection 32
User Configuration Web Server+AT command config.
Note:
1. Recommend to supply N2 for reflow oven.
2. N2 atmosphere during reflow (O2<300ppm).
Page 11 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Recommend 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:
T 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.
3 Hardware Introduction
Page 12 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Figure 7 WIFI232
PHY_TX+ PHY_TX-
PHY_RX+ PHY_RX-
nReady/GPIO9 nReload/GPIO10
RESET nLink/GPIO8
UART_RTS/GPIO5 UART_CTS/GPIO6
UART_TXD/GPIO3 UART_RXD/GPIO4
GND 3.3V
Page 13 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
GPIO GPIO6 I/O
7 Module reset signal RESET I “Low ( 0 )” effective reset
input.
The reset duration should be
kept more than 300ms
8 WiFi status Indication nLink O “0”- WIFI connection
GPIO GPIO8 I/O available
“1”- No WIFI connection
Can be configured as GPIO.
9 Indicate the module nReady O “0” or “Palmodic Signal” -
status of power on Finish module boot up
process process;
GPIO GPIO9 I/O “1” - Module boot up not
finish.
Can be configured as GPIO.
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 Ethernet Input+ PHY_RX+ I +1.8V Ethernet Data
12 Ethernet Input- PHY_RX- I Interface
13 Ethernet Output+ PHY_TX+ O Support transformer and
14 Ethernet Output- PHY_TX- O direct connection (AC
couple) mode.
3.2.1 WIFI232
WIFI232 module Mechanical Size:
Page 14 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
3.3 Antenna
Page 15 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Waveshare technological suggestions WIFI232 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.
Waveshare 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 WIFI232 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.
Page 16 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Page 17 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Notes:
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.
Page 18 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
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.
Page 19 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
This module Ethernet interface default is for the application with transformer connection. If you
need PHY-PHY directly connection, please change the hardware as follows:
1. Weld 0 ohm resistance in red position
2. Remove the component in yellow position
Specific PHY-PHY direct connection reference to user manual chapter 1.3.2.2 application of
Ethernet without transformer and 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 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
chip 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
Page 20 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
User can add RS-232 chipset on user board and convert the signal to RS-232 voltage to
communicate with outside equipment or sensors. WIFI232 modules UART interface include 4
general signals: TXD/RXD/RTS/CTS. The hardware reference design with RS-232 chipset as
following:
Notes: TXD pin is also hardware configuration pin internal module. So this pin MUST pull-down
during module power up. WIFI232 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.
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.
After WIFI232 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.
Page 21 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
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.
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: 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.
Page 22 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Page 23 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Sum 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)
Page 24 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
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 /set1234 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.
WIFI232 module can be configured as both wireless STA and AP base on network type. Logically
there are two interfaces in WIFI232. One is for STA, and another is for AP. When WIFI232 works
as AP, other STA equipments are able to connect to wireless LAN via WIFI232 module. Wireless
Networking with WIFI232 is very flexible.
Following figure shows the functional architecture of WIFI232 module:
Notes:
AP: that is the wireless Access Point, the founder of a wireless network and the center of the
network nodes. The wireless router we use at home or in office may be an AP.
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 device.
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 center, and all communication between
STAs is transmitted through the AP. The figure following shows such type of networking.
Page 25 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
4.3.2 AP
Because WIFI232 can be set to AP, can also be set to STA, so the WIFI232 can be achieved
easily wireless ad hoc network.
As showing in the figure below, WIFI232 (1) can be treat as an AP, and WIFI232(2), WIFI232 (3)
and the laptop are STAs connected to WIFI232 (1). Meanwhile, all WIFI232 modules can
connected to user device via UART interface. All WIFI232 modules can be operated and
managed through the laptop. So it is convenient to O&M all WIFI232 modules. Moreover, in such
Adhoc network structure, the whole coverage of a wireless network can be extended easily.
Page 26 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
4.3.3 AP+STA
WIFI232 module support AP+STA network mode, means module support one AP interface and
one STA interface at the same time, as following figure,
When module enables AP+STA function, Module‟s STA interface can connect with router and
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:
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 STA
mode.
AP+STA Mode Setting:
AP+STA mode need serial AT command to enable as follows:
AT+FAPSTA=on, Enable AP+STA mode;
Then, when you configure module works as STA mode, it‟s AP interface still active;
AP+STA Mode Notes:
When user enable AT+STA function,the STA port need to keep connected with other
router(AP),
or STA port will have to scan the AP frequently ,which will affect AP port function and may cause
some date loss.
So ,if user confirm STA port can't connect with AP at some time,user can disable the STA scan
through the following command:
AT+STTC=on/off,on:Scan AP;off:No Scan AP.
After re-start module,this command not saved;
AT+FSTTC=on/off;
This command is saved after re-staring the module;
Page 27 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
WIFI232 module provides one 100M Ethernet interface. With this Ethernet interface, user can
easily realize the three interface (WiFi, UART, and Ethernet) intercommunication and networking.
WIFI232 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. For different
application, WIFI232 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.
WIFI232 module works as AP and also the center of this network. All devices‟ IP address in this
network shall use the same network segment with WIFI232 and they can ntercommunication with
this method.
Page 28 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
WIFI232 module works as STA (Software is N-Version), and module set as router mode. When
module connect to AP, it will get wireless port IP address from AP (For example: 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 WIFI232 works as router
mode), but PC2 can‟t active initiate a connection to PC1.
Page 29 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
4.5.2 Security
WIFI232 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
Users can prevent STA from joining to illegal network by binding the BSSID address, to improve
wireless network security.
Page 30 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
WIFI232‟s default interval time is 50ms. User can also set this interval to fast (10ms) through AT
command. But user have to consider if user MCU can send UART data with 10ms interval ,or the
UART data may be divide as fragment.
Through AT command: AT+FUARTTE=fast/normal, user can set the interval time: fast (10ms) and
normal (50ms). This command is factory default setting command and AT+RELD can‟t change its
value.
Auto-frame trigger length: The fixed data length that module used to transmitting to the
network.
Auto-frame trigger time: After the trigger time, if UART port received data can‟t reach auto-
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.
WIFI232 module has two TCP/UDP Socket: Socket A and Socket B. Serial data written to the
module, will be sent to the Socket A and B simultaneously; TCP/UDP data that module receives
through either Socket A or 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 AT commands.
Page 31 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
4.7.1 Socket A
Socket A has three work mode: TCP Server, TCP Client, UDP.The setting method, please refer to
the AT+NETP command instruction.
When Socket A configured 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:
4.7.2 Socket B
Socket B has one work mode: TCP Client, please refer to the AT+TCPB/AT+TCPPTB/TCPADDB/
TCPTOB/TCPLKBcommand 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.
Page 32 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
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 Upload ID
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.Module is the default ID is
1111, for example, is sent to the server when the first four bytes "0x57 0x04 0xfb 0xa8".
There are two ways to upload their own id: one is to upload their own id for connection to the
server for the first time;The other is a plus id in front of each data.
ID number related parameter is set in the "serial port and other Settings" section of the web, build
joint function of ID for the first time, and each data with the function of ID are opened by default.
ID can also use the at command to set the related parameters, specific refer to 5.2.2.2.36-
5.2.2.2.38 section.
4.8.3 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.4 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 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 33 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Page:10.10.100.254/websocketen.html)
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.
Page 34 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
7 Signal 1 Signal strength of router 1,0~100:0%~100%
strength1
8 separator 2 Separator of signal strength1, fixed value:
0x0D,0x0A
… … … ………
M SSID n Unsized The SSID of router n
M+1 separator 1 Separator of SSID n, fixed value:0x00
M+2 Signal 1 Signal strength of router n,0~100:0%~100%
strength
M+3 separator 2 fixed value:0x0D,0x0A
M+4 check 1 Sum of bytes from head (not contained) byte to
check byte (not contained).
Example:
Data from phone PDA to module (HEX): FF 00 01 01 02
Data from module to phone PDA (HEX): FF 00 14 81 02 54 45 53 54 31 00 40 0D 0A 54 45 53 54
32 00 37 0D 0A 1F
Explanation:
The phone PDA send searching command to module, the response from module is: SSID of
router1 is “TEST1”, signal strength of router1 is 64%; SSID of router2 is “TEST2”, signal strength
of router2 is 55%.
Note: The information of routers is ordered by signal strength.
Setting command
No Name Num of Bytes Description
1 head 1 fixed value:0xFF
2 length 2 Sum of data bytes from length bytes to check byte
(not contain length bytes and check byte).
3 cmd 1 Command type, 0x02
4 reserve 1 fixed value:0x00
5 SSID Unsized SSID of router
6 separator 2 fixed value:0x0D,0x0A
7 password Unsized Password of router
8 check 1 Sum of bytes from head (not contained) byte to
check byte (not contained).
Response for setting
No Name Num of Bytes Description
1 head 1 fixed value:0xFF
2 length 2 Sum of data bytes from length bytes to check
byte(not contain length bytes and check byte).
3 cmd 1 Command type, 0x82
4 Check for 1 If the SSID set by PDA exist, check value is 0x01,
SSID otherwise is 0x00.
5 Check for 1 If the form of password set by PDA is correct, check
password value is 0x01, otherwise is 0x00.
6 check 1 Sum of bytes from head (not contained) byte to
check byte (not contained).
Example:
Data from phone PDA to module (HEX): FF 00 0F 02 00 54 45 53 54 31 0D 0A 31 32 33 34 35 36
CE
Data from module to phone PDA (HEX): FF 00 03 82 01 01 87
Explanation:
Page 35 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
The phone PDA send setting command to module, SSID is set to “TEST1”, password is set to
“123456”. The response from module is that the “TEST1” Wi-Fi network exist, the form of
password is correct.
4.8Palmodic 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.
WIFI232 module supports two methods to configuration parameters: Web Accessing and
AT+instruction set.
Web accessing means users can configure parameters through built-in webpage. When WIFI232
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.
Page 36 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
When first use WIFI232 modules, user may need some configuration. User can connect to
WIFI232 module‟s wireless interface with following default setting information and configure the
module through laptop.
Table 6 WIFI232 Web Access Default Setting
Parameters Default Setting
SSID WIFI232
IP Address 10.10.100.254
Subnet Mask 255.255.255.0
User Name admin
Password admin
The WIFI232 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”,”STA Interface
Setting”,”Application Setting”, “WEB IO”and “Device Management”
Page 37 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
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.
Page 38 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
"TCP connection password authentication" can choose whether open TCP password authentication.
Page 39 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Page 40 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Notes:
Generally, Network protocols support three modes: TCP Server, TCP Client, UDP Client,UDP
Server.
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 WIFI232 module.
Also the Port ID between two sides of the communication devices must keep the same.
Page 41 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Page 42 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
5.1.9 WEB IO
Page 43 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Notes: Restart module button: When you setting the parameters of different web pages,
you will click “Apply” button to confirm the setting, but the setting take effect only after
user click the “Restart” button here, the module will re-boot up and refresh the memory
information with new changes.
Page 44 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
In configuration mode, user can setting the module through AT+ instruction set, which cover all
web page setting function.
UART input “+++”, after module receive “+++”, and feedback “a” as confirmation.
UART input “a”, after module receive “a” and feedback “+ok” to go into AT+
instruction set configuration mode.
Notes:
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).
Page 45 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
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.
Page 46 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Click search, then will show module, click module then you can send command.
Page 47 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Command Message
AT+<CMD>[op][para-1,para-2,para-3,para-4…]<CR>
Notes: When input AT+Instruction, “AT+<CMD>” character will display capital letter automatic
and other parts will not change as you input.
Response Message
+<RSP>[op] [para-1,para-2,para-3,para-4…]<CR><LF><CR><LF>
Error Code
Table 7 Error Code Description WIFI232 Web Access Default Setting
Error Code Description
-1 Invalid Command Format
-2 Invalid Command
-3 Invalid Operation Symbol
-4 Invalid Parameter
-5 Operation Not Permitted
Page 48 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
UARTFT Set/Query UART auto-frame trigger time
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
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
WSSSIDB Set/query the second AP„s ssid of 3 sta parameters
settings
WSSSIDC Set/query the third AP„s ssid of 3 sta parameters
settings
WSKEYA Set/query the first AP„s password of 3 sta parameters
settings
WSKEYB Set/query the second AP„s password of 3 sta
parameters settings
WSKEYC Set/query the third AP„s password of 3 sta parameters
settings
WSLQ Set/query the critiacl value of network switching
Page 49 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Notes: WIFI232 module can works as AP or STA, user have to use different AT+ Instruction to set
WiFi parameters when module works as AP or STA mode.
5.2.2.2.1 AT+E
Function: Open/Close show back function;
Format:
AT+E<CR>
+ok<CR>< LF ><CR>< LF >
When WIFI232 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” ag ain to open show back
function.
5.2.2.2.2 AT+ENTM
Function: Set module into transparent transmission mode;
Format:
AT+ENTM<CR>
+ok<CR>< LF ><CR>< LF >
When operate this command, module switch from configuration mode to transparent transmission
mode.
5.2.2.2.3 AT+NETP
Function: Set/Query network protocol parameters;
Format:
Query Operation
AT+NETP<CR>
+ok=<protocol,CS,port,IP><CR>< LF ><CR>< LF >
Set Operation
AT+NETP=<protocol,CS,port,IP><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
protocol:
TCP
UDP
CS: Network mode:
SERVER
CLIENT
Port: protocol port ID: Decimal digit and less than 65535
IP: Server‟s IP address when module set as client
After WIFI232 module boots up again, the setting will be effective.
5.2.2.2.4 AT+UART
Function: Set/Query serial port parameters;
Format:
Page 50 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Query Operation
AT+UART<CR>
+ok=<baudrate,data_bits,stop_bit,parity,flowctrl><CR>< LF ><CR>< LF >
Set Operation
AT+UART=<baudrate,data_bits,stop_bit,parity,flowctrl><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
baudrate:
300,600,1200,1800,2400,4800,9600,19200,38400,57600,115200,230400,345
600,460800
data_bits:
5,6,7,8
stop_bits:
1,2
parity:
NONE,EVEN,ODD,MARK,SPACE
flowctrl:hardware flow control (CTSRTS)
NFC: No flow control
FC: flow control
After WIFI232 module boots up again, the setting will be effective.
5.2.2.2.5 AT+UARTF
Function: Open/Close UART auto-frame function;
Format:
Query Operation
AT+ UARTF<CR>
+ok=<para><CR>< LF ><CR>< LF >
Set Operation
AT+ UARTF=<para ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
para:
disable - Close auto-frame function;
enable - Open auto-frame function;
5.2.2.2.6 AT+UARTFT
Function: Set/Query UART auto-frame trigger time;
Format:
Query Operation
AT+ UARTFT<CR>
+ok=<time><CR>< LF ><CR>< LF >
Set Operation
AT+ UARTFT=<time ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
Page 51 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
time: Range 100 ~10000; Unit: ms. Auto-frame trigger time
5.2.2.2.7 AT+UARTFL
Function: Set/Query UART auto-frame trigger length;
Format:
Query Operation
AT+ UARTFL<CR>
+ok=<len><CR>< LF ><CR>< LF >
Set Operation
AT+ UARTFL=<len ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
len: Range 64 ~4096; Unit: byte. Auto-frame trigger length;
5.2.2.2.8 AT+TMODE
Function: Set/Query data transmission mode;
Format:
Query Operation
AT+TMODE<CR>
+ok=<tmode><CR>< LF ><CR>< LF >
Set Operation
AT+ TMODE=<tmode><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
tmode: Data transmission mode
Through: Transparent transmission
Agreement: Agreement transmission
Httpdclient: Httpd Client Mode
GPIO: GPIO Mode
After WIFI232 module boots up again, the setting will be effective.
Note: No CMD.After power on, the module will not work in the AT command mode by default.
5.2.2.2.9 AT+WMODE
Function: Set/Query WIFI work mode;
Format:
Query Operation
AT+WMODE<CR>
+ok=<mode><CR>< LF ><CR>< LF >
Set Operation
AT+ WMODE=<mode><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
mode:WIFI work mode
AP
STA
After WIFI232 module boots up again, the setting will be effective.
5.2.2.2.10 AT+WSKEY
Page 52 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Function: Set/Query WIFI security parameters as STA;
Format:
Query Operation
AT+WSKEY<CR>
+ok=<auth,encry,key><CR>< LF ><CR>< LF >
Set Operation
AT+ WSKEY=< auth,encry,key><CR>
+ok<CR>< LF ><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
This Instruction only effective for WIFI232 works as STA. After WIFI232 module boots up again, the
setting will be effective. But user can set this command when module configured as AP.
5.2.2.2.11 AT+WSSSID
Function: Set/Query WIFI target AP SSID parameters as STA.
Format:
Query Operation
AT+WSSSID<CR>
+ok=<ap’s ssid><CR>< LF ><CR>< LF >
Set Operation
AT+ WSSSID=<ap’s ssid ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
ap‟s ssid: AP‟s SSID
This Instruction only effective for WIFI232 works as STA. After WIFI232 module boots up again, the
setting will be effective. But user can set this command when module configured as AP.
5.2.2.2.12 AT+ WSLK
Function: Query WiFi link status as STA
Format:
Query Operation
AT+ WSLK<CR>
+ok=<ret><CR>< LF ><CR>< LF >
Parameters:
ret
”Disconnected”, if no WiFi connection;
Page 53 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
”AP‟ SSID(AP‟s MAC” ), if WiFi connection available;
”RF Off”, if WiFi OFF;
This Instruction only effective for WIFI232 works as STA. After WIFI232 module boots up again, the
setting will be effective. But user can set this command when module configured as AP.
5.2.2.2.13 AT+WEBU
Function: Set/Query WEB page login parameters;
Format:
Query Operation
AT+WEBU<CR>
+ok=<usr,password><CR>< LF ><CR>< LF >
Set Operation
AT+ WEBU=< usr,password ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
usr: User name for WEB page access;
password:Password for WEB page access;
5.2.2.2.14 AT+WAP
Function: Set/Query WIFI parameters as AP;
Format:
Query Operation
AT+WAP<CR>
+ok=<wifi_mode,ssid,channel><CR>< LF ><CR>< LF >
Set Operation
AT+ WAP=<wifi_mode,ssid,channel><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
wifi_mode: WiFi protocols
11BG
11B
11G
11BGN
11N
ssid: SSID when module works as AP;
channel: WIFI channel selection
AUTO
CH1~CH11
This Instruction only effective for WIFI232 works as AP. After WIFI232 module boots up again, the
setting will be effective. But user can set this command when module configured as STA.
5.2.2.2.15 AT+WAKEY
Function: Set/Query WIFI security parameters as AP;
Format:
Query Operation
AT+WAKEY<CR>
+ok=<auth,encry,key><CR>< LF ><CR>< LF >
Page 54 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Set Operation
AT+ WAKEY=< auth,encry,key><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
5.2.2.2.16 AT+HIDESSID
Function: Set/Query hide AP‟s SSID;
Format:
Query Operation
AT+HIDSSID<CR>
+ok=<sta.><CR><LF><CR><LF>
Set Operation
AT+HIDSSID=<sta><CR>
+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
On- not hide SSID
5.2.2.2.17 AT+MSLP
Function: Set modules into power save mode.(Turn OFF WiFi,Regardless of the AP
mode or the sta mode);
Format:
Query Operation
AT+ MSLP <CR>
+ok=<sta.><CR>< LF ><CR>< LF >
Set Operation
Page 55 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
AT+ MSLP=<on/off><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
When Query,sta reply if the module in sleep mode;
On - Module not in sleep mode (WiFi ON);
Off - Module in sleep mode(WiFi OFF);
When Set,
Off - Set module to sleep mode (WiFi OFF);
On - Set module to normal mode (WiFi ON);
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 AT+WSCAN
Function: Seek AP when module works as STA mode;
Format:
AT+ WSCAN<CR>
+ok=<ap_site><CR>< LF ><CR>< LF >
Parameters:
ap_site: AP searched;
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 AT+ TCPLK
Function: Query if TCP link already build-up;
Format:
AT+ TCPLK<CR>
+ok=<sta><CR>< LF ><CR>< LF >
Parameters:
sta.: if module already setup TCP link;
on: TCP link setup;
off: TCP link not setup;
5.2.2.2.20 AT + TCPDIS
Function: Open/Cose TCP (Only TCP Client available);
Format:
Query Operation
AT+TCPDIS<CR>
+ok=<sta><CR>< LF ><CR>< LF >
Set Operation
AT+ TCPDIS=<on/off><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
sta.: set/query TCP link status;
on: TCP link available; When setting “on”, module will connect to TCP server
right away.
Page 56 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
off: TCP link not available; when setting “off”, module will disconnect with TCP
server and not connect again.
5.2.2.2.21 AT+ WANN
Function: Set/Query WAN setting, only effective as STA mode;
Format:
Query Operation
AT+WANN<CR>
+ok=<mode,address,mask,gateway><CR>< LF ><CR>< LF >
Set Operation
AT+ WANN=< mode,address,mask,gateway ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
mode: IP setting for WAN port
static: Static IP
DHCP: Dynamic IP
address: WAN port IP address;
mask: WAN port subnet mask;
gateway: WAN port gateway address;
This Instruction only effective for WIFI232 works as STA. After WIFI232 module boots up again, the
setting will be effective. But user can set this command when module configured as AP.
5.2.2.2.22 AT+ LANN
Function: Set/Query LAN setting, only effective as AP mode;
Format:
Query Operation
AT+LANN<CR>
+ok=<address,mask ><CR>< LF ><CR>< LF >
Set Operation
AT+ LANN=<address,mask ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
address: LAN port IP address;
mask: LAN port subnet mask;
This Instruction only effective for WIFI232 works as AP. After WIFI232 module 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 AT+DHCPDEN
Function: Enable/Disable LAN DHCP server function;
Format:
Query Operation
AT+DHCPDEN<CR>
+ok=<sta><CR><LF><CR><LF>
Set Operation
AT+DHCPDEN=<sta><CR>
Page 57 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
+ok<CR><LF><CR><LF>
Parameters:
sta. If Enable/Disable LAN DHCP server function;
on: Enable LAN DHCP function
off: Disable LAN DHCP function
5.2.2.2.24 AT+ DHCPGW
Function: Set/Query DHCP gateway address;
Format:
Query Operation
AT+ DHCPGW<CR>
+ok=<address><CR>< LF ><CR>< LF >
Set Operation
AT+ DHCPGW=<address ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
address: DHCP gate address;
5.2.2.2.25 AT+ TCPTO
Function: Set/Query TCP timeout;
Format:
Query Operation
AT+ TCPTO<CR>
+ok=<time><CR>< LF ><CR>< LF >
Set Operation
AT+ TCPTO=<time ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
time: TCP timeout time.
<= 600, (600s);
>=0, (0 means no timeout);
Default, 300s;
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 AT+ MAXSK
Function: Set/Query maxima TCP connection;
Format:
Query Operation
AT+ MAXSK<CR>
+ok=<num><CR>< LF ><CR>< LF >
Set Operation
AT+ MAXSK =<num ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
Page 58 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
num: 1~32, default 32. maxima TCP connection;
When configure as TCP/Server, WIFI232 support maxima 32 TCP connections. If not require so much
connection, user can resetting this parameters.
5.2.2.2.27 AT+TCPB
Function: Open/Close TCPB function;
Format:
Query Operation
AT+TCPB<CR>
+ok=<sta><CR>< LF ><CR>< LF >
Set Operation
AT+ TCPB=<on/off><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
sta: TCPB enable status
on, TCPB enable
off, TCPB disable
After WIFI232 module boots up again, the setting will be effective.
5.2.2.2.28 AT+TCPPTB
Function: Set/Query TCPB port number;
Format:
Query Operation
AT+TCPPTB<CR>
+ok=<port><CR>< LF ><CR>< LF >
Set Operation
AT+ TCPB=<port><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
port: decimal ,<65535
After WIFI232 module boots up again, the setting will be effective.
5.2.2.2.29 AT+TCPADDB
Function: Set/Query TCPB server address;
Format:
Query Operation
AT+TCPADDB<CR>
+ok=<add><CR>< LF ><CR>< LF >
Set Operation
AT+ TCPADDB=<add><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
add: TCPB server address, can be IP address or url.
After WIFI232 module boots up again, the setting will be effective
Page 59 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
5.2.2.2.30 AT+TCPTOB
Function: Set/Query TCPB time out time;
Format:
Query Operation
AT+TCPTOB<CR>
+ok=<time><CR>< LF ><CR>< LF >
Set Operation
AT+ TCPTOB=<time><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
time: TCPB time out time, <=600 (600s), >=0 (No time out), default 300
After WIFI232 module boots up again, the setting will be effective.
5.2.2.2.31 AT+TCPLKB
Function: Query TCPB link status;
Format:
AT+TCPCKB<CR>
+ok=<sta><CR>< LF ><CR>< LF >
Parameters:
sta: TCPB link status
on, TCPB link OK
off, TCPB link not available
5.2.2.2.32 AT+EPHY
Function: Open/Close ETH interface;
Format:
Set Operation
AT+ EPHY=<on/off><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
On/off
Off: Close Ethernet port function;
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
WIFI232 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 AT+STTC
Function: Enable/Disable STA port scan function
Format:
Query Operation
AT+STTC<CR>
+ok=<sta><CR>< LF ><CR>< LF >
Set Operation
AT+STTC=<on/off><CR>
Page 60 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
+ok<CR><LF><CR><LF>
Parameters:
Sta: when query, this value feedback
On: Enable STA port scan function
Off: Disable STA port scan function
5.2.2.2.34 AT+DOMAIN
Function: Set/Query domain of module webpage;
Format
Query Operation
AT+DOMAIN<CR>
+ok=<domian><CR><LF><CR><LF>
Set Operation
AT+DOMAIN=<domain><CR>
+ok<CR><LF><CR><LF>
Parameters:
domain: domain to access to module webpage
5.2.2.2.35 AT+FUDLX
Function: Enable/Disable 485 function;
Format:
Query Operation
AT+FUDLX<CR>
+ok=<on/off><CR><LF><CR><LF>
Set Operation
AT+FUDLX=<on/off><CR>
+ok<CR><LF><CR><LF>
Parameters:
On/off: Enable or Disable 485 function
On, enable 485 function;
Off, disable 485 function;
Notes: AT+FUDLX is F-Setting, means restore to factory setting will not affect this command.
5.2.2.2.36 AT+MMID
Function: Set/Query Device ID;
Format:
Query Operation
AT+MMID<CR>
+ok=<time><CR>< LF ><CR>< LF >
Set Operation
AT+ MMID=<time><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
ID: device id(0~65535)
After WIFI232 module boots up again, the setting will be effective.
5.2.2.2.37 AT+IDFIR
Page 61 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Function: Enable/Disable “Send an ID when module connection is established” function;
Format:
Query Operation
AT+IDFIR<CR>
+ok=<on/off><CR><LF><CR><LF>
Set Operation
AT+IDFIR=<on/off><CR>
+ok<CR><LF><CR><LF>
Parameters:
On/off: Enable or Disable “Send an ID when module connection is established”
function
On, enable “Send an ID when module connection is established” function;
Off, disable “Send an ID when module connection is established” function;
5.2.2.2.38 AT+IDEVE
Function: Enable/Disable Every time to send data to send ID function;
Format:
Query Operation
AT+IDEVE<CR>
+ok=<on/off><CR><LF><CR><LF>
Set Operation
AT+IDEVE=<on/off><CR>
+ok<CR><LF><CR><LF>
Parameters:
On/off: Enable or Disable Every time to send data to send ID function
On, enable Every time to send data to send ID function;
Off, disable Every time to send data to send ID function;
Note: The ID function requires that the server carries out corresponding processing.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.Module is the default ID is 1111, for example, is sent to the server when the first four
bytes "0x57 0x04 0xfb 0xa8".
5.2.2.2.39 AT+AABR
Function: Enable/Disable Self-adaption Baudrate function;
Format:
Query Operation
AT+AABR<CR>
+ok=<on/off><CR><LF><CR><LF>
Set Operation
AT+AABR=<on/off><CR>
+ok<CR><LF><CR><LF>
Parameters:
On/off: Enable or Disable Self-adaption Baudratefunction
On, enable Self-adaption Baudrate function;
Off, disable Self-adaption Baudrate function;
Page 62 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
5.2.2.2.40 AT+RELD
Function: Restore to factory default setting;
Format:
AT+ RELD<CR>
+ok=rebooting…<CR>< LF ><CR>< LF >
This command restores the module to factory default setting, and then re-starts the module.
5.2.2.2.41 AT+Z
Function: Re-start module;
Format:
AT+ Z<CR>
5.2.2.2.42 AT+MID
Function: Query module ID information;
Format:
Query Operation
AT+MID<CR>
+ok=<module_id><CR>< LF ><CR>< LF >
Parameters:
module_id: MID information;
A11-yymmddnnnn “yymmdd” date; “nnnn” serial number;
5.2.2.2.43 AT+VER
Function: Query module software version information;
Format:
Query Operation
AT+VER<CR>
+ok=<ver><CR>< LF ><CR>< LF >
Parameters:
ver: Module software version information;
5.2.2.2.44 AT+H
Function: Help;
Format:
Query Operation
AT+H<CR>
+ok=<command help><CR>< LF ><CR>< LF >
Parameters:
command help: command introduction;
5.2.2.2.45 AT+ HTTPURL
Function:Set /Query HTTP server IP address and Port Number.
Format:
Query Operation:
AT+HTTPURL<CR>
+ok=<IP,Port><CR>< LF ><CR>< LF >
Set Operation:
AT+HTTPURL=<IP,Port><CR>
+ok<CR>< LF ><CR>< LF >
Page 63 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Parameters:
IP:HTTP server IP address.
Port:HTTP server Port number。
5.2.2.2.46 AT+ HTTPTP
Function:Set /Query HTTP request type.
Format:
Query Operation:
AT+HTTPTP<CR>
+ok=<Type><CR>< LF ><CR>< LF >
Set Operation:
AT+HTTPTP=<Type><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
Type:GET(default) or POST.
5.2.2.2.47 AT+ HTTPPH
Function:Set/Query HTTP protocol header path.
Format:
Query Operation:
AT+HTTPPH<CR>
+ok=<Path><CR>< LF ><CR>< LF >
Set Operation:
AT+HTTPPH=<Path><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
Path: Max length is 50 bytes.
5.2.2.2.48 AT+ HTTPCN
Function:Set/Query Connection of HTTP protocol header.
Format:
Query Operation:
AT+HTTPCN<CR>
+ok=<Connection><CR>< LF ><CR>< LF >
Set Operation:
AT+HTTPCN=<Connection><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
Connection: Max length is 20 bytes.
5.2.2.2.49 AT+ HTTPUA
Function:Set/Query User-Agent of HTTP protocol header.
Format:
Query Operation:
AT+HTTPUA<CR>
+ok=<Parameter><CR>< LF ><CR>< LF >
Set Operation:
AT+HTTPUA=<Parameter><CR>
Page 64 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
+ok<CR>< LF ><CR>< LF >
Parameters:
Parameter: Max length is 20 bytes.
5.2.2.2.50 AT+WSSSIDA
Function: Set/query the first AP„s ssid of 3 sta parameters settings .
Format:
Query Operation
AT+WSSSIDA<CR>
+ok=<ap’s ssid><CR>< LF ><CR>< LF >
Set Operation
AT+ WSSSIDA=<ap’s ssid ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
ap‟s ssid: AP‟s SSID
This Instruction only effective for WIFI232 works as STA. After WIFI232 module boots up again, the
setting will be effective. But user can set this command when module configured as AP.
5.2.2.2.51 AT+WSSSIDB
Function: Set/query the second AP„s ssid of 3 sta parameters settings .
Format:
Query Operation
AT+WSSSIDB<CR>
+ok=<ap’s ssid><CR>< LF ><CR>< LF >
Set Operation
AT+ WSSSIDB=<ap’s ssid ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
ap‟s ssid: AP‟s SSID
This Instruction only effective for WIFI232 works as STA. After WIFI232 module boots up again, the
setting will be effective. But user can set this command when module configured as AP.
5.2.2.2.52 AT+WSSSIDC
Function: Set/query the third AP„s ssid of 3 sta parameters settings .
Format:
Query Operation
AT+WSSSIDC<CR>
+ok=<ap’s ssid><CR>< LF ><CR>< LF >
Set Operation
AT+ WSSSIDC=<ap’s ssid ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
ap‟s ssid: AP‟s SSID
This Instruction only effective for WIFI232 works as STA. After WIFI232 module boots up again, the
setting will be effective. But user can set this command when module configured as AP.
5.2.2.2.53 AT+WSKEYA
Function: Set/query the first AP„s password of 3 sta parameters settings .
Page 65 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Format:
Query Operation
AT+WSKEYA<CR>
+ok=<auth,encry,key><CR>< LF ><CR>< LF >
Set Operation
AT+ WSKEYA=< auth,encry,key><CR>
+ok<CR>< LF ><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
This Instruction only effective for WIFI232 works as STA. After WIFI232 module boots up again, the
setting will be effective. But user can set this command when module configured as AP.
5.2.2.2.54 AT+WSKEYB
Function: Set/query the second AP„s password of 3 sta parameters settings .
Format:
Query Operation
AT+WSKEYB<CR>
+ok=<auth,encry,key><CR>< LF ><CR>< LF >
Set Operation
AT+ WSKEYB=< auth,encry,key><CR>
+ok<CR>< LF ><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
This Instruction only effective for WIFI232 works as STA. After WIFI232 module boots up again, the
setting will be effective. But user can set this command when module configured as AP.
5.2.2.2.55 AT+WSKEYC
Page 66 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Function: Set/query the third AP„s password of 3 sta parameters settings .
Format:
Query Operation
AT+WSKEYC<CR>
+ok=<auth,encry,key><CR>< LF ><CR>< LF >
Set Operation
AT+ WSKEYC=< auth,encry,key><CR>
+ok<CR>< LF ><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
This Instruction only effective for WIFI232 works as STA. After WIFI232 module boots up again, the
setting will be effective. But user can set this command when module configured as AP.
5.2.2.2.56 AT+ WSLQ
Function: Set/query the critiacl value of network switching.
Format:
Query Operation
AT+ WSLQ<CR>
+ok=<ret><CR>< LF ><CR>< LF >
Set Operation
AT+ WSLQ< auth,encry,key><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
ret:The percentage of signal intensity, such as signalstrength was 50%, setting
should be AT+WSLQ=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.
Page 67 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
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 WIFI232.
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.
6.1.3 Debug
As shown above, opened in PC program, set the COM export and open the serial port connection
Page 68 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Open test software TCP232-Test.exe, selection of hardware attached to the computer's serial number,
this is COM10, 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.
Page 69 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Because of the WIFI232 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.
Page 70 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Figure 46 The test results show that the network and serial port
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 TCP232-Test we provide testing, or just RXD TXD GND connected the three line to the
computer, please notice.
For this wireless control application, WIFI232 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 WIFI232 module.
Page 71 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
For this remote management application, WIFI232 works as STA mode and connects to Internet
through wireless AP. Module configured as TCP Client and communicates with remote TCP 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.
For left side WIFI232 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 WIFI232 module, configured as STA mode and setting the same SSID (”WIFI232” for
this example)with left side WIFI232 module, enable DHCP network and network protocol configured
as TCP/Client mode, protocol port ID: 8899. Target IP address part setting the same IP address with
left side WIFI232 module (“10.10.100.254” for this example).
When right side WIFI232 boot up, it will find wireless AP (SSID:WIFI232 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 WIFI232 module through serial port
can communicate each other and think the connection between them is fully transparent.
Note: LAN IP address and WAN port should in different segment, as picture shown, we change
to 10.10.99.254 (the address get from left module WAN port DHCP is 10.10.100.xxx)
Page 72 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
As above figure, one WIFI232 configured as AP mode and all others configured as STA mode. All
WIFI232 which configured as STA and data server PC wireless connected to WIFI232 which
configured as AP to make up a wires network.
Data server PC open TCP/Server protocol and all WIFI232 modules open TCP/Client protocol. All data
acquisition cards‟ data and sampling information can be transmitted to data server PC for operation.
Page 73 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Q2: Where to Set WIFI Module LAN IP and WAN IP through Web
Page?
WIFI232 Wireless LAN IP address setting see “AP Interface Setting Page” as below Figure,
Page 74 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
WIFI232 Wireless WAN IP address setting see “STA Interface Setting Page” as below Figure,
User can set WAN connection type to DHCP and STATIC IP.
Page 75 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
WIFI232 network protocol setting see “Application Setting Page” as below Figure,
Protocol: TCP Server
Only Port ID required: 8899 (Default)
Protocol: UDP
No Server/Client selection required;
Application IP address required: it‟s target device „s IP address;
Page 76 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Port ID required: 8899 (Default)
Page 77 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
module?
The following address allocation method can avoid the IP address confliction for dynamic and
static IP address mixed application.
Module 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 AP, the IP address module
can allocate to STA is from 10.10.100.100 to 10.10.100.200;
So, if user needs to set static IP for dedicated STA internal network, the available IP
address range can start from 10.10.100.1 to 10.10.100.99.
Network structure as below figure: Three WIFI232 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:
IP address: 10.10.100.100;
Network Protocal:TCP/Server, Port ID: 8899;
Page 78 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Module 1# Setting:
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;
Module 2# Setting:
Works as STA mode;
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 STA mode;
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);
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.
Page 79 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
module?
All wifi module supports UDP search,they will return to their respective IP, MAC, MID, detailed
search process is as follows:
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).
So you can get to the IP address of the module.
Page 80 of 81
WAVESHARE ELECTRONICS WIFI232 User Manual
Appendix c: Disclaimer
This document provides information about WIFI232 modules, this document does not
grant any license to intellectual property rights. Except the responsibility declared in the
product sale clause, WAVEAHARE does not assume any other responsibilities. In addition,
WAVEAHARE does not make any warranties for the sale and use of this product, including
the suitability of the product for a particular purpose, merchantability or fitness for any
patent, copyright or other intellectual property infringement, etc. WAVEAHARE may make
changes to specifications and product descriptions without notice.
Page 81 of 81