Quite annoying when Bluetooth on Mac OS X is off, you can’t turn it on manually via Systme Preferences interface. Now you can install blueutil from https://github.com/toy/blueutil to solve this issue.
1 | igloo:cheatsheets root# blueutil --help |
Firstly, turn off Bluetooth service via command line:
1 | igloo:cheatsheets root# blueutil -p 0 |
Then turn on Bluetooth service via command line:
1 | igloo:cheatsheets root# blueutil -d 1 |