Sta Joins The Routing Function; Sta Address Binding Function; Socket Communication - Waveshare UART-WIFI232-B2 User Manual

Table of Contents

Advertisement

UART-WIFI232-B2 User Manual
4.WPA2-PSK/AES
Note: The passwords of WPA-PSK and WPA2-PSK are 8-63 digits.

6.2.3 STA JOINS THE ROUTING FUNCTION

The working mode of UART-WIFI232-B2 is set to Station mode. Click the "Search" button in the
"Wireless Terminal Settings" page, and a window will pop up to display the information of the
surrounding AP. After selecting the router, you will return to the original page. At this time, the
encryption mode and encryption algorithm have been filled in, and you only need to write the
password as prompted.

6.2.4 STA ADDRESS BINDING FUNCTION

UART-WIFI232-B2 supports the function of binding the BSSID of the destination network during
the networking process (as STA, during the AP connection process). According to the 802.11 protocol,
different wireless networks can have the same network name (i.e. SSID/ESSID), but must correspond
to a unique BSSID address (i.e. MAC address). Because illegal intruders can establish wireless
networks with the same SSID/ESSID to connect STAs in the network to illegal APs, resulting in network
leakage. So by binding BSSID addresses, STA can be prevented from accessing illegal networks,
thereby improving the security of wireless networks.

6.3 SOCKET COMMUNICATION

The working methods of SocketA include: TCP Server, TCP Client, UDP Server, and UDP Client.
Currently, SocketB supports TCP client and UDP Client.
When SocketA is configured as TCPServer, it can support up to a maximum of 24 TCP client
connections in the TCP link. In a multi TCP link connection, data transmitted from TCP will be
forwarded one by one to the serial port. The data coming from the serial port will be duplicated and
forwarded to each TCP connection, resulting in multiple copies being sent to each connected TCP link.
The specific data flow chart is shown as follows:
SocketA settings: AT+NETP/AT+TCPTO/AT+TCPLK/AT+TCPDIS
Figure multi-TCP link data transmission diagram
58
www.waveshare.com

Advertisement

Table of Contents
loading

Table of Contents