Protocol Transmission - Ebyte E103-W03 Product Instruction Manual

Cc3220r 2.4ghz wifi serial port module
Hide thumbs Also See for E103-W03:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.
network is sent directly without any format. Command AT+MODE=x.1,x sets the second bit to 1 to configure the module
to work in transparent transmission mode.

5.2.2 Protocol Transmission

When supporting multiple sockets, in order to distinguish the source and destination of data, we define it as a
protocol transmission, which includes specified sending and broadcast sending.
5.2.2.1 Specify Send
Specifying to send means that the data packet input to the serial port contains a unique socketed ID label, and the
module transmits the data to the corresponding socket connection according to this ID number.
fixed head: 0xAA 0xFE 0x55
Socket ID:
0x00, represents the discovery of Socket 0 link
0x01, represents the discovery of Socket 1 link
0x02, represents the discovery of Socket 2 link
0x03, represents the discovery of the Socket 3 link
Data: Application Payload
For example: AA FE 55 00 AA BB CC In protocol transmission mode, send AA BB CC to Socket 0 through serial
port
5.2.2.2 Broadcast transmission
When the Socket ID is 0xff, it means broadcasting. If a 4-way connection is established, the data will be sent to the
4-way socket at the same time, otherwise, the data will be sent to the established connection.
5.2.2.3 Protocol reception
fixed head:
Socket ID:
For example: AA FE 55 00 00 03 11 22 33 In protocol mode, the 3-byte data received from Socket0, the content is: 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.
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
fixed head
Socket ID
3 Byte
1Byte
fixed head
Socket ID
3 Byte
1Byte
0xAA 0xFE 0x55
0x00, represents the discovery of Socket 0 link
0x01, represents the discovery of Socket 1 link
0x02, represents the discovery of Socket 2 link
0x03, represents the discovery of the Socket 3 link
length:
The actual length of the application data, range: 0~1000
data:
Application Payload
Data
N Byte
length
Data
2Byte
N Byte
E103-W03 User Manual
13

Advertisement

Table of Contents
loading

Table of Contents