package
0.0.0-20180921084752-74174a9889d6
Repository: https://github.com/niziak/go-bluetooth.git
Documentation: pkg.go.dev
# Functions
CmdExec Execute a command.
Down turn down an HCI device.
GetAdapters return a list of adapters.
NewBtMgmt init a new BtMgmt command.
NewHCIConfig initialize a new HCIConfig.
NewRFKill Creates a new RFKill instance.
RestartBluetoothUnit by its systemd unit.
StartBluetoothUnit by its systemd unit.
StopBluetoothUnit by its systemd unit.
Up turn up an HCI device.
# Structs
BtAdapter contains info about adapter from btmgmt.
BtMgmt an hciconfig command wrapper.
HCIConfig an hciconfig command wrapper.
HCIConfigResult contains details for an adapter.
RFKill is a wrapper for linux utility: rfkill Checks the status of kill switches.
RFKillResult Result of rfkill request.