6.4.20 AT+DISCON disconnect command
Command
Set
AT+DISCON=[para]
(only master)
Disconnect all
AT+DISCON
Parameter
1、Take effect immediately
Note
2、if it is not connected, the modules will return index device no connect
6.4.21 AT+MAC local MAC address
Inquiry
AT+MAC?
para(HEX):MAC address
Parameter
For example:F0E1D2C3B4A5
Note
Take effect immediately, save when power off.
command:AT+MAC?
For example,
Return:2B 4F 4B 3D FE 30 EE 50 35 DA
Explain:local MAC address is FE 30 EE 50 35 DA
6.4.22 AT+CONINFO connection device info.
Command
Inquiry
AT+CONINFO?
para (ASCII) :
Parameter
device
Effective immediately. The handle that sends data to the connected device is only valid when our device is the
Note
master.
command:AT+CONNIFO?
For example,
Return:
Copyright ©2012–2020,Chengdu Ebyte Electronic Technology Co.,Ltd
para(ASCII)
0~1
Command
c
onnected device role + connected device MAC address + handle for sending data to connected
Response
+OK:success
+ERR=[NUM]:error
+OK:success
+ERR=[NUM]:error
Description
Disconnect specified connection
Response
+OK=[para]
Response
+OK=[para]:success
+ERR=[NUM]: error
17