Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetADRAlgorithms ¶
GetADRAlgorithms returns the available ADR algorithms.
func GetHandler ¶
GetHandler returns the ADR handler by its ID, failing that it returns the default ADR handler.
Types ¶
type DefaultHandler ¶
type DefaultHandler struct{}
DefaultHandler implements the default ADR handler.
func (*DefaultHandler) Handle ¶
func (h *DefaultHandler) Handle(req adr.HandleRequest) (adr.HandleResponse, error)
Handle handles the ADR request.
func (*DefaultHandler) ID ¶
func (h *DefaultHandler) ID() (string, error)
ID returns the default ID.
func (*DefaultHandler) Name ¶
func (h *DefaultHandler) Name() (string, error)
Name returns the default name.
type LRFHSSHandler ¶ added in v3.16.0
type LRFHSSHandler struct{}
LRFHSSHandler implements a LR-FHSS only ADR handler.
func (*LRFHSSHandler) Handle ¶ added in v3.16.0
func (h *LRFHSSHandler) Handle(req adr.HandleRequest) (adr.HandleResponse, error)
Handle handles the ADR request.
func (*LRFHSSHandler) ID ¶ added in v3.16.0
func (h *LRFHSSHandler) ID() (string, error)
ID returns the ID.
func (*LRFHSSHandler) Name ¶ added in v3.16.0
func (h *LRFHSSHandler) Name() (string, error)
Name returns the name.
type LoRaLRFHSSHandler ¶ added in v3.16.0
type LoRaLRFHSSHandler struct{}
LoRaLRFHSSHandler implements a LoRa / LR-FHSS ADR handler.
func (*LoRaLRFHSSHandler) Handle ¶ added in v3.16.0
func (h *LoRaLRFHSSHandler) Handle(req adr.HandleRequest) (adr.HandleResponse, error)
Handle handles the ADR request.
func (*LoRaLRFHSSHandler) ID ¶ added in v3.16.0
func (h *LoRaLRFHSSHandler) ID() (string, error)
ID returns the ID.
func (*LoRaLRFHSSHandler) Name ¶ added in v3.16.0
func (h *LoRaLRFHSSHandler) Name() (string, error)
Name returns the name.
Click to show internal directories.
Click to hide internal directories.