rxparamsetup

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 = 5

Variables

This section is empty.

Functions

func ParseAns

func ParseAns(bb []byte) commands.Fopter

func ParseReq

func ParseReq(bb []byte) commands.Fopter

Types

type RXParamSetupAns

type RXParamSetupAns interface {
	commands.Fopter
	RX1DRoffsetACK() bool
	RX2DatarateACK() bool
	ChannelACK() bool
}

func NewAns

func NewAns(rx1droffsetack, rx2datarateack, channelack bool) RXParamSetupAns

type RXParamSetupReq

type RXParamSetupReq interface {
	commands.Fopter
	RX1DRoffset() uint8
	RX2DataRate() uint8
	Frequency() uint32
}

func NewReq

func NewReq(rx1droffset, rx2datarate uint8, frequency uint32) RXParamSetupReq

Jump to

Keyboard shortcuts

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