Our great sponsors
-
blueutil
CLI for bluetooth on OSX: power, discoverable state, list, inquire devices, connect, info, …
blueutil -h blueutil v2.8.0 Usage: blueutil [options] Without options outputs current state -p, --power output power state as 1 or 0 -p, --power STATE set power state -d, --discoverable output discoverable state as 1 or 0 -d, --discoverable STATE set discoverable state --favourites, --favorites list favourite devices --inquiry [T] inquiry devices in range, 10 seconds duration by default excluding time for name updates --paired list paired devices --recent [N] list recently used devices, 10 by default, 0 to list all --connected list connected devices --info ID show information about device --is-connected ID connected state of device as 1 or 0 --connect ID create a connection to device --disconnect ID close the connection to device --pair ID [PIN] pair with device, optional PIN of up to 16 characters will be used instead of interactive input if requested in specific pair mode --add-favourite ID, --add-favorite ID add to favourites --remove-favourite ID, --remove-favorite ID remove from favourites --format FORMAT change output format of info and all listing commands --wait-connect ID [TIMEOUT] EXPERIMENTAL wait for device to connect --wait-disconnect ID [TIMEOUT] EXPERIMENTAL wait for device to disconnect --wait-rssi ID OP VALUE [PERIOD [TIMEOUT]] EXPERIMENTAL wait for device RSSI value which is 0 for golden range, -129 if it cannot be read (e.g. device is disconnected) -h, --help this help -v, --version show version STATE can be one of: 1, on, 0, off, toggle ID can be either address in form xxxxxxxxxxxx, xx-xx-xx-xx-xx-xx or xx:xx:xx:xx:xx:xx, or name of device to search in used devices OP can be one of: >, >=,
Related posts
- Bluetooth not turning on, MBP’20 intel 13’
- Any way to make the delete button actually delete files to the bin?
- Able to change the resolution of the screen using applescript?
- Things I can’t do on macOS which I can do on Ubuntu
- Is there a way to set up an action to happen automatically when I connect my external displays?