This is an old revision of the document!


LoRaWAN

Arduino

Install
Program

Guide

Edit Arduino/libraries/MCCI_LoRaWAN_LMIC_library/project_config/lmic_project_config.h

#define LMIC_LORAWAN_SPEC_VERSION       LMIC_LORAWAN_SPEC_VERSION_1_0_3
#define CFG_eu868                       1
#define CFG_sx1276_radio                1
#define DISABLE_PING
#define DISABLE_BEACONS
#define LMIC_ENABLE_DeviceTimeReq       0
#define LMIC_PRINTF_TO                  Serial
#define LMIC_DEBUG_LEVEL                2

Setting the debug level to 2 only works on larger memory devices such as the ATmega2560 and must be 0 for ATmega328P.

When testing against ChirpStack with debugging enabled it cannot process a JoinAccept in a timely fashion, but it works eventually.

PlatformIO

Cloud services

Resources

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies