Chengdu Ebyte Electronic Technology Co., Ltd.
E103-W03 _User Manual _EN_V1.1
Copyright ©2012–2022, Chengdu Ebyte Electronic Technology Co., Ltd
.
18
7.
*
Open the TCP debugging assistant, because the module is a server, so create a client here, and enter the
corresponding IP and port information in step 7, as shown in the figure:
8.
*
Communication, before communication, you need to pay attention that if the module is in AT mode, you need to exit
the AT command, AT+EXIT
So far, the data transmission based on the AP mode is completed.
Other transmission modes and service modes are set based on this.
6.1.1.2 The STA role communicates with the TCP client of the PC
In order for the module to communicate with the PC under the role of STA, it is necessary to ensure that the PC and the
module are in the same local area network. Here, the mobile phone hotspot is used as a tutorial, and a router can also be
used. The other two TCP servers and UDP of STA also refer to this process, just set different modes through the
AT+MODE command.
1. * Turn on the hotspot of the mobile phone, connect the PC to the hotspot, and find the IP address assigned to the PC by
the hotspot. This step is very important. If the IP address is incorrect, communication will not be possible. (can also be
connected to a router)