Waveshare UART-WIFI232-B2 User Manual page 41

Table of Contents

Advertisement

UART-WIFI232-B2 User Manual
10.10.100.101). As shown in this figure, PC1 is in the subnet (NAT), so the connection can be initiated
from PC1 and connected to PC2 (because UART-WIFI232-B2 works in routing mode), but PC2 cannot
actively connect to PC1.
Serial server parameter setting:
(1) Set the serial server software version to N-Ver.
AT+FVER=n
(2) Enable Ethernet interface.
AT+FEPHY=on
(3) Restore factory settings for the above settings to take effect..
AT+RELD
Note that the AT+RELD command will not restore the above settings.
(4) Set the serial server to STA
AT+WMODE=STA
(5) Set the SSID and password of the route to be connected to the serial server (according to the
actual parameters of the route).
Example: AT+WSSSID=WAVESHARE-WIFI-TEST
AT+WSKEY=WPA2PSK,AES,www.waveshare.com
(6) Set the serial server LAN parameters, IP address (DHCP gateway) and subnet mask.
Inquire about the IP obtained by the serial port server from the AP:
AT+WANN
Set the LAN parameters of the serial server to ensure that the LANIP address cannot be in the
same network segment as the WAN IP address obtained by the serial server from the AP. In this case,
since it is not in the same network segment, you can use the default instead of setting it.
AT+LANN=10.10.100.254,255.255.255.0 (optional)
Figure Wired and Wireless Networking Application (Routing)
41
www.waveshare.com

Advertisement

Table of Contents
loading

Table of Contents