3.1 LoRaWAN Stack Directory Structure

The following table provides the directory structure of the LoRaWAN stack code base (src/ASF/thirdparty/wireless/lorawan).

Table 3-1. Directory Structure of LoRaWAN Stack
DirectoryDescription
/halContains the implementation for the radio hardware interface, timers, etc.
/incContains commonly included file(s)
/macContains the headers of the LoRaWAN MAC layer specification independent of regional parameters
/regparamsContains the implementation of the MAC layer functionality specific to the regional bands
/servicesContains modules such as software timer, PDS and AES
/sysContains system modules such as task manager, power management and initialization
/talContains transceiver-related headers, drivers for supported transceivers
/pmmContains the Power Management Module (PMM)
/libgenContains the static library for the LoRaWAN MAC and TAL

The following table lists the supported hardware platforms and IDE.

Table 3-2. Supported Hardware Platforms and IDE
PlatformMCUTransceiverEvaluation KitsSupported IDE
SAM R34 ATSAMR34J18BSemtech SX1276SAM R34 Xplained ProAtmel Studio 7.0
WLR089ATSAMR34J18BSemtech SX1276WLR089 Xplained ProAtmel Studio 7.0