/SWL2001

LoRa Basics Modem LoRaWAN stack

Primary LanguageCBSD 3-Clause Clear LicenseBSD-3-Clause-Clear

LoRa Basic Modem

LoRa Basic Modem proposes an full implementation of the TS001-LoRaWAN L2 1.0.4 and Regional Parameters RP2-1.0.3 specifications.

LoRa Basic Modem embedds also an implementation of all LoRaWAN packages dedicated to Firmware Update Over The Air (FUOTA):

  • Application Layer Clock Synchronization (ALCSync)
  • Remote Multicast Setup
  • Fragmented Data Block Transport
  • Firmware Management Protocol (FMP)
  • Multi-Package Access (MPA)

LoRa Basic Modem offers extended services:

  • LoRaWAN certification process
  • Geolocation with LoRa Edge chips
  • LoRaCloud features such as Stream, Large File Upload, Device Management or Almanac Update

Prerequisites

The ARM GCC tool chain must be setup under your development environment. LBM library code has been developped using GNU Arm Embedded Toolchain 10-2020-q4-major 10.2.1 20201103 (release)

LoRa Basics Modem library

LBM library code can be found in folder lbm_lib.
Please refer to README.md to get all information related to LoRa Basics Modem library

Examples

Under lbm_examples folder, one will find a few examples on how to use the LoRa Basics Modem stack.

  • Hardware Modem (Implements a hardware modem controlled by a serial interface)
  • Periodical uplink (joins the network and then sends periodic uplinks and each time the button is pushed)
  • Porting tests (Allows to verify if the project porting process is correct)
  • LCTT certification (to run LoRaWAN certification)

The examples are targeted for the NucleoL476 kit featuring an STM32L476 micro-controller. For further details please refer to lbm_examples directory README file.

To build the periodical uplink example targeting the LR1110 Semtech radio the following should be executed on the command line:

make -C lbm_examples full_lr1110 MODEM_APP=PERIODICAL_UPLINK

Applications

Under lbm_applications folder, one will find 3 specific applications that are using LoRa Basics Modem stack.