Documentation ¶
Index ¶
- Variables
- func HandleResponse(ctx context.Context, rxPacket models.RXPacket, sp storage.ServiceProfile, ...) error
- func HandleRoamingFNS(ctx context.Context, pl backend.XmitDataReqPayload) error
- func HandleScheduleNextQueueItem(ctx context.Context, db sqlx.Ext, ds storage.DeviceSession, ...) error
- func Setup(conf config.Config) error
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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.