Chengdu Ebyte Electronic Technology Co.,Ltd
E104-BT53C3 Manual User
Copyright ©2012–2020
,Chengdu Ebyte Electronic Technology Co.,Ltd
15
Setting
AT+ROLE=[para]
+OK:Success
+ERR=[NUM]:Error
Parameters
para
Characters
0
slave, single slave (default)
1
master, single master
2
slave and master. Slave and master
3
Beacon
Description
Restart takes effect, power failure save;
Switching the role will clear the list of automatic reconnection devices.
Beacon role serial port is off by default and unavailable, can be awakened by CTS pin rise
edge).
Example
Query module role
Instruction: AT+ROLE?
Return: +ROLE=0
Set the module role to single host
Command: AT+ROLE=1
Return: +OK
6.3.5 Transmitting power
Command
Reply
Inquire
AT+ PWR?
+ PWR =[para]
Setting
AT+ PWR =[para]
+OK:success
+ERR=[NUM]:Error
Parameters
The selectable value is-28,-20,-10,-5,-3,0,1,2,4,6
Description
Effective immediately, power off save;
Cannot be set when scanning, observer or connection is enabled, otherwise error code 3 is returned.
The actual power may differ slightly from the requested value;
The A1 version has a maximum transmit power of 0dBm, and the parameters using this instruction range
from -28 to 0dBm.
Example
Query transmit power
Command: AT+PWR?
Return: +PWR=0
Set the module transmit power to -5 DBM
Command: AT+PWR=-5
Return: +OK
6.3.6 Broadcast parameter
Command
Reply
Inquire
AT+ADV?
+ ADV =[para1],[para2],[para3]