Chengdu Ebyte Electronic Technology Co., Ltd.
E103-W03 _User Manual _EN_V1.1
Copyright ©2012–2022, Chengdu Ebyte Electronic Technology Co., Ltd
.
10
Fixed head:
0xAA 0xFE 0x55
Socket ID
:
0x00, representing the discovery of Socket 0 link
0x01, representing the discovery of Socket 1 link
0x02, representing the discovery of Socket 2 link
0x03, representing the discovery of Socket 3 link
Length
:
Application data actual length value, range: 0~1000
Data
:
Application Payload
For example: AA FE 55 00 00 03 11 22 33 In protocol mode, the 3-byte data received from Socket0 contains: 0x11
0x22 0x33
Use the command AT+MODE=x.2,x to set the second bit to configure the module to work in the protocol
transmission mode.
5.3 Service Mode
The service mode refers to the network protocol supported by the module and the role of the module under the network
protocol, that is, the server (server) and client (client), which are often referred to as server (server) and client (client).
Here, UDP, MQTT, HTTP client, WebSocket, etc. are all included to this mode. Note that the service mode has no effect
on the WiFi-Direct(P2P) role. Service mode includes the following.
5.3.1 TCP server
Let the module work as a TCP server. Use the command: AT+MODE=x,x,1 to set the third bit to configure the module to
work in TCP server mode.
5.3.2 TCP client
Let the module work as a TCP client. Use the command: AT+MODE=x,x,2 to set the third bit to configure the module to
work in TCP client mode.
5.3.3 UDP
In UDP mode, there is no distinction between server and client. Use the command: AT+MODE=x,x,3 to set the third bit
to configure the module to work in UDP mode. In addition, there is no concept of connection in UDP mode, so the
S_LINK pin will not be operated in the status indication.