Chengdu Ebyte Electronic Technology Co., Ltd.
E103-W03 _User Manual _EN_V1.1
Copyright ©2012–2022, Chengdu Ebyte Electronic Technology Co., Ltd
.
12
5.4 Parameter configuration
There are three ways to configure parameters: AT command configuration based on serial port, remote AT configuration
based on UDP, and web page configuration based on browser. For detailed operation, see Chapter 6 AT Command
Description and Chapter 7 Tutorial.
5.4.1 Serial port AT configuration
When you need to use the serial port AT command to configure parameters, first send "+++" to enter the AT mode, and
then operate according to the AT command in Chapter 6. After the configuration is completed, some commands will take
effect immediately, and some commands will take effect after restarting. According to the instructions in the AT
command chapter prevail. To exit AT mode, send command: AT+EXIT. Sending "+++" command at any time will enter
AT mode. But AT+EXIT can only be used in AT mode, otherwise it is used as transmission data.
5.4.2 UDP remote configuration
UDP remote configuration is parameter configuration performed under the same network using network debugging tools,
which can also be called air configuration. There are two ways to enter remote configuration: when the module is in AP
mode, the PC is connected to the module; when the module is in STA mode, the PC and the module are connected to the
same router. The module will always listen to a fixed UDP port 8009. When the module and the terminal are in the same
network, set the corresponding IP and port to configure parameters. Remote configuration must be in AP mode or STA
mode, after the network connection has been established. P2P mode does not support this function.
5.4.3 Browser-based web page configuration
The webpage configuration must ensure that the PC and the module are in the same LAN. There are two ways to enter
the webpage configuration: the module is connected to the module from the PC in AP mode; the module is in STA mode,
and the PC and the module are connected to a router. The PC accesses the IP address of the module through the browser,
and accesses the static web page for parameter configuration.
5.5 Status indication
Status indication is to display the working status of the module through serial port printing or pin output level status.
Serial port indication: print "Entered AT mode" when entering AT command, print "Exited AT mode" when exiting AT
command, print "ERR=x" when AT command is wrong, and return the set value if AT command is correct.
Pin indications include WiFi connection status indication, socket connection status indication and module abnormality
indication. When the WiFi connection is established, the W_LINK pin outputs a high level, and if the connection is
disconnected, the W_LINK pin outputs a low level. When the socket connection is established, S_LINK outputs a high
level, and if the connection is disconnected, S_LINK outputs a low level.
The INDICATE pin remains low when the module is working normally. If the INDICATE pin of the module outputs a
high level abnormally, the module needs to be restarted at this time.