Chengdu Ebyte Electronic Technology Co.,Ltd
E104-BT53C3 Manual User
Copyright ©2012–2020
,Chengdu Ebyte Electronic Technology Co.,Ltd
17
Example
Set the broadcast data to ebyte
Command :AT+ADVDATA=ebyte
Return :+OK
Set the broadcast data to 0x55 0x66 0x77 0x88 0x99
Instruction :AT+ADVDATA=1,5566778899
Return :+OK
6.3.8 telecast(Long Range)
Command
Reply
Inquire
AT+LE_CODED?
+ LE_CODED =[para]
Setting
AT+ LE_CODED =[para]
+OK:success
+ERR=[NUM]:Error
Parameters
0: Turn off remote broadcast (default)
1: Enable remote broadcast
Description
Effective immediately, power off save;
After remote broadcasting is enabled, if the command "AT+ADV_EXT" is not used to set user
data, the device with the broadcast name is default. The primary role that is in LE CODED
physical layer (set by AT+SCAN_PHY) can scan the device and establish a connection. However,
set the user to extend the broadcast data will become unscannable and unconnected devices;
Beacon role and single master role do not support this directive.
Version A1 does not support this directive.
Example
Query remote broadcast
Instruction :AT+LE_CODED?
Return :+LE_CODED=0
Turn on telecast
Command :AT+LE_CODED=1
Return :+OK
6.3.9 Extended broadcast
Command
Reply
Inquire
AT+ADV_EXT?
+ ADV_EXT =[para1],[para2]
Setting
AT+ ADV_EXT =[para1],[para2]
+OK:success
+ERR=[NUM]:Error
Settings
(Not saved)
AT+ ADV_EXT_CUR =[para1],[para2]
+OK:success
+ERR=[NUM]:Error
Parameters
para1: Large broadcast data length ranging from 0 to 251
para2: indicates the data timeout period. The value ranges from 1 to 5000
Description
Take effect immediately, save power failure (except AT+ ADV_EXT_CUR);
The user can customize the extended broadcast data to be 251 bytes at most. When enabled, the extended
broadcast will become a nameless device, and the module will automatically add the broadcast length