Played a little with the new WiFi module W02 ...
It looks like they have their own firmware there.
I did not find how to configure it manually.
It works like this:
Identification:1. Communication check: "AT\r\n"
41 54 0d 0a AT..
4f 4b 0d 0a OK..
2. Module identification: "AT+MODELNAME\r\n"
41 54 2b 4d 4f 44 45 4c 4e 41 4d 45 0d 0a AT+MODELNAME..
57 30 32 0d 0a W02..
PS: The old module W01 will return the ERROR.
Next, if the module has not yet been configured.
Its configuration is made:1. Reset settings, and entering the configuration mode: "AT+RESTORE\r\n"
NOTE: There is no answer.
41 54 2b 52 45 53 54 4f 52 45 0d 0a AT+RESTORE..
2. Run the app and start the initialization process.
After a while, the answer comes (sometimes several times).
Here we get server IP address.
43 4f 4e 46 49 47 4f 4b 2b 49 50 3a 31 39 32 2e CONFIGOK+IP:192.
31 36 38 2e 31 2e 31 36 37 0d 0a 168.1.167..
43 4f 4e 46 49 47 4f 4b 2b 49 50 3a 31 39 32 2e CONFIGOK+IP:192.
31 36 38 2e 31 2e 31 36 37 0d 0a 168.1.167..
PS: IP address (server) is stored inside the WiFi module.
The RDxxxx module also saves IP, just to display it on the screen.
3. In the app, set the checkbox "Device displays Server IP", and tap "Confirm".
Next, something else happens inside the module, and it answers:
57 49 46 49 4f 4b 0d 0a WIFIOK..
WIFIOK - Connected to WiFi successfully (or no answer).
4. Connection to the server: "AT+TCPCONNECT\r\n"
41 54 2b 54 43 50 43 4f 4e 4e 45 43 54 0d 0a AT+TCPCONNECT..
54 43 50 4f 4b 0d 0a TCPOK.
TCPOK - Connected to the server successfully (or no answer).
5. That's all.
Tap "Connect" in the app (sends ModBus commands):
01 03 00 00 00 02 c4 0b
01 03 00 00 00 02 c4 0b
If the module has already been previously configured:1. Connection to WiFi: "AT+WIFICONNECT\r\n"
41 54 2b 57 49 46 49 43 4f 4e 4e 45 43 54 0d 0a AT+WIFICONNECT..
57 49 46 49 4f 4b 0d 0a WIFIOK..
WIFIOK - Connected to WiFi successfully (or no answer).
2. Connection to the server: "AT+TCPCONNECT\r\n"
41 54 2b 54 43 50 43 4f 4e 4e 45 43 54 0d 0a AT+TCPCONNECT..
54 43 50 4f 4b 0d 0a TCPOK..
TCPOK - Connected to the server successfully (or no answer).
3. That's all.
I'm trying to configure module manually through AT commands.41 54 2b 43 57 4a 41 50 3d 22 53 53 49 44 22 2c AT+CWJAP="SSID",
22 70 61 73 73 77 6f 72 64 22 0d 0a "password"..
57 49 46 49 4f 4b 0d 0a WIFIOK..
If SSID and Password are correct, and the module can be connected to WiFi, then
it answers WIFIOK (there will be no answer otherwise).
Note: SSID and Password are stored in the module (but sometimes reboot happens, and SSID and pass are not stored).
Now it is enough to send the command: "AT+WIFICONNECT\r\n", for establish WiFi connection.
Until this moment, everything is OK.
But how to set the IP address of the server? I can't find.

ChatGPT says to use:AT+TCPCONNECT="IP","Port"
But, getting error:

41 54 2b 54 43 50 43 4f 4e 4e 45 43 54 3d 22 31 AT+TCPCONNECT="1
39 32 2e 31 36 38 2e 31 2e 31 36 37 22 2c 38 30 92.168.1.167",80
38 30 0d 0a 80..
65 72 72 6f 72 0d 0a 00 error...
41 54 2b 54 43 50 43 4f 4e 4e 45 43 54 3d 22 31 AT+TCPCONNECT="1
39 32 2e 31 36 38 2e 31 2e 31 36 37 22 2c 38 30 92.168.1.167",80
38 30 2c 35 30 30 30 0d 0a 80,5000..
65 72 72 6f 72 0d 0a 00 error...
41 54 2b 54 43 50 53 54 41 54 55 53 0d 0a AT+TCPSTATUS..
65 72 72 6f 72 0d 0a 00 error...
41 54 2b 47 4d 52 0d 0a AT+GMR..
65 72 72 6f 72 0d 0a 00 error...
41 54 2b 43 49 50 53 54 41 3f 0d 0a AT+CIPSTA?..
65 72 72 6f 72 0d 0a 00 error...
41 54 2b 43 49 50 41 50 3f 0d 0a AT+CIPAP?..
65 72 72 6f 72 0d 0a 00 error...
41 54 2b 43 49 50 53 54 41 54 45 3f 0d 0a AT+CIPSTATE?..
65 72 72 6f 72 0d 0a 00 error...
41 54 2b 43 49 50 53 54 41 54 55 53 0d 0a AT+CIPSTATUS..
65 72 72 6f 72 0d 0a 00 error...
41 54 2b 43 49 50 53 54 41 52 54 3d 22 54 43 50 AT+CIPSTART="TCP
22 2c 22 31 39 32 2e 31 36 38 2e 31 2e 31 36 37 ","192.168.1.167
22 2c 38 30 38 30 0d 0a ",8080..
65 72 72 6f 72 0d 0a 00 error...