Data Sheet

XY-MBA32A Bluetooth
Module
Data
sheet
www.newbitsiot.com
14
The serial port prompt for successful power-up or restart(+READY <CR><LF>), the host MCU must receive
this message before it can operate instruction and data transmission.
6 AT Commands Specific Description
Query the MAC address
Command Description: Query the address of the Bluetooth module
Read/Write: Read only
Command: AT+MAC? <CR><LF>
Supported parameters: N/A
Setup/Response:
Set the MAC address of the module
Command Description: Set the MAC address of the Bluetooth module, which will take effect after
restarting.
Read/Write: Write only
Command: AT+MAC=<mac><CR><LF>
Supported parameters: 000000000000-FFFFFFFFFFFF
Setup/Response:
R/W
Command Format
Response
Remarks
R
AT+MAC? <CR><LF>
+MAC:
00010203040
5<CR><LF>
Return the MAC address: 00:01:02:03:04:05
R/W
Command Format
Response
Remarks
W
AT+MAC=<mac><CR><LF>
OK<CR><LF>
Setup successfully
ERROR<CR><LF>
Setup failure