bluetooth

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Radio gatt.Device
)

Functions

func GetChar added in v0.1.3

func GetChar(serUUID, charUUID, descUUID string, props gatt.Property, h, vh uint16) (*gatt.Characteristic, error)

func GetName added in v0.1.3

func GetName(periph gatt.Peripheral) (string, error)

func OnStateChanged added in v0.1.3

func OnStateChanged(device gatt.Device, state gatt.State)

func Online

func Online(id string, timeout time.Duration) (bool, error)

func Print added in v0.1.3

func Print(periph gatt.Peripheral) error

func Scan

func Scan(id string, timeout time.Duration) (map[string]bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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