Chengdu Ebyte Electronic Technology Co., Ltd
Copyright ©2012–2019
,
Chengdu Ebyte Electronic Technology Co., Ltd
19
+ERR=[NUM]
:
error
Parameter
para
(
HEX
)
:device ID;
Default: <MAC> 00 00
Remark
1
、
take into effect after reset and save when power off
;
2
、
Max length is 8bytes
5.4.14 AT+ADV enable advertising
command
respond
Inquire
AT+ADV?
+OK=[para]
Set
AT+ADV=[para]
+OK
:
success
+ERR=[NUM]
:
error
Parameter
para
(
ASCII
)
Description
0
Close advertising
1
Normal advertising
(
default
)
2
iBeacon
Remark
1
、
Take into effect immediately
(
if advertising is not enabled, or it is connected, then take into effect
next time
),
save when power off
;
2
、
Available for slave only.
5.4.15 AT+ADVDAT advertising data
command
respond
Inquire
AT+ADVDAT?
+OK=[para]
Set
AT+ADVDAT=[para]
+OK
:
success
+ERR=[NUM]
:
error
Set
(do not save)
AT+ADVDAT1=[para]
Parameter
para(HEX):
1
、
Available for ASCII
、
HEX
2
、
Length is within 26 bytes
Remark
1
、
Take into effect immediately
(
if advertising is not enabled, or it is connected, then take into effect
next time
),
save when power off
;
2
、
Advertising available for slave only, other role can configurate
;
For example
command
:
41 54 2b 41 44 56 44 41 54 3d
31 32 33 34 35 36 37 38 39 30
;
advertising data
:
31 32 33 34 35 36 37 38 39 30
5.4.16 AT+ADVINTV advertising gap
command
respond
Inquire
AT+ADVINTV?
+OK=[para]
Set
AT+ADVINTV=[para]
+OK
:
success