Chengdu Ebyte Electronic Technology Co., Ltd.
Copyright ©2012–2020
,
Chengdu Ebyte Electronic Technology Co., Ltd
15
6.19 Query/Set advertising data
Command
Description
Echo
AT+ADVDATA
Query/Set advertising
data
Example: OK--AT+ADVDATA: 0x0A00010203040506070809
After executing AT+ADVDATA=0A00010203040506070809, the module will return PARA SET:
0x0A00010203040506070809.
The above parameter 0A represents the length of the data to be input, and 00010203040506070809 represents the data to
be input. The input data is entered in hexadecimal format. For example, 00 stands for 0x00, 01 stands for 0x01, and 02
stands for 0x02. The data length does not exceed 23 bytes.
6.20 Query/Set IBEACON data
Command
Description
Echo
AT+IBEACON
Query/Set IBEACON data
Example: OK--AT+ADVOFF: Advert closeing...
After executing AT+IBEACON=, the module will return PARA SET:
0x020106061AFF4C000215B9407F30F5F8466EAFF925556B57FE6D0049000AC5.
The character length does not exceed 31 bytes.
The parameters under this command should be in accordance with the format specified by Apple's official IBEACON
protocol.
6.21 Scan advertising device
Command
Description
Echo
AT+SCAN
Scan advertising device
Example: OK--AT+SCAN: Discovering with AT_SCAN...
Device 1: 0xDE798E2D0798
If a device is broadcasting, a scan to the device's MAC address will be printed. The broadcast scanned by this instruction
must be the same type of broadcast as the device service. If the service number of the module is FFF0, only the device
with the service number FFF0 can be scanned, and other service numbers cannot be scanned.
6.22 Connect to specified device
Command
Description
Echo
AT+CONNECT=1
Connect to specified
device
CONNECT OK,
After executing this command, the module will return to display the connection success message CONNECT OK.
When the connection is successfully established, the IOID_8 pin will be pulled low and when disconnected, DIO_8 will be
set high.