bluectl is simple bluetoothctl
wrapper that manages profiles of bluetooth devices.
Main motivation for this project was to develop simple CLI tool that allows creating actual profiles of bluetooth devices with given profile name and further accessing them.
bluectl was tested on archlinux
using systemd
service manager and relevant bluetooth utilities:
bluectl implements pairing and connecting of bluetooth devices as described on wiki.archlinux.org.
python bluectl.py [subcommands: create|status|start|stop|stop-all]
-
create
Creates new bluetooth profile.
Attempts to pair chosen controller with given bluetooth device.
If successful, profile details are stored in/etc/bluectl/[profilename]
. -
status
Shows connected and paired devices. -
start [profile]
Connects selected profile. -
stop [profile]
Disconnects selected profile. -
stop-all
Disconnects any connected profile.
This project is licensed under the MIT License.