package
0.1.3
Repository: https://github.com/sigidagi/lorawan.git
Documentation: pkg.go.dev

# Packages

Package joinserver provides a http.Handler interface which implements the join-server API as speficied by the LoRaWAN Backend Interfaces.

# Functions

NewClient creates a new Client.
NewKeyEnvelope creates a new KeyEnvelope.

# Constants

End-Device is not allowed to perform activation.
Supported message types.
Supported message types.
Supported message types.
Supported message types.
Passive Roaming is not allowed for a period of time.
End-Device is not allowed to roam.
Available rate policies.
Wrong size of PHYPayload or FRMPayload.
Available roaming activation types.
Supported message types.
Supported message types.
Supported message types.
Supported message types.
Supported message types.
Supported message types.
Invalid FPort for DL (e.g., FPort=0).
ProtocolVersion is not supported.
Supported message types.
Supported message types.
JS processing of the JoinReq has failed.
JSON parsing failed (missing object or incorrect content).
Available rate policies.
MIC verification has failed.
There is no roaming agreement between the operators.
Used for encoding error cases that are not standardized yet.
Available roaming activation types.
Supported message types.
Supported message types.
Supported protocol versions.
Supported message types.
Supported message types.
Supported message types.
Supported message types.
Supported message types.
Supported message types.
End-Device is not allowed to perform activation while roaming.
Device Profile is stale.
Success, i.e., request was granted.
End-Device with a matching DevAddr is not found.
End-Device with a matching DevEUI is not found.
ReceiverID is unknown.
SenderID is unknown.
Supported message types.
Supported message types.
fNS failed to transmit DL packet.

# Variables

# Structs

No description provided by the author
No description provided by the author
AppSKeyAnsPayload defines the AppSKeyAns message payload.
AppSKeyReqPayload defines the AppSKeyReq message payload.
BasePayload defines the base payload that is sent with every request.
BasePayloadResult defines the base payload that is sent with every result.
ClientConfig holds the backend client configuration.
DeviceProfile includes End-Device capabilities and boot parameters that are needed by the NS for setting up the LoRaWAN radio access service.
DLMetaData defines the downlink metadata.
GWInfoElement defines the gateway info element.
HomeNSAnsPayload defines the HomeNSAns message payload.
HomeNSReqPayload defines the HomeNSReq message payload.
HRStartAnsPayload defines the HRStartAns message payload.
HRStartReqPayload defines the HRStartReq message payload.
HRStopAnsPayload defines the HRStopAns message payload.
HRStopReqPayload defines the HRStopReq message payload.
JoinAnsPayload defines the JoinAns message payload.
JoinReqPayload defines the JoinReq message payload.
KeyEnvelope defines the key envelope object.
NetworkActivationRecord is used for keeping track of the End-Devices performing Activation away from Home.
NetworkTrafficRecord is used for keeping track of the amount of traffic served for roaming End-Devices.
ProfileAnsPayload defines the ProfileAns message payload.
ProfileReqPayload defines the ProfileReq message payload.
PRStartAnsPayload defines the PRStartAns message payload.
PRStartReqPayload defines the PRStartReq message payload.
PRStopAnsPayload defines the PRStopAns message payload.
PRStopReqPayload defines the PRStopReq message payload.
RejoinAnsPayload defines the RejoinAns message payload.
RejoinReqPayload defines the RejoinReq message payload.
Result defines the result object.
RoutingProfile includes information that are needed by the NS for setting up data-plane with the AS.
ServiceProfile includes service parameters that are needed by the NS for setting up the LoRa radio access service and interfacing with the AS.
ULMetaData defines the uplink metadata.
VSExtension defines vendor specific data.
XmitDataAnsPayload defines the XmitDataAns message payload.
XmitDataReqPayload defines the XmitDataReq message payload.

# Interfaces

Answer defines the payload answer interface.
Client defines the backend client interface.
Request defines the payload request interface.

# Type aliases

Frequency defines the frequency type (in Hz).
HEXBytes defines a type which represents bytes as HEX when marshaled to text.
ISO8601Time defines an ISO 8601 encoded timestamp.
MessageType defines the message-type type.
Percentage defines the percentage type as an int (1 = 1%, 100 = 100%).
RatePolicy defines the RatePolicy type.
ResultCode defines the result-code type.
RoamingType defines the RoamingType type.