data

package
v3.16.9-alfa1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: MIT Imports: 33 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")
)

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 HandleRoamingFNS

func HandleRoamingFNS(ctx context.Context, pl backend.XmitDataReqPayload) error

HandleRoamingFNS handles a downlink as fNS.

func HandleScheduleNextQueueItem

func HandleScheduleNextQueueItem(ctx context.Context, db sqlx.Ext, 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.

Jump to

Keyboard shortcuts

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