Skip to content

Instantly share code, notes, and snippets.

@Gabelbombe
Last active June 5, 2018 00:01
Show Gist options
  • Save Gabelbombe/48802188281a6ad46d68ca08be14adc4 to your computer and use it in GitHub Desktop.
Save Gabelbombe/48802188281a6ad46d68ca08be14adc4 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash -xu
echo -e 'Modifying Apples Bitpool'
defaults write com.apple.BluetoothAudioAgent "Apple Initial Bitpool (editable)" 40
defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Max (editable)" 80
defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Min (editable)" 48
echo -e 'Modifying Negotiable Bitpool'
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool" 58
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool Max" 58
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool Min" 48
echo -e 'Attempting to reset Bluetooth, mileage may vary...'
launchctl stop com.apple.blued
launchctl start com.apple.blued
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment