User's Manual
Chengdu Ebyte Electronic Technology Co., Ltd E104-BT5032A User Manual
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd
16
5.3 Data transmission mode
There are two transmission mode:transparent transmission and format transmission.
5.3.1 Transparent transmission
It refers to the data received by the serial port is sent to the other device through BLE without any processing, and the data
received by the BLE is sent through the serial port without any processing.
In slave mode, only data transparent transmission is available. The result of the command "AT+TRANMD" is invalid for the slave.
In master mode, data transparent transmission is sent to each connected slave module by advertising. Due to the use of broadcast
transmission, under extreme conditions, there is no guarantee that each slave will be able to receive data. The host is set to the
transparent transmission mode by the instruction "AT+TRANMD=1".
5.3.2 Format transmission
The data sent to the module through the serial port and the data transmitted through the serial port must be in accordance with the
defined format and transmitted. It should be noted that the format transmission of the module also supports the transmission of data in
a broadcast manner.
It is unavailable for salves.
Send to slaves command “AT+TRANMD=0” to switch it to format mode. Format is as follows:
Slave ID Valid data
1byte Max:243bytes
0~3/0xff
Salve ID:0~3. It is printed by master from “STA:connect,1<mac>” after mster and When slave ID is 0xff, every device is
under advertising.
Every packet output via uart is format transmission.
If connection defined by slave ID doesn’t exist, module will abandon this packet directly.
5.4 MAC address bonding
To enable MAC address bonding, the device connects only to devices with MAC added.
5.5 Advertising
5.5.1 Normal advertising info.
It includes advertising and scan respone,advertising is actively sent report,scan respone is responsed report after receiving scan
request from the master.
5.5.1.1 Advertising
Fixed field Len Manufa field Manufa data
020106 N 0xFF
configurable,max is 26 bytes