
Chengdu Ebyte Electronic Technology Co.,Ltd.
E104-BT02 User Manual
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
11
6.9 Instruction for starting broadcast
Instruction
Description
<STARTADV>
Start broadcasting
When succeed return to <OK>
6.10 Instruction for stopping broadcast
Instruction
Description
<STOPADV>
Stop broadcasting
When succeed return to <OK>
6.11 Broadcast state inquiry
Instruction
Description
<ADVSTATE>
Read present broadcast state
For example, when broadcast is started, return to <ADVON>, when closed, return to <ADVOFF>
Special note: When broadcast is started in any case (including sleep mode), module will carry out periodic broadcasting according
to configured gap. This instruction only supports master. Slave sends instruction and returns to <INVALID_ERR>.
6.12 Set general broadcasting data
Instruction
Description
<ADVDATAxxx>
Set broadcasting data of max 22 bytes (hex) assigned by xxx, update data in the
next broadcasting period, and clear data if it is not assigned by xxx.
Length of broadcasting data is out of range, return to<RANGE_ERR>, when succeed, return to<OK>.
Special note: General broadcasting and IBeacon broadcasting can be started at the same time, i.e., every two general broadcasting
data is broadcasted, two IBeacon broadcasting data is switched. Special note: General broadcasting and IBeacon broadcasting can
be started at the same time, i.e., every two general broadcasting data is broadcasted, two IBeacon broadcasting data is switched.
6.13 Set IBeacon broadcasting data
Instruction
Description
<IBACONxxx>
Set broadcasting data of max 25 bytes (hex) assigned by xxx, update data in the
next broadcasting period, and clear data if it is not assigned by xxx.
Length of broadcasting data is out of range, return to<RANGE_ERR>, when succeed, return to<OK>.
Special note: General broadcasting and IBeacon broadcasting can be started at the same time, i.e., when every two general
broadcasting data is broadcasted, two IBeacon broadcasting data is switched.