Waveshare UART-WIFI232-B2 User Manual page 34

Table of Contents

Advertisement

UART-WIFI232-B2 User Manual
The parameters of WIFI serial server are set as follows:
(1) Enable WIFI serial server AP+STA function
AT+FAPSTA=on
(2) Effective after restoring factory settings
AT+RELD
(3) Set the WIFI serial server to STA mode, and at this time, the WIFI serial server AP interface is
still valid:
AT+WMODE=STA
(4) Set the parameters for the WIFI serial server to connect to the route (assuming the route
SSID in the figure above is WAVESHARE-WIFI-TEST, the encryption mode algorithm is WPA2PSK, AES,
and the password is www.waveshare. com), as follows:
AT+WSSSID=WAVESHARE-WIFI-TEST
AT+WSKEY=WPA2PSK, AES, www.waveshare.com
(5) Set up SocketA and SocketB
Example of SocketA settings:
AT+NETP=TCP, Server, 8899,10.10.100.100.100
Set the IP and port number of the server to connect to (based on actual parameters)
SocketB settings example:
AT+TCPADDB=192.168.1.100
AT+TCPPTB=18899
(6) Restart the WIFI serial server:
Figure Wireless networking application (AP+STA)
34
www.waveshare.com

Advertisement

Table of Contents
loading

Table of Contents