package
0.0.0-20241206123642-49cfb56aaf2f
Repository: https://github.com/gitchander/go-bluetooth.git
Documentation: pkg.go.dev
# Functions
GetAdapterStatus return the status of an adapter.
GetHCIConfig return an HCIConfig struct.
NewRFKill Creates a new RFKill instance.
ToggleAdapter Swap Off/On a device.
ToggleBluetooth toggle off/on the bluetooth support.
TurnOffAdapter Enable a rfkill managed device.
TurnOffBluetooth turn on bluetooth support.
TurnOnAdapter Enable a rfkill managed device.
TurnOnBluetooth turn on bluetooth support.
# Structs
RFKill is a wrapper for linux utility: rfkill Checks the status of kill switches.
RFKillResult Result of rfkill request.