User's Manual

Copyright ©20122020Chengdu Ebyte Electronic Technology Co.,Ltd
15
Inquiry
AT+ADV?
+OK=[para]
Set
AT+ADV=[para]
+OKsuccess
+ERR=[NUM]error
Parameter
paraASCII
Description
0
Turn off
1
Turn ondefault
2
iBeacon
Note
1. Take effect immediately (if the broadcast is not turned on, or it is connected, it will take effect next time),
save when power off;
2. The slave or master-slave integrated supports broadcasting.
5.4.12 AT+ADVDAT advertising data
Command
Response
Inquiry
AT+ADVDAT?
+OK=[para]
Set
AT+ADVDAT=[para]
+OKsuccess
+ERR=[NUM]error
Parameter
para(HEX):
1For ASCIIHEX
2Length is less than 26 bytes.
Note
1. Take effect immediately (if the broadcast is not turned on, or it is connected, it will take effect next time).
Save when power off;
2. The slave or master-slave integration supports broadcasting, and other roles can still be configured;
For example,
Command41 54 2b 41 44 56 44 41 54 3d 31 32 33 34 35 36 37 38 39 30
Adv data31 32 33 34 35 36 37 38 39 30
5.4.13 AT+ADVINTV advertising interval
Command
Response
Inquiry
AT+ADVINTV?
+OK=[para]
Set
AT+ADVINTV=[para]
+OKsuccess
+ERR=[NUM]error
Parameter
para(ASCII):20~10240
default10001S
Note
1. Take effect immediately (if the broadcast is not turned on, or it is connected, it will take effect next time),
save when power off
2. The slave or master-slave integrated supports broadcasting, other roles can still be configured;
For example,
AT+ADVINTV=1000