linkadr

package
Version: 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: 4 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 LinkADRAns

type LinkADRAns interface {
	commands.Fopter
	PowerACK() bool
	DatarateACK() bool
	ChannelmaskACK() bool
}

func NewAns

func NewAns(powerack, datarateack, channelmaskack bool) LinkADRAns

type LinkADRReq

type LinkADRReq interface {
	commands.Fopter
	DataRate() uint8
	TxPower() uint8
	ChMask() uint16
	Redundancy_ChMaskCntl() uint8
	Redundancy_NbTrans() uint8
}

func NewReq

func NewReq(datarate, txpower uint8, chmask uint16, chmaskcntl, nbtrans uint8) LinkADRReq

Source Files

Jump to

Keyboard shortcuts

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