Data Sheet

XY-MBA32A Bluetooth
Module
Data
sheet
www.newbitsiot.com
19
Setup/Response:
Save the list of MACs that are set to reconnect automatically
Command Description: Save the list of MACs that are set to reconnect automatically
Read/Write: Write only
Command: AT+AUTO_MAC=<MAC><CR><LF>
Supported parameters: 000000000000-FFFFFFFFFFFF
Setup/Response:
Automatic reconnection settings
Command Description: Automatic reconnection settings
Read/Write: Write only
Command: AT+AUTO_CFG=<num><CR><LF>
Supported parameters: 0: Turn off automatic reconnection
1: Turn on automatic reconnection
Setup/Response:
R/W
Command Format
Response
Remarks
R
AT+DEV?<CR><LF>
+DEV:<TYP>,<MAC>
<CR><LF>
TYP=0 means that the connected device
is the main terminal connected device.
TYP=1 means that the connected device
is a slave-connected device.
<MAC> is the MAC address
corresponding to the connected device.
R/W
Command Format
Response
Remarks
W
AT+AUTO_MAC=<
MAC><CR><LF>
OK<CR><LF>
Use the MAC address to automatically
connect to a slave device and save it (only
the settings are saved, no connection is
initiated).
ERROR<CR><LF>
Setup failure
R/W
Command Format
Response
Remarks