def clear_cached_data(self):
        # Turn off bluetooth.
        if self._adapter.is_powered:
            self._adapter.power_off()
        # Delete cache files and suppress any stdout/err output.
        with open(os.devnull, 'w') as devnull:
            subprocess.call('rm ~/Library/Preferences/com.apple.Bluetooth.plist',
                            shell=True, stdout=devnull, stderr=subprocess.STDOUT)
            subprocess.call('rm ~/Library/Preferences/ByHost/com.apple.Bluetooth.*.plist',
                            shell=True, stdout=devnull, stderr=subprocess.STDOUT)
Clear the internal bluetooth device cache.  This is useful if a device
dataset/ETHPy150Open adafruit/Adafruit_Python_BluefruitLE/Adafruit_BluefruitLE/corebluetooth/provider.py/CoreBluetoothProvider.clear_cached_data