Last active
June 5, 2018 00:01
-
-
Save Gabelbombe/48802188281a6ad46d68ca08be14adc4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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