Crate lorawan [] [src]

This module implements LoRaWAN packet handling and parsing.

Modules

cmac

Structs

AES128

AES128 represents 128 bit AES key.

DataPayload

DataPayload represents a data MacPayload.

DevAddr

DevAddr represents a 32 bit device address.

DevNonce

DevNonce represents a 16 bit device nonce.

EUI64

EUI64 represents a 64 bit EUI.

FCtrl

FCtrl represents the FCtrl from FHDR.

FHDR

FHDR represents FHDR from DataPayload.

FRMMacCommands

FRMMacCommands represents the mac commands.

JoinAcceptPayload

JoinAcceptPayload represents a join accept MacPayload.

JoinRequestPayload

JoinRequestPayload represents a join request MacPayload.

LinkCheckReqPayload

LinkCheckReqPayload represents the LinkCheckReq LoRaWAN MACCommand.

MHDR

MHDR represents LoRaWAN MHDR.

MIC

MIC represents LoRaWAN MIC.

NwkAddr

NwkAddr represents a 24 bit network address.

PhyPayload

Represents the complete structure for handling lorawan mac layer payload.

Enums

FRMPayload

FRMPayload represents the FRMPayload that can either be the application data or mac commands.

MType

MType gives the possible message types of the PhyPayload.

MacCommand

MacCommand represents the enumeration of all LoRaWAN MACCommands.

MacPayload

MacPayload represents all the possible mac payloads a PhyPayload can carry.

Major

Major gives the supported LoRaWAN payload formats.

Type Definitions

FRMDataPayload

FRMDataPayload represents the application data.