Get Bluetooth MAC Address

I am using the Grove Serial Bluetooth module. I am able to connect and communicate with it fine. Now I want to get the MAC address of the bluetooth interface. I tried to use the “\r\n+RTADDR\r\n” command, but nothing is returned, or I have not been able to figure out how to read it. After issuing this command, what do I need to read to get the address?


Hi Peter,

Please disconnect the bluetooth connection, and read the MAC address;
Bluetooth module will send back, just use “” function to get out the MAC address.