The LR1110 modem application example project contains several simple examples highlighting LoRa Basic Modem-E features.
This application joins automatically the LoRa Network server then sends uplinks periodically with the interval defined by APP_TX_DUTYCYCLE
Please read the application documentation for more details.
The application executes a periodic GNSS scan.
Please read the application documentation for more details.
The modem executes a Wi-Fi scan periodically according to the Wi-Fi settings defined in the application.
Please read the application documentation for more details.
The modem starts to send continuous wave.
Please read the application documentation for more details.
This applications joins automatically the LoRaWAN Network Server. The LR1110 then gets it clocks synchronized with the Application Layer Clock Synchronization service (ALC Sync).
Please read the application documentation for more details.
This applications updates the LR1110 firmware. The new firmware is received from the UART.
Please read the application documentation for more details.
The app joins automatically the network then periodically:
Please read the application documentation for more details.
This application joins automatically the LoRa Network Server then streams data periodically.
Please read the application documentation for more details.
The app joins automatically and starts the upload data using the Large File Upload service.
Please read the application documentation for more details.## 2. Requirements
The example applications are designed to run with the LR1110 Evaluation Kit hardware, namely:
The applications require that the LR1110 runs the Modem-E firmware version 1.1.7 or later. To update the Modem-E to the latest firmware version please use the updater tool application: https://github.com/Lora-net/lr1110_updater_tool/.
Applications usually display the detected LR1110 Firmware version in the serial console when they start, here the LoRaWAN showing version 1.1.7 (0x10107) of the Modem-E firmware:
###### ===== LoRa Basics Modem-E LoRaWAN Class A/C demo application ==== ######
APP VERSION : 1.5.0
INFO : ###### ===== LR1110 MODEM-E RESET 555 ==== ######
INFO : ###### ===== LR1110 MODEM-E VERSION ==== ######
LORAWAN : 0X103
FIRMWARE : 0X10107
BOOTLOADER : 0X21DF6500
CLASS : A
REGION : EU868
Connect the NUCLEO board to a host PC via an USB cable. The USB connection will provide power for the LR1110 Evaluation Kit as well as serve as a serial communication link for the example application.
Use a terminal application configured with the following settings:
Applications use the serial link to display information messages. The GNSS application also use this link to get the date from the user.
To use the Semtech Join Server keys derivation algorithm: update the USE_SEMTECH_JOIN_SERVER definition
To use the LR1110 modem production keys: update the USE_PRODUCTION_KEYS definition
To build the example application for the STM32L476RG controller of the NUCLEO development board, you will need:
To build the example applications, you can either use Keil MDK or the GNU Arm Embedded Toolchain.
Use the Keil project lr1110_modem_application_example.uvprojx
located in the MDK-ARM
directory.
make
from the gcc
directory with the target application name as an argument:$ make APP=lorawan
Note: the supported application names are tracker
, lorawan
, gnss
, wifi
, clock_sync
, tx_continuous
, stream
, read_internal_log
, uart_firmware_update
and large_file_upload
.
wifi.bin
, is created in the gcc/build
directory.