pairing

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const Advertised = AdvertisedType(true)
View Source
const AdvertisedOptional = AdvertisedType(false)
View Source
const Primary = PrimaryType(true)
View Source
const Secondary = PrimaryType(false)

Variables

This section is empty.

Functions

func GattApp

func GattApp(objectName string, objectPath string, localName string) *gattApp

Types

type AdvertisedType

type AdvertisedType bool

type Config

type Config struct {
	Logger      Logger
	AdapterId   string
	AccessPoint ap.Ap
	Dispenser   *dispenser.Dispenser
}

type Controller

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

func NewController

func NewController(config *Config) (*Controller, error)

func (*Controller) Start

func (c *Controller) Start() error

func (*Controller) Stop

func (c *Controller) Stop() error

type HandleRead

type HandleRead = func() ([]byte, error)

type HandleWrite

type HandleWrite = func(value []byte) error

type Logger

type Logger interface {
	Infof(format string, args ...interface{})
	Errorf(format string, args ...interface{})
}

type Notifier

type Notifier <-chan []byte

type PrimaryType

type PrimaryType bool

type WifiScanListItem

type WifiScanListItem struct {
	Ssid string `json:"ssid"`
}

Jump to

Keyboard shortcuts

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