newchannel

package
v0.3.67 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Anslen = 2
View Source
const Reqlen = 6

Variables

This section is empty.

Functions

func ParseAns

func ParseAns(bb []byte) commands.Fopter

func ParseReq

func ParseReq(bb []byte) commands.Fopter

Types

type NewChannelAns

type NewChannelAns interface {
	commands.Fopter
	DataRateRangeOK() bool
	ChannelFrequencyOK() bool
}

func NewAns

func NewAns(dataraterangeok, channelfrequencyok bool) NewChannelAns

type NewChannelReq

type NewChannelReq interface {
	commands.Fopter
	ChIndex() uint8
	Freq() uint32
	MaxDR() uint8
	MinDR() uint8
}

func NewReq

func NewReq(chindex uint8, freq uint32, maxdr, mindr uint8) NewChannelReq

Jump to

Keyboard shortcuts

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