Chengdu Ebyte Electronic Technology Co.,Ltd.
E103-W03 User Manual
Copyright ©2012–2021
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
17
5.10 Static IP
In STA mode, it can support setting static IP, which is convenient to realize the communication of fixed IP. It should be
noted that the static IP address must be in the same network segment as the target router or target AP, otherwise the IP
address cannot be assigned and it will not work properly. For example, the target AP address is 192.168.1.1, then the
static IP address must be set to 192.168.1.x. Otherwise, the IP address cannot be assigned normally, and the module
cannot work. Static IP-related parameters can only be set or queried in STA mode, and corresponding AT commands are
not supported in other modes.
5.11 Pin restore factory parameters
This module will only actively detect the level state of the GPIO12 pin within 3 seconds when it is powered on. If it is
low, it will restore the parameters to the factory default parameters. There is no need to restart during use, and the
GPIO12 pin will be set to low level after the parameters are restored successfully.
5.12 Scan nearby AP information
When the module works in STA mode, you can use AT commands to scan the AP information nearby, if there is, the AP
information will be printed out through the serial port, the format is as follows:
fixed head
SSID
MAC(BSSID)
channel
rssi
+scan:
up to 32 bytes
17Bytes
up to 3 bytes
up to 3 bytes
+scan:
TEST_ZW
14:AD:CA:AA:91:D6 4
-69
1. Scanning for nearby APs can only take effect in STA mode, the connection mode is manual connection, and the wifi
connection has not been established, otherwise it will return ERR=-5, indicating that this operation is not supported in
this state.
2. Each parameter is separated by a comma ',' and terminated by a carriage return and line feed (\r\n). The MAC
addresses (BSSID) are separated by semicolon ':'
3. The module can only scan AP information in the 2.4G frequency band. The channel of 2.4G is [1,13].
4. A maximum of 30 AP information can be scanned in a single time.
5.13 Default parameters
Parameter
category
parameter name
parameter value
Related Instructions
serial port
baud rate
115200
AT+UART
digit
8
stop bit
1
parity
None
serial port timeout
40
(
ms
)
Serial frame length
1000
working frequency
2.4G