Chengdu Ebyte Electronic Technology Co.,Ltd
E104-BT53C3 Manual User
Copyright ©2012–2020
,Chengdu Ebyte Electronic Technology Co.,Ltd
20
Para3: Whether to display the Bluetooth name, 0: no 1: display (default)
Description
Take effect immediately, power failure does not save;
This command takes effect only for the primary role (single master, master slave).
Scanning stops automatically when the number of devices reaches 20 or the scanning timeout
period is reached.
If Observer is already enabled, using this command disables the observer feature.
Example
Example Query scan parameters of the primary role
Instruction: AT+SCAN?
Return: +SCAN=0,20,1
Set the scanning parameters of the main role (start scanning, do not display the Bluetooth
name, scan time 20 seconds)
Command: AT+SCAN=1,20,0
Return: +OK
6.3.13 The Master role scans the physical layer
Command
Reply
Inquire
AT+SCAN_PHY?
+ SCAN=[para]
Setting
AT+ SCAN_PHY =[para]
+OK:success
+ERR=[NUM]:Error
Parameters
0:1M PHY(default);
1:LE CODED PHY。
Description
Effective immediately, power off save;
If the scanned physical layer of a primary role is set to LE CODED PHY, only secondary devices
at the same physical layer can be scanned and connected to only secondary devices at this
physical layer.
Only the primary role (single-master, master-slave) supports this command.
Example
Example Query scan parameters of the primary role
Command: AT+SCAN_PHY?
Return: +SCAN_PHY=0
Set the physical layer scanned by the primary role to LE CODED PHY
Command: AT+SCAN_PHY=1
Return: +OK
6.3.14 Master role linkage
Command
Reply
Setting
AT+ CONNECT=<para1>, <para2>
+OK:Success
+ERR=[NUM]:Error
Parameters
para1: Returns the serial number or MAC address in the list according to the "AT+SCAN" command
to connect to the specified secondary device.
para2: indicates the MAC address.