ble

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCharacteristicNotExists = errors.New("characteristic does not exist")
)

Functions

This section is empty.

Types

type Adapter

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

func NewAdapter

func NewAdapter(address string) (*Adapter, error)

func (*Adapter) ReadCharacteristic

func (a *Adapter) ReadCharacteristic(cUUID string) ([]byte, error)

func (*Adapter) WriteCharacteristic

func (a *Adapter) WriteCharacteristic(cUUID string, data []byte) error

Jump to

Keyboard shortcuts

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