Wired Networking Application (Routing) - Waveshare UART-WIFI232-B2 User Manual

Table of Contents

Advertisement

UART-WIFI232-B2 User Manual
Serial server parameter setting:
(1) Enable Ethernet port
AT+FEPHY=on
(2) Set the serial server Ethernet port to work in WAN port mode
AT+FVEW=enable
(3) Restore factory settings for the above settings to take effect
AT+RELD
Note: The AT+RELD command will not restore the above settings.
(4) The serial server is operating in AP mode and DHCP is enabled (default, select settings)
AT+WMODE=ap
AT+DHCPDEN=on
(5) Considering security, you can modify the AP name and encryption parameters (optional).
AT+WAP=11BGN,B2-WIFI-TEST,Auto (select setting)
AT+WAKEY=WPA2PSK,AES,waveshare (select setting)
(5) You can choose to set the LAN parameters of the serial server, including IP address (DHCP
gateway) and subnet mask (optional).
AT+LANN=192.168.2.1,255.255.255.0
Note: it is necessary to ensure that the
address obtained by the serial server from the AP!
the WANIP
(6) Restart the serial server to complete the parameter setting.

5.4.3 WIRED NETWORKING APPLICATION (ROUTING)

The UART-WIFI232-B2 serial server as STA, and the serial server works in router mode. After the
serial server is connected to the AP, it obtains the IP address from the AP (as shown in Figure
192.168.1.101). The serial server itself constitutes a subnet (10.10.100.254 by default), and the
devices on the Ethernet interface are assigned addresses by the serial server (as shown in Figure
Figure Attached Private Wide Area Network (APWAN)
set LANIP address cannot be in the same network segment as
40
www.waveshare.com

Advertisement

Table of Contents
loading

Table of Contents