1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/examples/lorawan
2019-10-21 15:33:48 +02:00
..
main.c examples/lorawan: fix semtech_loramac_send TX ret code 2019-07-19 12:22:53 +02:00
Makefile examples: BOARD_INSUFFICIENT_MEMORY -> Makefile.ci 2019-10-15 09:55:07 +02:00
Makefile.ci examples: add stm32f030f4-demo to Makefile.ci 2019-10-21 15:33:48 +02:00
README.md examples/lorawan: remove useless lora region cflags 2019-05-26 11:47:16 +02:00

LoRaWAN

Description

This application shows a simple use case of LoRaWAN with RIOT.

By using the real time clock and low-power capabilities of a board, this application shows how to program a LoRaWAN Class A device using RIOT.

This application is using the Over-The-Air Activation procedure.

Usage

Simply build and flash the application for a ST B-L072Z-LRWAN1 board:

make flash term

Use the BOARD, DRIVER and LORA_REGION make variables to adapt the application to your hardware setup and region of use:

  • BOARD can be one of the nucleo-64 boards
  • DRIVER can be either sx1276 or sx1272
  • LORA_REGION can be EU868, US915, etc (see LoRaWAN regional parameters for details).

ST Nucleo-64 can be used with mbed LoRa shields: there's one based on the sx1276 radio and one based on the the sx1272 radio.

Finally, to join a LoRaWAN network using OTAA activation, edit the application Makefile and set your device information:

DEVEUI ?= 0000000000000000
APPEUI ?= 0000000000000000
APPKEY ?= 00000000000000000000000000000000