Transparent Serial Port Application - Waveshare WIFI232-B2 User Manual

Table of Contents

Advertisement

WIFI232-B2 User Manual
For this remote management application, WIFI232 works as STA mode and
connects to Internet through wireless AP. Module configured as TCP Client and
communicates with remote TCP server at Internet. Module's serial port connects to user
device.
So, user device's data or sampling information can send to remote TCP server for
storage or processing. Also remote TCP server can send command to control and
manage the user device through the wireless network.

6.3.3 Transparent Serial Port Application

For this transparent serial port application, two WIFI232 modules connect as below
figures to build up a transparent serial port connection.
Figure 52 Transparent Serial Port Application
For left side WIFI232 module, configured as AP mode and use default SSID and IP
address, network protocol configured as TCP/Server mode, and protocol port ID: 8899.
For right side WIFI232 module, configured as STA mode and setting the same SSID
("WIFI232" for this examples) with left side WIFI232 module, enable DHCP network and
network protocol configured as TCP/Client mode, protocol port ID:8899. Target IP
address part setting the same IP address with left side WIFI232 module ("10.10.100.254"
for this example).
When right side WIFI232 boot up, it will find wireless AP (SSID, WIFI232 for this
example) and open TCP/Client network protocol to connect with left side module's
TCP/Server. All these operations will be automatic and after finished, the two user
devices connected to WIFI232 module through serial port can communicate each other
and think the connection between them is fully transparent.
93 / 102

Advertisement

Table of Contents
loading

Table of Contents