User's Manual

Chengdu Ebyte Electronic Technology Co., Ltd E104-BT5032A User Manual
Copyright ©2012–2019Chengdu Ebyte Electronic Technology Co., Ltd
32
Set
only for slave
ROLE=0
AT+PEERMAC?
+OK=[para]success
+ERR=[NUM]: error
Query specified
connected MAC
address
AT+PEERMAC=[handle]
Parameter
MACHEX:MAC address;
handle(string):specify connection handle. Refer to 错误!未找到引用源。 multilink;
For example
CommandAT+PEERMAC?
Return2B 4F 4B 3D FE 30 EE 50 35 DA
Descriptionconnected device MAC is FE 30 EE 50 35 DA
6.4.28 AT+BOND enable bonding
command respond
Query AT+BOND? +OK=[para]
Set AT+BOND=[para]
+OKsuccess
+ERR=[NUM]error
Parameter
paraASCII
description
0
Bonding disableddefault
1 Enable bonding
Remarks Take into effect immediately, save when power off
6.4.29 AT+BONDMAC add more bond MAC address
command respond
Query AT+BONDMAC? +OK=[sum][ [mac] [mac]…]
Set AT+BONDMAC=[mac]
+OK success
+ERR=[NUM]error
Parameter
sum(HEX): current bond MAC address numbers
mac(HEX)6bytes mac address;
Remarks Take into effect immediately, save when power off
For example
QueryAT+BONDMAC?
Return: B 4F 4B 3D 03CC 34 27 1A 0C D43D AC 82 16 0F 58 D2 D4 C3 07 0E C4
Set41 54 2B 42 4F 4E 44 4D 41 43 3D CC 34 27 1A 0C D4
Return+OK
6.4.30 AT+BONDDEL delete bond MAC address
command respond