bluetooth

package
v3.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2018 License: Apache-2.0 Imports: 13 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cleanup added in v1.4.1

func Cleanup() error

func Connect added in v0.1.7

func Connect(id string) (ble.Client, error)

func Disconnect added in v0.1.7

func Disconnect(client ble.Client) error

func GetCharacteristic added in v0.1.7

func GetCharacteristic(uuid string, property ble.Property, handle, vhandle uint16) (*ble.Characteristic, error)

func GetDescriptor added in v0.1.7

func GetDescriptor(uuid string, handle uint16) (*ble.Descriptor, error)

func GetName added in v0.1.3

func GetName(id string) (string, error)

func Initialise added in v1.4.1

func Initialise() error

func Online

func Online(id string) (bool, error)

func ReadCharacteristic added in v1.2.1

func ReadCharacteristic(client ble.Client, characteristic *ble.Characteristic) ([]byte, error)

func Scan

func Scan(id string) (map[string]struct{}, error)

func WriteCharacteristic added in v1.2.1

func WriteCharacteristic(client ble.Client, characteristic *ble.Characteristic, value []byte, noRsp bool) error

func WriteDescriptor added in v1.2.1

func WriteDescriptor(client ble.Client, descriptor *ble.Descriptor, value []byte) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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