bee

package module
v0.0.0-...-5dd6bc1 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

README

znp

go implement for ZNP interface

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoFirmware = errors.New("No firmware, only bootloader")

Functions

func NewAcmClient

func NewAcmClient(name string, baud int) *Client

Types

type CordinatorConfig

type CordinatorConfig struct {
	PortName string
	PortBaud int
	Channel  int
}

type CordinatorDevice

type CordinatorDevice struct {
	Device
	// contains filtered or unexported fields
}

func NewCordinatorDevice

func NewCordinatorDevice(cfg *CordinatorConfig) *CordinatorDevice

type Device

type Device struct {
	Type    string
	Version string
	// contains filtered or unexported fields
}

func NewDevice

func NewDevice(c *Client) *Device

func (*Device) Reset

func (d *Device) Reset() (ind *codec.ResetIndFormat, err error)

Reset to reset the chip and wait for it to startup

func (*Device) StartStack

func (d *Device) StartStack() (err error)

StartStack try to start the zigbee stack in ZNP device. error ErrNoFirmware means there is no App firmware, only bootloader exist

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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