
To configure your EBYTE E103-W11 WiFi 6+BLE 5.1 Serial to WiFi Module for TCP client mode and connect it to a network server, follow these steps, referencing the module's AT command set:
Set Station (STA) Mode and Save: First, configure the module to operate in Station mode. This allows it to connect to an existing WiFi network. Save this setting to the module's flash memory:
AT+CWMODE=1,"s.y"
Connect to Your WiFi Network: Next, connect the module to your WiFi network using the SSID and password:
AT+CWJAP="Test11","12345678","s.y"
Replace "Test11" and "12345678" with your network's SSID and password, respectively. The "s.y" argument may be related to the settings; review the module's documentation for specific requirements for your network.
Establish the TCP Connection: Initiate a TCP connection to your network server. Specify the server's IP address and the port number you wish to use:
AT+CIPSTART="TCP","192.168.1.100",1001
Replace "192.168.1.100" with your server's IP address and "1001" with the desired port number.
Enable Transparent Transmission (Optional): If you need transparent transmission, which directly forwards serial data over the TCP connection, enable this mode:
AT+CIPMODE=1
Send Data: Send data over the established TCP connection. This step will vary depending on if transparent mode is enabled or not.
AT+CIPSEND
If transparent transmission is enabled, the module will then display the ' > ' symbol, indicating it is ready to receive data, which it will then transmit to the server.
Data Transmission: Once the ' > ' symbol appears (if transparent mode is enabled), you can send your data to the network server. The module will forward this data through the TCP connection.
By carefully following these steps and using the correct AT commands, your EBYTE E103-W11 module should successfully connect to your network server in TCP client mode. Always consult the EBYTE E103-W11 module's datasheet for the most up-to-date and specific command details and settings.


