joinaccept

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JoinAccept

type JoinAccept interface {
	mhdr.MHDR
	AppNonce() []byte
	NetID() []byte
	DevAddr() []byte
	RxDelay() byte
	CFlist() []uint32
	DlSettingsRX1DRoffset() byte
	DlSettingsRX2Datarate() byte
	MIC() []byte
}

JoinAccept serve the methods which can be used on a Join Accept message

func New

func New(Major mhdr.MajorVersion, appnonce, netid, devaddr []byte, rx1droffset, rx2datarate, rxdelay byte,
	cflist []uint32, key []byte) JoinAccept

New create a new Join Accept

func Parse

func Parse(bb, key []byte) (JoinAccept, error)

Parse converts a byte array to a Join Accept

Source Files

Jump to

Keyboard shortcuts

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