User's Manual

Copyright ©20122020Chengdu Ebyte Electronic Technology Co.,Ltd
18
5.4.20 AT+DISCON disconnect command
Command
Response
Set
(only master)
AT+DISCON=[para]
+OKsuccess
+ERR=[NUM]
error
Disconnect all
AT+DISCON
+OKsuccess
+ERR=[NUM]error
Parameter
para(ASCII)
Description
0~1
Disconnect specified connection
Note
1Take effect immediately
2if it is not connected, the modules will return index device no connect
5.4.21 AT+MAC local MAC address
Command
Response
Inquiry
AT+MAC?
+OK=[para]
Parameter
paraHEX:MAC address
For exampleF0E1D2C3B4A5
Note
Take effect immediately, save when power off.
For example,
commandAT+MAC?
Return2B 4F 4B 3D FE 30 EE 50 35 DA
Explainlocal MAC address is FE 30 EE 50 35 DA
5.4.22 AT+CONINFO connection device info.
Command
Response
Inquiry
AT+CONINFO?
+OK=[para]success
+ERR=[NUM]: error
Parameter
paraASCII: connected device role + connected device MAC address + handle for sending data to connected
device
Note
Effective immediately. The handle that sends data to the connected device is only valid when our device is the
master.
For example,
commandAT+CONNIFO?
Return: