The GUI way
Press and hold together the Option + Shift (⌥ + ⇧) and the click the Bluetooth icon in the topbar.
A Debug submenu will appear as shown below:
You get the options to Remove all devices and Factory reset all connected Apple devices — pick whichever you need.
The terminal way
Open terminal and type:
sudo rm /Library/Preferences/com.apple.Bluetooth.plist Enter
rm ~/Library/Preferences/com.apple.Bluetooth.plist Enter
- Reboot OSX.
The commands above will remove the MAC addresses of the 'remembered' bluetooth devices from the systems settings. If you want to have a look at the actual contents of those files copy the original file to a user-writable folder and then do:
plutil -convert xml1 com.apple.Bluetooth.plist,
and then open it with a text editor (it is an XML file).
To convert it back to binary use
plutil -convert binary1 com.apple.Bluetooth.plist.