Waveshare UART-WIFI232-B2 User Manual page 36

Table of Contents

Advertisement

UART-WIFI232-B2 User Manual
acting as a STA to connect to an existing wireless network, and the other interface serving as an AP,
allowing other STAs to connect to the wireless network through this device.
(6) Restart the WIFI serial server:
The No.1 WIFI serial server works in STA mode and No. 2 works in AP mode:
(1) set the No.1 WiFi serial server as STA.
AT+WMODE=STA
For No.2 WIFI serial server, set it as AP.
AT+WMODE=AP
(3) No.1 WIFI serial server is connected to AP(WIFI serial server 2) as a STA, so the SSID and password
to be connected to WIFI serial server 1 are the AP parameters of WIFI serial server 2.
The SSID and password of No.2 WIFI serial server can be queried by using the following AT
instructions:
AT+WAP
AT+WAKEY
You can also choose settings as required, or use default parameters. Examples of parameter
settings for WIFI serial server 2 are as follows:
At+WAP = 11bgn, waveshare-test, auto (optional)
AT+WAKEY=WPA2PSK,AES,12345678 (optional)
An example of parameter setting for No.1 WIFI serial server is as follows (set the SSID and
password of WIFI serial server 2 corresponding to the connected AP parameters), as follows:
AT+WSSSID=UART-WIFI232-B2-TEST
AT+WSKEY=WPA2PSK,AES,12345678
Figure AT+TCPPTB=18899
36
www.waveshare.com

Advertisement

Table of Contents
loading

Table of Contents