EasyManua.ls Logo

Ebyte E104-BT52 - 6.4.24 AT+BONDMAC add bound MAC address; 6.4.25 AT+BONDDEL delete bond MAC address; 6.4.26 AT+SCAN scan

Ebyte E104-BT52
38 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Copyright ©2012–2022Chengdu Ebyte Electronic Technology Co.,Ltd
20
+ERR=[NUM]: error
Parameter
Para0(ASCII)
Description
Para1ASCII: connected device role + connected
device MAC address + send data to the handle of the
connected device
0~1
Connection number
Note
Effective immediately. Sending data to the handle of the connected device is only valid when our device is
the master.
For example,
CommandAT+CONNIFO=0
6.4.24 AT+BONDMAC add bound MAC address
Command
Response
Inquiry
AT+BONDMAC?
+OK=[sum][ [mac] [mac]…]
Set
AT+BONDMAC=[mac]
+OK
success
+ERR=[NUM]
error
Parameter
sum(HEX): sum of currently bound MAC address
mac(HEX)
6bytes mac address;
Note
1. Take effect immediately, save when power off
2. When no MAC address is bound, no data will be returned
For example,
InquiryAT+BONDMAC?
Return: 2B 4F 4B 3D 03 CC 34 27 1A 0C D4 3D 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.25 AT+BONDDEL delete bond MAC address
Command
Response
Set
AT+BONDDEL=[mac]
+OK
+ERR=[NUM]
Parameter
mac
6 bytes mac address
Note
1
Take effect immediately, save when power off
2
Delete specific mac address
6.4.26 AT+SCAN scan
Command
Response
Inquiry
AT+SCAN?
+OK=[para]
Set
AT+SCAN=[para]
+OKsuccess
+ERR=[NUM]error

Table of Contents

Related product manuals