data

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2019 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFPortMustNotBeZero         = errors.New("FPort must not be 0")
	ErrFPortMustBeZero            = errors.New("FPort must be 0")
	ErrAbort                      = errors.New("nothing to do")
	ErrNoLastRXInfoSet            = errors.New("no last RX-Info set available")
	ErrInvalidDataRate            = errors.New("invalid data-rate")
	ErrMaxPayloadSizeExceeded     = errors.New("maximum payload size exceeded")
	ErrSmbMxcNotPermittedToSendDl = errors.New("no permission to send downlink from SMB of MXC")
)

data errors

Functions

func HandleResponse

func HandleResponse(ctx context.Context, rxPacket models.RXPacket, sp storage.ServiceProfile, ds storage.DeviceSession, adr, mustSend, ack bool, macCommands []storage.MACCommandBlock) error

HandleResponse handles a downlink response.

func HandleScheduleNextQueueItem

func HandleScheduleNextQueueItem(ctx context.Context, ds storage.DeviceSession, mode storage.DeviceMode) error

HandleScheduleNextQueueItem handles scheduling the next device-queue item.

func Setup

func Setup(conf config.Config) error

Setup configures the package.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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