hciconfig

package
v0.0.0-...-f9b8134 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HCIConfig

type HCIConfig struct {
	// contains filtered or unexported fields
}

HCIConfig an hciconfig command wrapper

func NewHCIConfig

func NewHCIConfig(adapterID string) *HCIConfig

NewHCIConfig initialize a new HCIConfig

func (*HCIConfig) Down

func (h *HCIConfig) Down() (*HCIConfigResult, error)

Down Turn down an HCI device

func (*HCIConfig) Status

func (h *HCIConfig) Status() (*HCIConfigResult, error)

Status return status information for a hci device

func (*HCIConfig) Up

func (h *HCIConfig) Up() (*HCIConfigResult, error)

Up Turn on an HCI device

type HCIConfigResult

type HCIConfigResult struct {
	Enabled bool
	Address string
	Type    string
	Bus     string
}

HCIConfigResult contains details for an adapter

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL