Chengdu Ebyte Electronic Technology Co., Ltd.
E103-W03 _User Manual _EN_V1.1
Copyright ©2012–2022, Chengdu Ebyte Electronic Technology Co., Ltd
.
24
STA configuration:
Mode: AT+MODE=2,1,2
Target: AT+STACON=E103-W03,2,12345678
Set the remote IP and port. Here, the local IP obtained in the AP configuration is passed in as the remote IP of
the STA:
AT+SOCKET=0,4001,192.168.1.1
After the configuration is complete, restart the module, wait for the connection to complete, and then send data.
Special attention is required: before starting STA, the IP address of the AP connected to it must be passed in. Otherwise, a
normal network connection cannot be established.
If the AP turns on the protocol transmission mode at this time, it can support the connection of 4 STAs, and the
configuration method of the remaining STAs is the same.
For STA-STA communication, the two modules need to be connected to the same router. Here, the SSID of the target AP
is E103-W03 for demonstration.
STA1 configuration process
Mode: AT+MODE=2,1,1