znp

package module
v0.0.0-...-a803890 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2019 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
bak

Jump to

Keyboard shortcuts

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