macpayload

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataDown

type DataDown interface {
	MType() mhdr.MType
	Major() mhdr.MajorVersion
	fhdr.FHDRDown
	FPort() *uint8
	FRMPayload() []byte
	MIC() []byte
}

func NewDown

func NewDown(mtype mhdr.MType, major mhdr.MajorVersion, devaddr []byte,
	fcnt uint16, fopts []commands.Fopter, adr,
	ack, fpending bool, foptslen uint8, fport *uint8,
	frmpayload, nwkskey, appskey []byte) DataDown

func ParseDown

func ParseDown(p, nwkskey, appskey []byte) (DataDown, error)

type DataUp

type DataUp interface {
	MType() mhdr.MType
	Major() mhdr.MajorVersion
	fhdr.FHDRUp
	FPort() *uint8
	FRMPayload() []byte
	MIC() []byte
}

func NewUp

func NewUp(mtype mhdr.MType, major mhdr.MajorVersion, devaddr []byte,
	fcnt uint16, fopts []commands.Fopter, adr,
	ack, adrackreq bool, foptslen uint8, fport *uint8,
	frmpayload, nwkskey, appskey []byte) DataUp

func ParseUp

func ParseUp(p, nwkskey, appskey []byte) (DataUp, error)

Jump to

Keyboard shortcuts

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