Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 1.62 KB

README.md

File metadata and controls

47 lines (30 loc) · 1.62 KB

bluectl

Python 3.8 Linux platform Continuous integration MIT license Contributions are welcome

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.

Prerequisities

bluectl was tested on archlinux using systemd service manager and relevant bluetooth utilities:

Usage

bluectl implements pairing and connecting of bluetooth devices as described on wiki.archlinux.org.

python bluectl.py [subcommands: create|status|start|stop|stop-all]

Subcommands

  • 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.

License

This project is licensed under the MIT License.